home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / shell / 5140 < prev    next >
Encoding:
Text File  |  1992-12-23  |  2.0 KB  |  51 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: <1992Dec22.235951.304@kopachuk.uucp>
  6. Keywords: shell, ksh, kornshell, HP-UX
  7. Organization: Tacoma Screw Products, Inc.
  8. References: <1992Dec9.184249.24657@cbfsb.cb.att.com> <1992Dec17.223304.3274@kopachuk.uucp> <1992Dec19.195724.10742@Celestial.COM>
  9. Date: Tue, 22 Dec 1992 23:59:51 GMT
  10. Lines: 39
  11.  
  12. In article <1992Dec19.195724.10742@Celestial.COM> bill@Celestial.COM (Bill Campbell) writes:
  13. >In <1992Dec17.223304.3274@kopachuk.uucp> dcb@kopachuk.uucp (David Breneman) writes:
  14. >
  15. >:In article <1992Dec9.184249.24657@cbfsb.cb.att.com> jpittas@cbnewsf.cb.att.com (john.pittas) writes:
  16.  
  17. Our story so far...
  18.  
  19. >:>                                                     However,
  20. >:>on both Sun machines and AT&T 3B2's I can exit ksh with ^D
  21. >:>without a subsequent <return> and WITHOUT having viraw set.
  22. >:>So, the original question is still valid: why is this behavior
  23. >:>different with HP's ksh?
  24. >:>
  25. >
  26. >:I don't have the answer, but I can tell you that HP isn't the only
  27. >:offender.  
  28. etc...
  29. >
  30. >This problem would occur if your eof is something other than
  31. >ctrl-d.  Look at stty -a output to see what your settings are.
  32. >Here's part of stty -a from my Xenix 2.3.4 system.
  33. >
  34. >speed extb baud; line = 0; intr = DEL; quit = ^\; erase = ^H; kill = ^U; eof = ^D; eol = ^@; swtch = ^@
  35.  
  36.  
  37. Well, Bill, here's the comparable output from the Pyramid:
  38.  
  39. speed 9600 baud; line = 0; intr = DEL; quit = ^|; erase = ^h; kill = @; eof = ^d; eol = ^`; swtch = ^`
  40.  
  41. ...Also eof = ^D
  42. One thing I might point out is that "out of the box" the Pyramid wants
  43. to use ^C to exit a shell, and we have re-mapped it in /etc/profile.
  44. Could this be why it doesn't fully "take"?
  45.  
  46. -- 
  47. David Breneman     Sys Admin, Tacoma Screw Products, Inc. |  ____  ____  ____
  48. dcb@tacoma.uucp           |   SCREWIE the TSP CLOWN sez-  |   /   /___  /___/ 
  49.  ..!uunet!tacoma!dcb      | "Zinc & cadmium plating stops |  /   ____/ / 
  50. CompuServe: <DEAD>        |  rust & acts as a lubricant!" |
  51.