On Jan 2, 2006, at 8:09 PM, Nancy Anthracite wrote:
As for VT100+, in some information about the putty VT100+, it says
this on
this page: <http://the.earth.li/~sgtatham/putty/0.58/htmldoc/
Chapter4.html>
4.4.3 Changing the action of the function keys and keypad
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 [{.
Interesting. What I have (OS X Terminal) is
F1 \033OP
F2 \033 OQ
etc.
where, of course, \033 is ESC.
===
Gregory Woodhouse
[EMAIL PROTECTED]
"Prediction is difficult, especially of the future."
--Niels Bohr
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members