home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.shell
- Path: sparky!uunet!nwnexus!seanews!kopachuk!dcb
- From: dcb@kopachuk.uucp (David Breneman)
- Subject: Re: Exiting KSH with ^D
- Message-ID: <1992Dec22.235951.304@kopachuk.uucp>
- Keywords: shell, ksh, kornshell, HP-UX
- Organization: Tacoma Screw Products, Inc.
- References: <1992Dec9.184249.24657@cbfsb.cb.att.com> <1992Dec17.223304.3274@kopachuk.uucp> <1992Dec19.195724.10742@Celestial.COM>
- Date: Tue, 22 Dec 1992 23:59:51 GMT
- Lines: 39
-
- In article <1992Dec19.195724.10742@Celestial.COM> bill@Celestial.COM (Bill Campbell) writes:
- >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:
-
- Our story so far...
-
- >:> 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.
- etc...
- >
- >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 = ^@
-
-
- Well, Bill, here's the comparable output from the Pyramid:
-
- speed 9600 baud; line = 0; intr = DEL; quit = ^|; erase = ^h; kill = @; eof = ^d; eol = ^`; swtch = ^`
-
- ...Also eof = ^D
- One thing I might point out is that "out of the box" the Pyramid wants
- to use ^C to exit a shell, and we have re-mapped it in /etc/profile.
- Could this be why it doesn't fully "take"?
-
- --
- David Breneman Sys Admin, Tacoma Screw Products, Inc. | ____ ____ ____
- dcb@tacoma.uucp | SCREWIE the TSP CLOWN sez- | / /___ /___/
- ..!uunet!tacoma!dcb | "Zinc & cadmium plating stops | / ____/ /
- CompuServe: <DEAD> | rust & acts as a lubricant!" |
-