> Also, unexpectedly, when I'm in this problem, PF9 will get me out.  I
had
> no idea Linux looked at PF keys, cared about PF keys, or had any sense
> that PF keys exist.  I don't see anywhere where Putty might have PF
keys
> mapped to something.  PF1 (help) sure doesn't work.

Function keys in the ASCII world send inband key sequences. The most
widely accepted terminals (DEC VTxxx and ANSI X3.64) have a number of
predefined function keys (and most other terminal vendors provide some
function keys). 

Applications can accept any key sequence they want, thus if the
application wants to accept function keys, it can. The Unix command
interpreter is a application, and some command interpreters do
understand them (which is why bash allows using arrow keys to scroll
back and forward in command history). 

Putty lets you do key to function mapping. This option affects the
function keys (F1 to F12) and the top row of the numeric keypad.

*       In the default mode, labelled ESC [n~, the function keys
generate sequences like ESC [11~, ESC [12~ and so on. This matches the
general behaviour of Digital's terminals.

*       In Linux mode, F6 to F12 behave just like the default mode, but
F1 to F5 generate ESC [[A through to ESC [[E. This mimics the Linux
virtual console.

*       In Xterm R6 mode, F5 to F12 behave like the default mode, but F1
to F4 generate ESC OP through to ESC OS
, which are the sequences produced by the top row of the keypad on
Digital's terminals.

*       In VT400 mode, all the function keys behave like the default
mode, but the actual top row of the numeric keypad generates ESC OP
through to ESC OS.

*       In VT100+ mode, the function keys generate ESC OP through to ESC
O[

*       In SCO mode, the function keys F1 to F12 generate ESC [M through
to ESC [X. Together with shift, they generate ESC [Y through to ESC [j.
With control they generate ESC [k through to ESC [v, and with shift and
control together they generate ESC [w through to ESC [{.

If you don't know what any of this means, you probably don't need to
fiddle with it.  It really matters for VMS, though...8-)

If you get stuck, try ESC 3. The 7171 default keymap lives. 8-)

-- db

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to