dce@sony.com (David Elliott) (11/11/89)
I have this habit of starting lines in for loops with tabs. Tabs are special by default in bash, and I haven't done anything to change this for me. In any case, it appears that if I start bash, type some stuff including a tab, and then exit bash, my tty modes are different. Since I am still using BSD csh with command completion as my standard shell, this is a problem, as it screws up command completion printing. The following script session shows the behavior: Script started on Fri Nov 10 15:24:02 1989 icky 1>stty everything new tty(ascii) speed 9600 baud, 59 rows, 80 columns non parity, -raw -nl echo -lcase -tandem tabs -cbreak crt: (crtbs crterase crtkill ctlecho) -tostop -tilde -flusho -mdmbuf -litout -pass8 -nohang -pendin -decctlq -noflsh erase kill werase rprnt flush lnext susp intr quit stop eof ^H ^U ^W ^R ^O ^V ^Z/^Y ^C ^\ ^S/^Q ^D icky 2>./bash bash$ pwd <--- that ^G is from my TAB /mnt/dce/Src/bash-1.04 bash$ icky 3>stty everything new tty(ascii) speed 9600 baud, 59 rows, 80 columns non parity, -raw -nl echo -lcase -tandem tabs -cbreak -crtbs -crterase -crtkill -ctlecho -prterase -tostop -tilde -flusho -mdmbuf -litout -pass8 -nohang -pendin -decctlq -noflsh erase kill werase rprnt flush lnext susp intr quit stop eof ^H ^U ^W ^R ^O ^V ^Z/^Y ^C ^\ ^S/^Q ^D icky 4> script done on Fri Nov 10 15:24:30 1989 Basically, crt mode and prterase has been turned off. -- David Elliott dce@sony.com | ...!{uunet,mips}!sonyusa!dce (408)944-4073 "You can lead a robot to water, but you can not make him compute."