plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit 5a82f26e50fbfbb3090b4cf839decf012637a00e
parent e89321a56e6d3c1559e166898510d6ddab9e6ffe
Author: rsc <devnull@localhost>
Date:   Tue,  2 Dec 2003 22:03:35 +0000

Set up terminal properly for 9term.

Diffstat:
Mrcmain | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/rcmain b/rcmain @@ -23,7 +23,11 @@ if(! ~ $#cflag 0){ eval $cflag } if not if(flag i){ - if(~ $TERM 9term && ~ $#'fn#cd' 0) fn cd { builtin cd $1 && label `{pwd} } + if(~ $TERM 9term){ + stty tabs -onlcr -echo + if(~ $#'fn#cd' 0) + fn cd { builtin cd $1 && label `{pwd} } + } if(flag l && /bin/test -r $home/lib/profile) . $home/lib/profile status='' if(! ~ $#* 0) . $*