diff --git a/man/terminfo.tail b/man/terminfo.tail index bd8568f..08980df 100644 --- a/man/terminfo.tail +++ b/man/terminfo.tail @@ -28,6 +28,28 @@ to applications: .bP User-defined capability strings whose name begins with \*(``k\*('' are treated as function keys. +.IP +For example \fBxterm\fP uses this to define names for modified cursor- +and editing-keypad keys, which are just the xterm modifier code appended +to the name of the shifted key. +The delete-key (\fBkdc\fR) can thus be represented as follows: +.IP +.TS +center; +l l l +l l l +lw15 lw15 lw15. +\fBXterm code Modifier Extended Name\fP + +1 (or missing) Normal kdc +2 Shift kDC +3 Alt kDC3 +4 Shift + Alt kDC4 +5 Control kDC5 +6 Shift + Control kDC6 +7 Alt + Control kDC7 +8 Shift + Alt + Control kDC8 +.TE .bP The types (boolean, number, string) determined by address@hidden@\fP can be inferred by successful calls on \fBtigetflag\fP, etc.