diff options
author | rsc <devnull@localhost> | 2003-12-03 22:50:48 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2003-12-03 22:50:48 +0000 |
commit | 669250d159e93a6933afa4cd25f410af801515ec (patch) | |
tree | 1f053fd518cf1a172863e07050e6e3bf13762f7d /bin | |
parent | 5a82f26e50fbfbb3090b4cf839decf012637a00e (diff) | |
download | plan9port-669250d159e93a6933afa4cd25f410af801515ec.tar.gz plan9port-669250d159e93a6933afa4cd25f410af801515ec.tar.bz2 plan9port-669250d159e93a6933afa4cd25f410af801515ec.zip |
Various fixes.
B - fixed usage, DISPLAY :0 vs :0.0
9term - fixed various terminal things
rc - notice traps in Read
_p9dir - only run disk code for disks
dirread - getdirentries on FreeBSD and Linux
are different w.r.t. meaning of off.
notify - set up so signals interrupt system calls
bprint - use bfmt.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/B | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -2,7 +2,7 @@ if [ $# -eq 0 ] then - echo 'usage: B cmd...' 2>&1 + echo 'usage: B file...' 2>&1 exit 1 fi @@ -10,6 +10,10 @@ if [ "x$DISPLAY" = "x" ] then sam="/tmp/.sam.$USER" else + if [ "$DISPLAY" = ":0" ] + then + DISPLAY=:0.0 + fi sam="/tmp/.sam.$USER.$DISPLAY" fi |