🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by David Elliott Fri, 10 Nov 1989 23:29
Bash 1.04 may trash tty settings
#696
Author: David Elliott
Date: Fri, 10 Nov 1989 23:29
40 lines
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."
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads