Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!uakari.primate.wisc.edu!caesar.cs.montana.edu!bridge2!mips!ardent!mac From: mac@ardent.com Newsgroups: gnu.emacs.bug Subject: Re: (none) Message-ID: Date: 6 Dec 89 04:36:52 GMT References: <8912060417.aa00825@prose.CAMBRIDGE.MA.US> Sender: news@ardent.UUCP Reply-To: mac@ardent.com (Michael McNamara) Distribution: gnu Organization: Ardent Computer Corporation, Sunnyvale, CA Lines: 65 In-reply-to: simsong@prose.cambridge.ma.us's message of 6 Dec 89 04:17:04 GMT > In article <8912060417.aa00825@prose.CAMBRIDGE.MA.US> simsong@prose.cambridge.ma.us (Simson L. Garfinkel) writes: > To: bug-gnu-emacs@prep.ai.mit.edu > Subject: UNIX SCO V / 386 --- the final story > > Well, friends, the problem with ^@ (set-mark) on SCO Unix appears to > be (shl layers) ... > The simple workarround is to type "stty susp ^_" (or put it in your > .login file), so that ^_ becomes the suspend character. AND DON'T > TYPE ^_!!!! > You might try "stty susp u". At least on berkeley unix, stty understands u means undefine this command, so the terminal susp feature will not be possible to generate from the terminal. (until you define it again with stty, or an ioctl directly defines it) WAIT!!! AN ENTIRELY RANDOM THOUGHT: READ THE MANUAL ON A SYSV BOX!!!!!! SYNOPSIS stty [ -a ] [ -g ] [ options ] DESCRIPTION stty sets certain terminal I/O options for the device that is the current standard input; without arguments, it reports the settings of certain options. In this report, if a character is preceded by a caret (^), then the value of that option is the corresponding CTRL character (e.g., "^h" is CTRL-h ; in this case, recall that CTRL-h is the same as the "back-space" key.) The sequence "^'" means that an option has a null value. For ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ example, normally stty -a will report that the value of swtch is "^'"; however, if shl (1) or layers (1) has been invoked, stty -a will have the value "^z". WAIT!!! ANOTHER ENTIRELY RANDOM THOUGHT!!!! TEST IT BEFORE POSTING!!!!! Well, stty susp ^' sets susp to ^g. Seems that either the manual or the program is lying to me. WAIT!!! A THIRD ENTIRELY RANDOM THOUGHT!!!! DON'T BELIEVE THE DOCUMENTATION, READ THE SOURCE!!!!! Perusing the source reveals that "stty susp ^-" sets susp to undefined. Caveat: I have never seen UNIX SCO V / 386, so can not say if its documentation or implemetation tracks what MY sysV R3 box says/does. However, both MIPS 3.10 and ARDENT manuals claim that ^' should be undefine, but implement ^- as the undefine token to /bin/stty. > Simson L. Garfinkel > simsong@prose.cambridge.ma.us -- Michael McNamara (St)ardent, Inc. mac@ardent.com