Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!apple!mips!swrinde!elroy.jpl.nasa.gov!decwrl!sgi!rpw3@rigden.wpd.sgi.com From: rpw3@rigden.wpd.sgi.com (Rob Warnock) Newsgroups: comp.sys.sgi Subject: Re: "mailbox: " does it Do the Right Thing? Message-ID: <110328@sgi.sgi.com> Date: 14 Jun 91 06:18:19 GMT References: <9106131853.AA18365@aero36.larc.nasa.gov> Sender: guest@sgi.sgi.com Reply-To: rpw3@sgi.com (Rob Warnock) Organization: Silicon Graphics, Inc., Mountain View, CA Lines: 33 In article <9106131853.AA18365@aero36.larc.nasa.gov> blbates@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@sgi.com rpw3@pei.com Silicon Graphics, Inc. (415)335-1673 Protocol Engines, Inc. 2011 N. Shoreline Blvd. Mountain View, CA 94039-7311