- to by <EM>wch</EM> to the corresponding <STRONG>KEY_</STRONG> value defined in
- <STRONG><curses.h></STRONG> and returning <STRONG>KEY_CODE_YES</STRONG>. If a character
- (such as escape) that could be the beginning of a function
- key is received, curses sets a timer. If the remainder of
- the sequence does arrive within the designated time,
- curses passes through the character; otherwise, curses
- returns the function key value. For this reason, many
- terminals experience a delay between the time a user
- presses the escape key and the time the escape is returned
- to the program.
-
- The <STRONG>unget_wch</STRONG> function pushes the wide character <EM>wch</EM> back
+ to by <EM>wch</EM> to the keycode assigned to the function key, and
+ returning <STRONG>KEY_CODE_YES</STRONG>. If a character (such as escape)
+ that could be the beginning of a function key is received,
+ curses sets a timer. If the remainder of the sequence
+ does arrive within the designated time, curses passes
+ through the character; otherwise, curses returns the func-
+ tion key value. For this reason, many terminals experi-
+ ence a delay between the time a user presses the escape
+ key and the time the escape is returned to the program.
+
+ The keycodes returned by these functions are the same as
+ those returned by <STRONG>wgetch</STRONG>:
+
+ <STRONG>o</STRONG> The predefined function keys are listed in <STRONG><curses.h></STRONG>
+ as macros with values outside the range of 8-bit char-
+ acters. Their names begin with <STRONG>KEY_</STRONG>.
+
+ <STRONG>o</STRONG> Other (user-defined) function keys which may be de-
+ fined using <STRONG><A HREF="define_key.3x.html">define_key(3x)</A></STRONG> have no names, but also are
+ expected to have values outside the range of 8-bit
+ characters.
+
+ The <STRONG>unget_wch</STRONG> function pushes the wide character <EM>wch</EM> back