home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / shell / 5107 < prev    next >
Encoding:
Text File  |  1992-12-20  |  1.6 KB  |  34 lines

  1. Newsgroups: comp.unix.shell
  2. Path: sparky!uunet!nwnexus!seanews!kopachuk!dcb
  3. From: dcb@kopachuk.uucp (David Breneman)
  4. Subject: Re: Exiting KSH with ^D
  5. Message-ID: <1992Dec17.223304.3274@kopachuk.uucp>
  6. Keywords: shell, ksh, kornshell, HP-UX
  7. Organization: Tacoma Screw Products, Inc.
  8. References: <50235@shamash.cdc.com> <1992Dec8.143148.13973@rtsg.mot.com> <1992Dec9.184249.24657@cbfsb.cb.att.com>
  9. Date: Thu, 17 Dec 1992 22:33:04 GMT
  10. Lines: 22
  11.  
  12. In article <1992Dec9.184249.24657@cbfsb.cb.att.com> jpittas@cbnewsf.cb.att.com (john.pittas) writes:
  13. >Lots of people have followed up on this saying that you need
  14. >to set 'viraw' in order to exit ksh with control-d.  However,
  15. >on both Sun machines and AT&T 3B2's I can exit ksh with ^D
  16. >without a subsequent <return> and WITHOUT having viraw set.
  17. >So, the original question is still valid: why is this behavior
  18. >different with HP's ksh?
  19. >
  20.  
  21. I don't have the answer, but I can tell you that HP isn't the only
  22. offender.  Our AT&T 7020 (Pyramid MIS-02) does the same thing.  If
  23. you want to log out you have to enter <CTRL> D  <RETURN>
  24. If you just enter <CTRL> D  somebody can come along and press
  25. <DELETE> and bring the terminal back up as you.  This is in the Sys V
  26. universe.  Useful security feature. :-)  I now find myself using
  27. <CTRL> D  <RETURN> even on the 3B2s just out of habit.
  28.  
  29. -- 
  30. David Breneman     Sys Admin, Tacoma Screw Products, Inc. |  ____  ____  ____
  31. dcb@tacoma.uucp           |   SCREWIE the TSP CLOWN sez-  |   /   /___  /___/ 
  32.  ..!uunet!tacoma!dcb      | "Zinc & cadmium plating stops |  /   ____/ / 
  33. CompuServe: <DEAD>        |  rust & acts as a lubricant!" |
  34.