"mailbox: " does it Do the Right Thing?

Rob Warnock rpw3 at rigden.wpd.sgi.com
Fri Jun 14 16:18:19 AEST 1991


In article <9106131853.AA18365 at aero36.larc.nasa.gov>
blbates at AERO36.LARC.NASA.GOV (Brent Bates ViGYAN AAD/TAB) writes:
+---------------
|    Have you tried pressing the Delete key?  We have 3.3.2 and ^C doesn't
| work, but "Delete" does.  Does any one know if this can be changed easily?
| It is kind of a annoying have to use "Delete" instead of ^C, but something
| I can put up with.
+---------------

You can also fix it by making sure you have a ~/.wshttymode file with the
TTY modes you want (e.g., intr = ^C). Since the wsh run under mailbox doesn't
see anything in your ~/.login file, it doesn't get whatever "stty" settings
you might have run. Here's mine:

	% cat .wshttymode
	d26:1805:cbf:3b:3:1c:8:15:4:0:0:1a:0:0:0:0:0:0:0:16:17:12:f:13:11:0:0:0:0:0:0:0:0:0:0:1

To make your own, in a normal shell window set up the TTY the way you want it
(e.g., "stty intr ^c erase ^h kill ^u"), then type:

	% stty -g >.wshttymode

This will cause your interrupt/quit/etc keys under mailbox (and other programs
run in a wsh but not in a login shell) to be the same as when you said "stty".


-Rob

-----
Rob Warnock, MS-1L/515		rpw3 at sgi.com		rpw3 at pei.com
Silicon Graphics, Inc.		(415)335-1673		Protocol Engines, Inc.
2011 N. Shoreline Blvd.
Mountain View, CA  94039-7311



More information about the Comp.sys.sgi mailing list