Using PuTTY to send Control-? instead of "ESC [3~" when the delete key is pressed

From: Spurgeon, John P (john.p.spurgeon@intel.com)
Date: Tue Nov 04 2003 - 16:41:11 EST


I'm sending this to sunmanagers in case someone knows of a way to solve
my problem without enhancing PuTTY. If not, then I'll submit a PuTTY
enhancement request.

Here's the problem I'm trying to solve:

I want use stty to make the delete key send the interrupt signal
(something like stty intr '^?') using PuTTY (TERM=xterm) to connect to a
Solaris 7 system. I'm not an expert on stty, but as far as I can tell,
there's no way to map a multi-character key sequence like "ESC [3~" to a
signal like intr. If I try something like stty intr '^[[3~' (which
probably doesn't make sense anyway), then what ends up happening is the
ESC key (^[) becomes the "interrupt key", and a whole slew of keys that
send "ESC something" no longer work as expected.

I wish PuTTY would let me configure the keyboard to send Control-? when
the delete key is pressed instead of "ESC [3~". I browsed the PuTTY
wishlist and didn't see this particular request. Perhaps its a special
case of the request for a general key-mapping feature, but it would be a
lot easier to implement and is very similar to an existing feature
whereby you can configure PuTTY to send either Control-H or Control-?
when the backspace key is pressed.

Regards,
John Spurgeon
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:27:24 EDT