kent@manzi.unx.sas.com (Paul Kent) (08/18/90)
not echo that is. if i invoke a ksh, then stty -echo does what i would like it to.. This used to work under ultrix 3.1, but is broken (for me) under Ultrix 4.0 (straight off the cd) and is still broken after i have applied the UD...401 UPGRADE sets. (the CD title implied they were included, but they were not...) here is a transcript... I would appreciate any pointers. Thanks, Paul. ----------- Manzi> echo $shell /bin/csh Manzi> stty -a line = NTTYDISC; speed 9600 baud erase = DEL; kill = ^x; min = 6; time = 1; intr = ^c; quit = ^|; eof = ^d; eol <undef>; start = ^q; stop = ^s; parenb -parodd cs7 -cstopb -hupcl cread -clocal -loblk -ignbrk brkint ignpar -parmrk inpck istrip -inlcr -igncr icrnl -iuclc ixon ixany -ixoff isig icanon -xcase echo echoe -echok -echonl -noflsh opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel Manzi> stty -echo Manzi> stty -a line = NTTYDISC; speed 9600 baud erase = DEL; kill = ^x; min = 6; time = 1; intr = ^c; quit = ^|; eof = ^d; eol <undef>; start = ^q; stop = ^s; parenb -parodd cs7 -cstopb -hupcl cread -clocal -loblk -ignbrk brkint ignpar -parmrk inpck istrip -inlcr -igncr icrnl -iuclc ixon ixany -ixoff isig icanon -xcase echo echoe -echok -echonl -noflsh opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel -- Paul Kent [kent@unx.sas.com] " nothing ventured, nothing disclaimed " SAS Institute Inc, SAS Campus Dr, Cary NC 27513-2414.
barrett@jhunix.HCF.JHU.EDU (Dan Barrett) (08/18/90)
In article <1990Aug17.204930.25510@unx.sas.com> kent@manzi.unx.sas.com (Paul Kent) writes: >not echo that is. I wonder if this is related to a similar problem I reported in comp.unix.ultrix? When running an interactive /bin/csh in Emacs, the command line is ALWAYS echoed redundantly. It doesn't happen with any other shells. Maybe Emacs tells the interactive shell to turn off echo, and csh doesn't listen? Dan //////////////////////////////////////\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ | Dan Barrett, Department of Computer Science Johns Hopkins University | | INTERNET: barrett@cs.jhu.edu | | | COMPUSERVE: >internet:barrett@cs.jhu.edu | UUCP: barrett@jhunix.UUCP | \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\/////////////////////////////////////
grr@cbmvax.commodore.com (George Robbins) (08/19/90)
In article <1990Aug17.204930.25510@unx.sas.com> kent@manzi.unx.sas.com (Paul Kent) writes: > > not echo that is. if i invoke a ksh, then stty -echo does what i would > like it to.. > > This used to work under ultrix 3.1, but is broken (for me) under > Ultrix 4.0 (straight off the cd) and is still broken after i have > applied the UD...401 UPGRADE sets. (the CD title implied they were > included, but they were not...) I think DEC tried to slip in their command completion csh (tcsh equivalent) as the standard 4.0 csh. If so, it traditionally resets certain tty modes on returning to the command prompt. I'm not sure, but you might be able to trick it one way or another... -- George Robbins - now working for, uucp: {uunet|pyramid|rutgers}!cbmvax!grr but no way officially representing: domain: grr@cbmvax.commodore.com Commodore, Engineering Department phone: 215-431-9349 (only by moonlite)