Annotation of 43BSDReno/contrib/emacs-18.55/info/termcap-3, revision 1.1.1.1

1.1       root        1: Info file: termcap,    -*-Text-*-
                      2: produced by texinfo-format-buffer
                      3: from file: termcap.texinfo
                      4: 
                      5: This file documents the termcap library of the GNU system.
                      6: 
                      7: Copyright (C) 1988 Free Software Foundation, Inc.
                      8: 
                      9: Permission is granted to make and distribute verbatim copies of
                     10: this manual provided the copyright notice and this permission notice
                     11: are preserved on all copies.
                     12: 
                     13: Permission is granted to copy and distribute modified versions of this
                     14: manual under the conditions for verbatim copying, provided that the entire
                     15: resulting derived work is distributed under the terms of a permission
                     16: notice identical to this one.
                     17: 
                     18: Permission is granted to copy and distribute translations of this manual
                     19: into another language, under the above conditions for modified versions,
                     20: except that this permission notice may be stated in a translation approved
                     21: by the Foundation.
                     22: 
                     23: 
                     24: 
                     25: 
                     26: File: termcap  Node: Cursor Visibility, Prev: Underlining, Up: Capabilities, Next: Bell
                     27: 
                     28: Cursor Visibility
                     29: =================
                     30: 
                     31: Some terminals have the ability to make the cursor invisible, or to enhance
                     32: it.  Enhancing the cursor is often done by programs that plan to use the
                     33: cursor to indicate to the user a position of interest that may be anywhere
                     34: on the screen---for example, the Emacs editor enhances the cursor on entry.
                     35: Such programs should always restore the cursor to normal on exit.
                     36: 
                     37: `vs'
                     38:      String of commands to enhance the cursor.
                     39: 
                     40: `vi'
                     41:      String of commands to make the cursor invisible.
                     42: 
                     43: `ve'
                     44:      String of commands to return the cursor to normal.
                     45: 
                     46: If you define either `vs' or `vi', you must also define `ve'.
                     47: 
                     48: 
                     49: File: termcap  Node: Bell, Prev: Cursor Visibility, Up: Capabilities, Next: Keypad
                     50: 
                     51: Bell
                     52: ====
                     53: 
                     54: Here we describe commands to make the terminal ask for the user to pay
                     55: attention to it.
                     56: 
                     57: `bl'
                     58:      String of commands to cause the terminal to make an audible sound.  If
                     59:      this capability is absent, the terminal has no way to make a suitable
                     60:      sound.
                     61: 
                     62: `vb'
                     63:      String of commands to cause the screen to flash to attract attention
                     64:      ("visible bell").  If this capability is absent, the terminal has no
                     65:      way to do such a thing.
                     66: 
                     67: 
                     68: File: termcap  Node: Keypad, Prev: Bell, Up: Capabilities, Next: Meta Key
                     69: 
                     70: Keypad and Function Keys
                     71: ========================
                     72: 
                     73: Many terminals have arrow and function keys that transmit specific
                     74: character sequences to the computer.  Since the precise sequences used
                     75: depend on the terminal, termcap defines capabilities used to say what the
                     76: sequences are.  Unlike most termcap string-valued capabilities, these are
                     77: not strings of commands to be sent to the terminal, rather strings that
                     78: are received from the terminal.
                     79: 
                     80: Programs that expect to use keypad keys should check, initially, for a
                     81: `ks' capability and send it, to make the keypad actually transmit.
                     82: Such programs should also send the `ke' string when exiting.
                     83: 
                     84: `ks'
                     85:      String of commands to make the function keys transmit.  If this
                     86:      capability is not provided, but the others in this section are,
                     87:      programs may assume that the function keys always transmit.
                     88: 
                     89: `ke'
                     90:      String of commands to make the function keys work locally.  This
                     91:      capability is provided only if `ks' is.
                     92: 
                     93: `kl'
                     94:      String of input characters sent by typing the left-arrow key.  If this
                     95:      capability is missing, you cannot expect the terminal to have a
                     96:      left-arrow key that transmits anything to the computer.
                     97: 
                     98: `kr'
                     99:      String of input characters sent by typing the right-arrow key.
                    100: 
                    101: `ku'
                    102:      String of input characters sent by typing the up-arrow key.
                    103: 
                    104: `kd'
                    105:      String of input characters sent by typing the down-arrow key.
                    106: 
                    107: `kh'
                    108:      String of input characters sent by typing the "home-position" key.
                    109: 
                    110: `K1' ... `K5'
                    111:      Strings of input characters sent by the five other keys in a 3-by-3
                    112:      array that includes the arrow keys, if the keyboard has such a 3-by-3
                    113:      array.  Note that one of these keys may be the "home-position" key,
                    114:      in which case one of these capabilities will have the same value as
                    115:      the `kh' key.
                    116: 
                    117: `k0'
                    118:      String of input characters sent by function key 10 (or 0, if the terminal
                    119:      has one labeled 0).
                    120: 
                    121: `k1' ... `k9'
                    122:      Strings of input characters sent by function keys 1 through 9,
                    123:      provided for those function keys that exist.
                    124: 
                    125: `kn'
                    126:      Number: the number of numbered function keys, if there are more than
                    127:      10.
                    128: 
                    129: `l0' ... `l9'
                    130:      Strings which are the labels appearing on the keyboard on the keys
                    131:      described by the capabilities `k0' ... `l9'.  These capabilities
                    132:      should be left undefined if the labels are `f0' or `f10' and `f1'
                    133:      ... `f9'.
                    134: 
                    135: `kH'
                    136:      String of input characters sent by the "home down" key, if there is
                    137:      one.
                    138: 
                    139: `kb'
                    140:      String of input characters sent by the "backspace" key, if there is
                    141:      one.
                    142: 
                    143: `ka'
                    144:      String of input characters sent by the "clear all tabs" key, if there
                    145:      is one.
                    146: 
                    147: `kt'
                    148:      String of input characters sent by the "clear tab stop this column"
                    149:      key, if there is one.
                    150: 
                    151: `kC'
                    152:      String of input characters sent by the "clear screen" key, if there is
                    153:      one.
                    154: 
                    155: `kD'
                    156:      String of input characters sent by the "delete character" key, if
                    157:      there is one.
                    158: 
                    159: `kL'
                    160:      String of input characters sent by the "delete line" key, if there is
                    161:      one.
                    162: 
                    163: `kM'
                    164:      String of input characters sent by the "exit insert mode" key, if
                    165:      there is one.
                    166: 
                    167: `kE'
                    168:      String of input characters sent by the "clear to end of line" key, if
                    169:      there is one.
                    170: 
                    171: `kS'
                    172:      String of input characters sent by the "clear to end of screen" key,
                    173:      if there is one.
                    174: 
                    175: `kI'
                    176:      String of input characters sent by the "insert character" or "enter
                    177:      insert mode" key, if there is one.
                    178: 
                    179: `kA'
                    180:      String of input characters sent by the "insert line" key, if there is
                    181:      one.
                    182: 
                    183: `kN'
                    184:      String of input characters sent by the "next page" key, if there is
                    185:      one.
                    186: 
                    187: `kP'
                    188:      String of input characters sent by the "previous page" key, if there is
                    189:      one.
                    190: 
                    191: `kF'
                    192:      String of input characters sent by the "scroll forward" key, if there
                    193:      is one.
                    194: 
                    195: `kR'
                    196:      String of input characters sent by the "scroll reverse" key, if there
                    197:      is one.
                    198: 
                    199: `kT'
                    200:      String of input characters sent by the "set tab stop in this column"
                    201:      key, if there is one.
                    202: 
                    203: `ko'
                    204:      String listing the other function keys the terminal has.  This is a
                    205:      very obsolete way of describing the same information found in the
                    206:      `kH' ... `kT' keys.  The string contains a list of two-character
                    207:      termcap capability names, separated by commas.  The meaning is that
                    208:      for each capability name listed, the terminal has a key which sends
                    209:      the string which is the value of that capability.  For example, the
                    210:      value `:ko=cl,ll,sf,sr:' says that the terminal has four function
                    211:      keys which mean "clear screen", "home down", "scroll forward" and
                    212:      "scroll reverse".
                    213: 
                    214: 
                    215: File: termcap  Node: Meta Key, Prev: Keypad, Up: Capabilities, Next: Initialization
                    216: 
                    217: Meta Key
                    218: ========
                    219: 
                    220: A Meta key is a key on the keyboard that modifies each character you type
                    221: by controlling the 0200 bit.  This bit is on if and only if the Meta key is
                    222: held down when the character is typed.  Characters typed using the Meta key
                    223: are called Meta characters.  Emacs uses Meta characters as editing
                    224: commands.
                    225: 
                    226: `km'
                    227:      Flag whose presence means that the terminal has a Meta key.
                    228: 
                    229: `mm'
                    230:      String of commands to enable the functioning of the Meta key.
                    231: 
                    232: `mo'
                    233:      String of commands to disable the functioning of the Meta key.
                    234: 
                    235: If the terminal has `km' but does not have `mm' and `mo', it
                    236: means that the Meta key always functions.  If it has `mm' and
                    237: `mo', it means that the Meta key can be turned on or off.  Send the
                    238: `mm' string to turn it on, and the `mo' string to turn it off.
                    239: I do not know why one would ever not want it to be on.
                    240: 
                    241: 
                    242: File: termcap  Node: Initialization, Prev: Meta Key, Up: Capabilities, Next: Pad Specs
                    243: 
                    244: Initialization
                    245: ==============
                    246: 
                    247: `ti'
                    248:      String of commands to put the terminal into whatever special modes are
                    249:      needed or appropriate for programs that move the cursor
                    250:      nonsequentially around the screen.  Programs that use termcap to do
                    251:      full-screen display should output this string when they start up.
                    252: 
                    253: `te'
                    254:      String of commands to undo what is done by the `ti' string.
                    255:      Programs that output the `ti' string on entry should output this
                    256:      string when they exit.
                    257: 
                    258: `is'
                    259:      String of commands to initialize the terminal for each login session.
                    260: 
                    261: `if'
                    262:      String which is the name of a file containing the string of commands
                    263:      to initialize the terminal for each session of use.  Normally `is'
                    264:      and `if' are not both used.
                    265: 
                    266: `i1'
                    267: `i3'
                    268:      Two more strings of commands to initialize the terminal for each login
                    269:      session.  The `i1' string (if defined) is output before `is'
                    270:      or `if', and the `i3' string (if defined) is output after.
                    271: 
                    272:      The reason for having three separate initialization strings is to make
                    273:      it easier to define a group of related terminal types with slightly
                    274:      different initializations.  Define two or three of the strings in the
                    275:      basic type; then the other types can override one or two of the
                    276:      strings.
                    277: 
                    278: `rs'
                    279:      String of commands to reset the terminal from any strange mode it may
                    280:      be in.  Normally this includes the `is' string (or other commands
                    281:      with the same effects) and more.  What would go in the `rs'
                    282:      string but not in the `is' string are annoying or slow commands
                    283:      to bring the terminal back from strange modes that nobody would
                    284:      normally use.
                    285: 
                    286: `it'
                    287:      Numeric value, the initial spacing between hardware tab stop columns
                    288:      when the terminal is powered up.  Programs to initialize the terminal
                    289:      can use this to decide whether there is a need to set the tab stops.
                    290:      If the initial width is 8, well and good; if it is not 8, then the
                    291:      tab stops should be set; if they cannot be set, the kernel is told
                    292:      to convert tabs to spaces, and other programs will observe this and do
                    293:      likewise.
                    294: 
                    295: `ct'
                    296:      String of commands to clear all tab stops.
                    297: 
                    298: `st'
                    299:      String of commands to set tab stop at current cursor column on all
                    300:      lines.
                    301: 
                    302: 
                    303: File: termcap  Node: Pad Specs, Prev: Initialization, Up: Capabilities, Next: Status Line
                    304: 
                    305: Padding Capabilities
                    306: ====================
                    307: 
                    308: There are two terminal capabilities that exist just to explain the proper
                    309: way to obey the padding specifications in all the command string
                    310: capabilities.  One, `pc', must be obeyed by all termcap-using
                    311: programs.
                    312: 
                    313: `pb'
                    314:      Numeric value, the lowest baud rate at which padding is actually
                    315:      needed.  Programs may check this and refrain from doing any padding at
                    316:      lower speeds.
                    317: 
                    318: `pc'
                    319:      String of commands for padding.  The first character of this string is
                    320:      to be used as the pad character, instead of using null characters for
                    321:      padding.  If `pc' is not provided, use null characters.  Every
                    322:      program that uses termcap must look up this capability and use it to
                    323:      set the variable `PC' that is used by `tputs'.
                    324:      *Note Padding::.
                    325: 
                    326: Some termcap capabilities exist just to specify the amount of padding that
                    327: the kernel should give to cursor motion commands used in ordinary
                    328: sequential output.
                    329: 
                    330: `dC'
                    331:      Numeric value, the number of msec of padding needed for the
                    332:      carriage-return character.
                    333: 
                    334: `dN'
                    335:      Numeric value, the number of msec of padding needed for the newline
                    336:      (linefeed) character.
                    337: 
                    338: `dB'
                    339:      Numeric value, the number of msec of padding needed for the backspace
                    340:      character.
                    341: 
                    342: `dF'
                    343:      Numeric value, the number of msec of padding needed for the formfeed
                    344:      character.
                    345: 
                    346: `dT'
                    347:      Numeric value, the number of msec of padding needed for the tab
                    348:      character.
                    349: 
                    350: In some systems, the kernel uses the above capabilities; in other systems,
                    351: the kernel uses the paddings specified in the string capabilities
                    352: `cr', `sf', `le', `ff' and `ta'.  Descriptions of
                    353: terminals which require such padding should contain the `dC' ...
                    354: `dT' capabilities and also specify the appropriate padding in the
                    355: corresponding string capabilities.  Since no modern terminals require
                    356: padding for ordinary sequential output, you probably won't need to do
                    357: either of these things.
                    358: 
                    359: 
                    360: File: termcap  Node: Status Line, Prev: Pad Specs, Up: Capabilities, Next: Half-Line
                    361: 
                    362: Status Line
                    363: ===========
                    364: 
                    365: A "status line" is a line on the terminal that is not used for ordinary
                    366: display output but instead used for a special message.  The intended use is
                    367: for a continuously updated description of what the user's program is doing,
                    368: and that is where the name "status line" comes from, but in fact it could
                    369: be used for anything.  The distinguishing characteristic of a status line
                    370: is that ordinary output to the terminal does not affect it; it changes only
                    371: if the special status line commands of this section are used.
                    372: 
                    373: `hs'
                    374:      Flag whose presence means that the terminal has a status line.  If a
                    375:      terminal description specifies that there is a status line, it must
                    376:      provide the `ts' and `fs' capabilities.
                    377: 
                    378: `ts'
                    379:      String of commands to move the terminal cursor into the status line.
                    380:      Usually these commands must specifically record the old cursor
                    381:      position for the sake of the `fs' string.
                    382: 
                    383: `fs'
                    384:      String of commands to move the cursor back from the status line to its
                    385:      previous position (outside the status line).
                    386: 
                    387: `es'
                    388:      Flag whose presence means that other display commands work while
                    389:      writing the status line.  In other words, one can clear parts of it,
                    390:      insert or delete characters, move the cursor within it using `ch'
                    391:      if there is a `ch' capability, enter and leave standout mode, and
                    392:      so on.
                    393: 
                    394: `ds'
                    395:      String of commands to disable the display of the status line.  This
                    396:      may be absent, if there is no way to disable the status line display.
                    397: 
                    398: `ws'
                    399:      Numeric value, the width of the status line.  If this capability is
                    400:      absent in a terminal that has a status line, it means the status line
                    401:      is the same width as the other lines.
                    402: 
                    403:      Note that the value of `ws' is sometimes as small as 8.
                    404: 
                    405: 
                    406: File: termcap  Node: Half-Line, Prev: Status Line, Up: Capabilities, Next: Printer
                    407: 
                    408: Half-Line Motion
                    409: ================
                    410: 
                    411: Some terminals have commands for moving the cursor vertically by half-lines,
                    412: useful for outputting subscripts and superscripts.  Mostly it is hardcopy
                    413: terminals that have such features.
                    414: 
                    415: `hu'
                    416:      String of commands to move the cursor up half a line.  If the terminal
                    417:      is a display, it is your responsibility to avoid moving up past the
                    418:      top line; however, most likely the terminal that supports this is a
                    419:      hardcopy terminal and there is nothing to be concerned about.
                    420: 
                    421: `hd'
                    422:      String of commands to move the cursor down half a line.  If the
                    423:      terminal is a display, it is your responsibility to avoid moving down
                    424:      past the bottom line, etc.
                    425: 
                    426: 
                    427: File: termcap  Node: Printer, Prev: Half-Line, Up: Capabilities
                    428: 
                    429: Controlling Printers Attached to Terminals
                    430: ==========================================
                    431: 
                    432: Some terminals have attached hardcopy printer ports.  They may be able to
                    433: copy the screen contents to the printer; they may also be able to redirect
                    434: output to the printer.  Termcap does not have anything to tell the program
                    435: whether the redirected output appears also on the screen; it does on some
                    436: terminals but not all.
                    437: 
                    438: `ps'
                    439:      String of commands to cause the contents of the screen to be printed.
                    440:      If it is absent, the screen contents cannot be printed.
                    441: 
                    442: `po'
                    443:      String of commands to redirect further output to the printer.
                    444: 
                    445: `pf'
                    446:      String of commands to terminate redirection of output to the printer.
                    447:      This capability must be present in the description if `po' is.
                    448: 
                    449: `pO'
                    450:      String of commands to redirect output to the printer for next N
                    451:      characters of output, regardless of what they are.  Redirection will
                    452:      end automatically after N characters of further output.  Until
                    453:      then, nothing that is output can end redirection, not even the
                    454:      `pf' string if there is one.  The number N should not be
                    455:      more than 255.
                    456: 
                    457:      One use of this capability is to send non-text byte sequences (such as
                    458:      bit-maps) to the printer.
                    459: 
                    460: Most terminals with printers do not support all of `ps', `po' and
                    461: `pO'; any one or two of them may be supported.  To make a program that
                    462: can send output to all kinds of printers, it is necessary to check for all
                    463: three of these capabilities, choose the most convenient of the ones that
                    464: are provided, and use it in its own appropriate fashion.
                    465: 
                    466: 
                    467: File: termcap  Node: Summary, Prev: Capabilities, Up: Top, Next: Var Index
                    468: 
                    469: Summary of Capability Names
                    470: ***************************
                    471: 
                    472: Here are all the terminal capability names in alphabetical order
                    473: with a brief description of each.  For cross references to their definitions,
                    474: see the index of capability names (*Note Cap Index::).
                    475: 
                    476: `ae'
                    477:      String to turn off alternate character set mode.
                    478: `al'
                    479:      String to insert a blank line before the cursor.
                    480: `AL'
                    481:      String to insert N blank lines before the cursor.
                    482: `am'
                    483:      Flag: output to last column wraps cursor to next line.
                    484: `as'
                    485:      String to turn on alternate character set mode.like.
                    486: `bc'
                    487:      Very obsolete alternative name for the `le' capability.
                    488: `bl'
                    489:      String to sound the bell.
                    490: `bs'
                    491:      Obsolete flag: ASCII backspace may be used for leftward motion.
                    492: `bt'
                    493:      String to move the cursor left to the previous hardware tab stop column.
                    494: `bw'
                    495:      Flag: `le' at left margin wraps to end of previous line.
                    496: `CC'
                    497:      String to change terminal's command character.
                    498: `cd'
                    499:      String to clear the line the cursor is on, and following lines.
                    500: `ce'
                    501:      String to clear from the cursor to the end of the line.
                    502: `ch'
                    503:      String to position the cursor at column C in the same line.
                    504: `cl'
                    505:      String to clear the entire screen and put cursor at upper left corner.
                    506: `cm'
                    507:      String to position the cursor at line L, column C.
                    508: `CM'
                    509:      String to position the cursor at line L, column
                    510:      C, relative to display memory.
                    511: `co'
                    512:      Number: width of the screen.
                    513: `cr'
                    514:      String to move cursor sideways to left margin.
                    515: `cs'
                    516:      String to set the scroll region.
                    517: `cS'
                    518:      Alternate form of string to set the scroll region.
                    519: `ct'
                    520:      String to clear all tab stops.
                    521: `cv'
                    522:      String to position the cursor at line L in the same column.
                    523: `da'
                    524:      Flag: data scrolled off top of screen may be scrolled back.
                    525: `db'
                    526:      Flag: data scrolled off bottom of screen may be scrolled back.
                    527: `dB'
                    528:      Obsolete number: msec of padding needed for the backspace character.
                    529: `dc'
                    530:      String to delete one character position at the cursor.
                    531: `dC'
                    532:      Obsolete number: msec of padding needed for the carriage-return character.
                    533: `DC'
                    534:      String to delete N characters starting at the cursor.
                    535: `dF'
                    536:      Obsolete number: msec of padding needed for the formfeed character.
                    537: `dl'
                    538:      String to delete the line the cursor is on.
                    539: `DL'
                    540:      String to delete N lines starting with the cursor's line.
                    541: `dm'
                    542:      String to enter delete mode.
                    543: `dN'
                    544:      Obsolete number: msec of padding needed for the newline character.
                    545: `do'
                    546:      String to move the cursor vertically down one line.
                    547: `DO'
                    548:      String to move cursor vertically down N lines.
                    549: `ds'
                    550:      String to disable the display of the status line.
                    551: `dT'
                    552:      Obsolete number: msec of padding needed for the tab character.
                    553: `ec'
                    554:      String of commands to clear N characters at cursor.
                    555: `ed'
                    556:      String to exit delete mode.
                    557: `ei'
                    558:      String to leave insert mode.
                    559: `eo'
                    560:      Flag: output of a space can erase an overstrike.
                    561: `es'
                    562:      Flag: other display commands work while writing the status line.
                    563: `ff'
                    564:      String to advance to the next page, for a hardcopy terminal.
                    565: `fs'
                    566:      String to move the cursor back from the status line to its
                    567:      previous position (outside the status line).
                    568: `gn'
                    569:      Flag: this terminal type is generic, not real.
                    570: `hc'
                    571:      Flag: hardcopy terminal.
                    572: `hd'
                    573:      String to move the cursor down half a line.
                    574: `ho'
                    575:      String to position cursor at upper left corner.
                    576: `hs'
                    577:      Flag: the terminal has a status line.
                    578: `hu'
                    579:      String to move the cursor up half a line.
                    580: `hz'
                    581:      Flag: terminal cannot accept `~' as output.
                    582: `i1'
                    583:      String to initialize the terminal for each login session.
                    584: `i3'
                    585:      String to initialize the terminal for each login session.
                    586: `ic'
                    587:      String to insert one character position at the cursor.
                    588: `IC'
                    589:      String to insert N character positions at the cursor.
                    590: `if'
                    591:      String naming a file of commands to initialize the terminal.
                    592: `im'
                    593:      String to enter insert mode.
                    594: `in'
                    595:      Flag: outputting a space is different from moving over empty positions.
                    596: `ip'
                    597:      String to output following an inserted character in insert mode.
                    598: `is'
                    599:      String to initialize the terminal for each login session.
                    600: `it'
                    601:      Number: initial spacing between hardware tab stop columns.
                    602: `k0'
                    603:      String of input sent by function key 0 or 10.
                    604: `k1 ... k9'
                    605:      Strings of input sent by function keys 1 through 9.
                    606: `K1 ... K5'
                    607:      Strings sent by the five other keys in 3-by-3 array with arrows.
                    608: `ka'
                    609:      String of input sent by the "clear all tabs" key.
                    610: `kA'
                    611:      String of input sent by the "insert line" key.
                    612: `kb'
                    613:      String of input sent by the "backspace" key.
                    614: `kC'
                    615:      String of input sent by the "clear screen" key.
                    616: `kd'
                    617:      String of input sent by typing the down-arrow key.
                    618: `kD'
                    619:      String of input sent by the "delete character" key.
                    620: `ke'
                    621:      String to make the function keys work locally.
                    622: `kE'
                    623:      String of input sent by the "clear to end of line" key.
                    624: `kF'
                    625:      String of input sent by the "scroll forward" key.
                    626: `kh'
                    627:      String of input sent by typing the "home-position" key.
                    628: `kH'
                    629:      String of input sent by the "home down" key.
                    630: `kI'
                    631:      String of input sent by the "insert character" or "enter
                    632:      insert mode" key.
                    633: `kl'
                    634:      String of input sent by typing the left-arrow key.
                    635: `kL'
                    636:      String of input sent by the "delete line" key.
                    637: `km'
                    638:      Flag: the terminal has a Meta key.
                    639: `kM'
                    640:      String of input sent by the "exit insert mode" key.
                    641: `kn'
                    642:      Numeric value, the number of numbered function keys.
                    643: `kN'
                    644:      String of input sent by the "next page" key.
                    645: `ko'
                    646:      Very obsolete string listing the terminal's named function keys.
                    647: `kP'
                    648:      String of input sent by the "previous page" key.
                    649: `kr'
                    650:      String of input sent by typing the right-arrow key.
                    651: `kR'
                    652:      String of input sent by the "scroll reverse" key.
                    653: `ks'
                    654:      String to make the function keys transmit.
                    655: `kS'
                    656:      String of input sent by the "clear to end of screen" key.
                    657: `kt'
                    658:      String of input sent by the "clear tab stop this column" key.
                    659: `kT'
                    660:      String of input sent by the "set tab stop in this column" key.
                    661: `ku'
                    662:      String of input sent by typing the up-arrow key.
                    663: `l0'
                    664:      String on keyboard labelling function key 0 or 10.
                    665: `l1 ... l9'
                    666:      Strings on keyboard labelling function keys 1 through 9.
                    667: `le'
                    668:      String to move the cursor left one column.
                    669: `LE'
                    670:      String to move cursor left N columns.
                    671: `li'
                    672:      Number: height of the screen.
                    673: `ll'
                    674:      String to position cursor at lower left corner.
                    675: `lm'
                    676:      Number: lines of display memory.
                    677: `mb'
                    678:      String to enter blinking mode.
                    679: `md'
                    680:      String to enter double-bright mode.
                    681: `me'
                    682:      String to turn off all appearance modes
                    683: `mh'
                    684:      String to enter half-bright mode.
                    685: `mi'
                    686:      Flag: cursor motion in insert mode is safe.
                    687: `mk'
                    688:      String to enter invisible mode.
                    689: `mm'
                    690:      String to enable the functioning of the Meta key.
                    691: `mo'
                    692:      String to disable the functioning of the Meta key.
                    693: `mp'
                    694:      String to enter protected mode.
                    695: `mr'
                    696:      String to enter reverse-video mode.
                    697: `ms'
                    698:      Flag: cursor motion in standout mode is safe.
                    699: `nc'
                    700:      Obsolete flag: do not use ASCII carriage-return on this terminal.
                    701: `nd'
                    702:      String to move the cursor right one column.
                    703: `nl'
                    704:      Obsolete alternative name for the `do' and `sf' capabilities.
                    705: `ns'
                    706:      Flag: the terminal does not normally scroll for sequential output.
                    707: `nw'
                    708:      String to move to start of next line, possibly clearing rest of old line.
                    709: `os'
                    710:      Flag: terminal can overstrike.
                    711: `pb'
                    712:      Number: the lowest baud rate at which padding is actually needed.
                    713: `pc'
                    714:      String containing character for padding.
                    715: `pf'
                    716:      String to terminate redirection of output to the printer.
                    717: `po'
                    718:      String to redirect further output to the printer.
                    719: `pO'
                    720:      String to redirect N characters ofoutput to the printer.
                    721: `ps'
                    722:      String to print the screen on the attached printer.
                    723: `rc'
                    724:      String to move to last saved cursor position.
                    725: `RI'
                    726:      String to move cursor right N columns.
                    727: `rp'
                    728:      String to output character C repeated N times.
                    729: `rs'
                    730:      String to reset the terminal from any strange modes.
                    731: `sa'
                    732:      String to turn on an arbitrary combination of appearance modes.
                    733: `sc'
                    734:      String to save the current cursor position.
                    735: `se'
                    736:      String to leave standout mode.
                    737: `sf'
                    738:      String to scroll the screen one line up.
                    739: `SF'
                    740:      String to scroll the screen N lines up.
                    741: `sg'
                    742:      Number: width of magic standout cookie.  Absent if magic cookies are
                    743:      not used.
                    744: `so'
                    745:      String to enter standout mode.
                    746: `sr'
                    747:      String to scroll the screen one line down.
                    748: `SR'
                    749:      String to scroll the screen N line down.
                    750: `st'
                    751:      String to set tab stop at current cursor column on all lines.
                    752:      programs.
                    753: `ta'
                    754:      String to move the cursor right to the next hardware tab stop column.
                    755: `te'
                    756:      String to return terminal to settings for sequential output.
                    757: `ti'
                    758:      String to initialize terminal for random cursor motion.
                    759: `ts'
                    760:      String to move the terminal cursor into the status line.
                    761: `uc'
                    762:      String to underline one character and move cursor right.
                    763: `ue'
                    764:      String to turn off underline mode
                    765: `ug'
                    766:      Number: width of underlining magic cookie.  Absent if underlining
                    767:      doesn't use magic cookies.
                    768: `ul'
                    769:      Flag: underline by overstriking with an underscore.
                    770: `up'
                    771:      String to move the cursor vertically up one line.
                    772: `UP'
                    773:      String to move cursor vertically up N lines.
                    774: `us'
                    775:      String to turn on underline mode
                    776: `vb'
                    777:      String to make the screen flash.
                    778: `ve'
                    779:      String to return the cursor to normal.
                    780: `vi'
                    781:      String to make the cursor invisible.
                    782: `vs'
                    783:      String to enhance the cursor.
                    784: `wi'
                    785:      String to set the terminal output screen window.
                    786: `ws'
                    787:      Number: the width of the status line.
                    788: `xb'
                    789:      Flag: superbee terminal.
                    790: `xn'
                    791:      Flag: cursor wraps in a strange way.
                    792: `xs'
                    793:      Flag: clearing a line is the only way to clear the appearance modes of
                    794:      positions in that line (or, only way to remove magic cookies on that
                    795:      line).
                    796: `xt'
                    797:      Flag: Teleray 1061; several strange characteristics.
                    798: 
                    799: 
                    800: File: termcap  Node: Var Index, Prev: Summary, Up: Top, Next: Cap Index
                    801: 
                    802: Variable and Function Index
                    803: ***************************
                    804: 
                    805: 
                    806: * Menu:
                    807: 
                    808: sort: read error on stdin: Bad file number
                    809: 
                    810: 
                    811: File: termcap  Node: Cap Index, Prev: Var Index, Up: Top, Next: Index
                    812: 
                    813: Capability Index
                    814: ****************
                    815: 
                    816: 
                    817: * Menu:
                    818: 
                    819: sort: read error on stdin: Bad file number
                    820: 
                    821: 
                    822: File: termcap  Node: Index, Prev: Cap Index, Up: Top
                    823: 
                    824: Concept Index
                    825: *************
                    826: 
                    827: 
                    828: * Menu:
                    829: 
                    830: sort: read error on stdin: Bad file number
                    831: 
                    832: 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.