U
user923005
">
He said he would the last time I pointed out an error.
He didn't correct it.
hmm - no. It's incorrect, and (even given the old information that he
used), was never correct since the FAQ was written.
From:
http://www.delorie.com/gnu/docs/termcap/termcap_37.html
We have this:
The Termcap Library
[ < ] [ > ] [ << ] [ Up ] [ >> ] [Top] [Contents]
[Index] [ ? ]
3.14 Keypad and Function Keys
Many terminals have arrow and function keys that transmit specific
character sequences to the computer. Since the precise sequences used
depend on the terminal, termcap defines capabilities used to say what
the sequences are. Unlike most termcap string-valued capabilities,
these are not strings of commands to be sent to the terminal, rather
strings that are received from the terminal.
Note the sentence: "Many terminals have arrow and function keys that
transmit specific character sequences to the computer." indicating
that {at least potentially} some do not.
The GNU entry reads the same:
http://www.gnu.org/software/termutils/manual/termcap-1.3/html_chapter/termcap_4.html#SEC37
Same from University of Utah:
http://www.cs.utah.edu/dept/old/texinfo/termcap/termcap.html#SEC35
The BSD docummentation:
http://www.freebsd.org/cgi/man.cgi?query=termcap&sektion=5
says:
"Keypad
If the terminal has a keypad that transmits codes when the keys
are
pressed, this information can be given. Note that it is not
possible to
handle terminals where the keypad only works in local mode (this
applies,
for example, to the unshifted Hewlett-Packard 2621 keys). If the
keypad
can be set to transmit or not transmit, give these codes as ks
and ke.
Otherwise the keypad is assumed to always transmit. The codes
sent by
the left-arrow, right-arrow, up-arrow, down-arrow, and home keys
can be
given as kl, kr, ku, kd, and kh, respectively. If there are
function
keys such as f0, f1, ..., f9, the codes they send can be given as
k0, k1,
..., k9. If these keys have labels other than the default f0
through f9,
the labels can be given as l0, l1, ..., l9."
I think we can infer that all credible sources of documentation agree
with Steve's interpretation.
IMO-YMMV.