How to make delete key send a control C in Linux filepro
Jay R. Ashworth
jra at baylink.com
Fri May 11 16:38:20 PDT 2007
On Fri, May 11, 2007 at 03:07:38PM -0700, Bill Campbell wrote:
> Xenix as implemented by Tandy/SCO usually used the DEL, and Xenix was a
> bastard mix of SYSV and BSDish things.
Well, to be clear: Microsoft Xenix was based on first a V7, and later a
Sys3 Kernel.
> To further complicate things, the key mappings on various terminal vary
> widely (e.g. the DECish VTxxx terminals that send the DEL character from
> the upper right character that most terminals call backspace and sends
> ctrl-H). Most keyboards today that are some variant on the 101 key PC
> keyboard don't send a single DEL character when pressing the DEL key,
> although this depends on the program interpreting the key strokes (e.g.
> xterm, Anzio, ckermit, etc.).
Depends entirely on that, actually. After demurring for years, Simon
Tatham *finally* put a SCO mode in Putty, and that's one of the main
things it fixes.
> The ctrl-C cancel has been widely used for decades on a wide variety of
> systems, and is the same regardless of terminal type. Having a single
> standard was more important to me than when I switched from running SCO
> systems in scoterms to running everything in xterms so I trained my fingers
> to use ctrl-C.
>
> My login procedures all set the interrupt character to ctrl-C and the erase
> character to ctrl-H for consistency (and I have a $HOME/XTerm file that
> gets most xterms to use ctrl-H instead of the DECish mapping).
>
> stty intr '^C' erase '^H'
>
> BTW: I do find myself hitting ctrl-H to backspace on occassions when I'm
> at a Linux system console that's sending DEL from the backspace key.
But, as we imply above, all of that notwithstanding, you *still* have
to make the key send the right code, and every operating system (where
it's possible to change it at all) does it differently, as does X.
Cheers,
-- jra
--
Jay R. Ashworth jra at baylink.com
Designer Baylink RFC 2100
Ashworth & Associates The Things I Think '87 e24
St Petersburg FL USA http://baylink.pitas.com +1 727 647 1274
More information about the Filepro-list
mailing list