Article View: gnu.bash.bug
Article #696Bash 1.04 may trash tty settings
From: David Elliott
Date: Fri, 10 Nov 1989 23:29
Date: Fri, 10 Nov 1989 23:29
40 lines
2072 bytes
2072 bytes
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."
Technical Details
Message-ID:
<1989Nov10.232931.6353@sony.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!usc!apple!mips!sony.com!dceShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!usc!apple!mips!sony.com!dce From: dce@sony.com (David Elliott) Newsgroups: gnu.bash.bug Subject: Bash 1.04 may trash tty settings Message-ID: <1989Nov10.232931.6353@sony.com> Date: 10 Nov 89 23:29:31 GMT Reply-To: dce@icky.sony.com (David Elliott) Distribution: gnu Organization: Sony Microsystems Corp. Lines: 40