Little tweaks and documentation.

This commit is contained in:
rsc 2004-03-02 23:11:58 +00:00
parent efc2b0c99e
commit af78a4cd2b
11 changed files with 178 additions and 64 deletions

35
bin/web Executable file
View file

@ -0,0 +1,35 @@
#!/bin/sh
plumb1()
{
case $BROWSER in
# Other browsers here
# ...
*opera*)
$BROWSER -remote 'openURL('$i', new-page)'
;;
*firebird*)
$BROWSER -remote 'openURL('$i', new-window)'
;;
esac
}
if [ $# = 0 ]
then
plumb1 about:blank
else
for i
do
if [ -f "$i" ]
then
i=file://`pwd`/$i
fi
plumb1 $i
done
fi
case $BROWSER in
*opera*)
$BROWSER -remote 'raise()'
esac