home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.shell
- Path: sparky!uunet!nwnexus!Celestial.COM!bill
- From: bill@Celestial.COM (Bill Campbell)
- Subject: Re: Exiting KSH with ^D
- Organization: Celestial Software, Mercer Island, WA
- Date: Sat, 19 Dec 1992 19:57:24 GMT
- Message-ID: <1992Dec19.195724.10742@Celestial.COM>
- References: <50235@shamash.cdc.com> <1992Dec8.143148.13973@rtsg.mot.com> <1992Dec9.184249.24657@cbfsb.cb.att.com> <1992Dec17.223304.3274@kopachuk.uucp>
- Keywords: shell, ksh, kornshell, HP-UX
- Lines: 32
-
- In <1992Dec17.223304.3274@kopachuk.uucp> dcb@kopachuk.uucp (David Breneman) writes:
-
- :In article <1992Dec9.184249.24657@cbfsb.cb.att.com> jpittas@cbnewsf.cb.att.com (john.pittas) writes:
- :>Lots of people have followed up on this saying that you need
- :>to set 'viraw' in order to exit ksh with control-d. However,
- :>on both Sun machines and AT&T 3B2's I can exit ksh with ^D
- :>without a subsequent <return> and WITHOUT having viraw set.
- :>So, the original question is still valid: why is this behavior
- :>different with HP's ksh?
- :>
-
- :I don't have the answer, but I can tell you that HP isn't the only
- :offender. Our AT&T 7020 (Pyramid MIS-02) does the same thing. If
- :you want to log out you have to enter <CTRL> D <RETURN>
- :If you just enter <CTRL> D somebody can come along and press
- :<DELETE> and bring the terminal back up as you. This is in the Sys V
- :universe. Useful security feature. :-) I now find myself using
- :<CTRL> D <RETURN> even on the 3B2s just out of habit.
-
- This problem would occur if your eof is something other than
- ctrl-d. Look at stty -a output to see what your settings are.
- Here's part of stty -a from my Xenix 2.3.4 system.
-
- speed extb baud; line = 0; intr = DEL; quit = ^\; erase = ^H; kill = ^U; eof = ^D; eol = ^@; swtch = ^@
- ....
-
- Bill
- --
- INTERNET: bill@Celestial.COM Bill Campbell; Celestial Software
- UUCP: ...!thebes!camco!bill 6641 East Mercer Way
- uunet!camco!bill Mercer Island, WA 98040; (206) 947-5591
- SPEED COSTS MONEY -- HOW FAST DO YOU WANT TO GO?
-