The Termcap Library - 4. Summary of Capability Names

Go to the first, previous, next, last section, table of contents.

# 4. Summary of Capability Names

Here are all the terminal capability names in alphabetical order with a brief description of each. For cross references to their definitions, see the index of capability names (see section Capability Index).

``ae'`
  String to turn off alternate character set mode.
``al'`
  String to insert a blank line before the cursor.
``AL'`
  String to insert n blank lines before the cursor.
``am'`
  Flag: output to last column wraps cursor to next line.
``as'`
  String to turn on alternate character set mode.like.
``bc'`
  Very obsolete alternative name for the ``le'` capability.
``bl'`
  String to sound the bell.
``bs'`
  Obsolete flag: ASCII backspace may be used for leftward motion.
``bt'`
  String to move the cursor left to the previous hardware tab stop column.
``bw'`
  Flag: ``le'` at left margin wraps to end of previous line.
``CC'`
  String to change terminal's command character.
``cd'`
  String to clear the line the cursor is on, and following lines.
``ce'`
  String to clear from the cursor to the end of the line.
``ch'`
  String to position the cursor at column c in the same line.
``cl'`
  String to clear the entire screen and put cursor at upper left corner.
``cm'`
  String to position the cursor at line l, column c.
``CM'`
  String to position the cursor at line l, column c, relative to display memory.
``co'`
  Number: width of the screen.
``cr'`
  String to move cursor sideways to left margin.
``cs'`
  String to set the scroll region.
``cS'`
  Alternate form of string to set the scroll region.
``ct'`
  String to clear all tab stops.
``cv'`
  String to position the cursor at line l in the same column.
``da'`
  Flag: data scrolled off top of screen may be scrolled back.
``db'`
  Flag: data scrolled off bottom of screen may be scrolled back.
``dB'`
  Obsolete number: msec of padding needed for the backspace character.
``dc'`
  String to delete one character position at the cursor.
``dC'`
  Obsolete number: msec of padding needed for the carriage-return character.
``DC'`
  String to delete n characters starting at the cursor.
``dF'`
  Obsolete number: msec of padding needed for the formfeed character.
``dl'`
  String to delete the line the cursor is on.
``DL'`
  String to delete n lines starting with the cursor's line.
``dm'`
  String to enter delete mode.
``dN'`
  Obsolete number: msec of padding needed for the newline character.
``do'`
  String to move the cursor vertically down one line.
``DO'`
  String to move cursor vertically down n lines.
``ds'`
  String to disable the display of the status line.
``dT'`
  Obsolete number: msec of padding needed for the tab character.
``ec'`
  String of commands to clear n characters at cursor.
``ed'`
  String to exit delete mode.
``ei'`
  String to leave insert mode.
``eo'`
  Flag: output of a space can erase an overstrike.
``es'`
  Flag: other display commands work while writing the status line.
``ff'`
  String to advance to the next page, for a hardcopy terminal.
``fs'`
  String to move the cursor back from the status line to its previous position (outside the status line).
``gn'`
  Flag: this terminal type is generic, not real.
``hc'`
  Flag: hardcopy terminal.
``hd'`
  String to move the cursor down half a line.
``ho'`
  String to position cursor at upper left corner.
``hs'`
  Flag: the terminal has a status line.
``hu'`
  String to move the cursor up half a line.
``hz'`
  Flag: terminal cannot accept ``~'` as output.
``i1'`
  String to initialize the terminal for each login session.
``i3'`
  String to initialize the terminal for each login session.
``ic'`
  String to insert one character position at the cursor.
``IC'`
  String to insert n character positions at the cursor.
``if'`
  String naming a file of commands to initialize the terminal.
``im'`
  String to enter insert mode.
``in'`
  Flag: outputting a space is different from moving over empty positions.
``ip'`
  String to output following an inserted character in insert mode.
``is'`
  String to initialize the terminal for each login session.
``it'`
  Number: initial spacing between hardware tab stop columns.
``k0'`
  String of input sent by function key 0 or 10.
``k1 ... k9'`
  Strings of input sent by function keys 1 through 9.
``K1 ... K5'`
  Strings sent by the five other keys in 3-by-3 array with arrows.
``ka'`
  String of input sent by the "clear all tabs" key.
``kA'`
  String of input sent by the "insert line" key.
``kb'`
  String of input sent by the "backspace" key.
``kC'`
  String of input sent by the "clear screen" key.
``kd'`
  String of input sent by typing the down-arrow key.
``kD'`
  String of input sent by the "delete character" key.
``ke'`
  String to make the function keys work locally.
``kE'`
  String of input sent by the "clear to end of line" key.
``kF'`
  String of input sent by the "scroll forward" key.
``kh'`
  String of input sent by typing the "home-position" key.
``kH'`
  String of input sent by the "home down" key.
``kI'`
  String of input sent by the "insert character" or "enter insert mode" key.
``kl'`
  String of input sent by typing the left-arrow key.
``kL'`
  String of input sent by the "delete line" key.
``km'`
  Flag: the terminal has a Meta key.
``kM'`
  String of input sent by the "exit insert mode" key.
``kn'`
  Numeric value, the number of numbered function keys.
``kN'`
  String of input sent by the "next page" key.
``ko'`
  Very obsolete string listing the terminal's named function keys.
``kP'`
  String of input sent by the "previous page" key.
``kr'`
  String of input sent by typing the right-arrow key.
``kR'`
  String of input sent by the "scroll reverse" key.
``ks'`
  String to make the function keys transmit.
``kS'`
  String of input sent by the "clear to end of screen" key.
``kt'`
  String of input sent by the "clear tab stop this column" key.
``kT'`
  String of input sent by the "set tab stop in this column" key.
``ku'`
  String of input sent by typing the up-arrow key.
``l0'`
  String on keyboard labelling function key 0 or 10.
``l1 ... l9'`
  Strings on keyboard labelling function keys 1 through 9.
``le'`
  String to move the cursor left one column.
``LE'`
  String to move cursor left n columns.
``li'`
  Number: height of the screen.
``ll'`
  String to position cursor at lower left corner.
``lm'`
  Number: lines of display memory.
``LP'`
  Flag: writing to last column of last line will not scroll.
``mb'`
  String to enter blinking mode.
``md'`
  String to enter double-bright mode.
``me'`
  String to turn off all appearance modes
``mh'`
  String to enter half-bright mode.
``mi'`
  Flag: cursor motion in insert mode is safe.
``mk'`
  String to enter invisible mode.
``mm'`
  String to enable the functioning of the Meta key.
``mo'`
  String to disable the functioning of the Meta key.
``mp'`
  String to enter protected mode.
``mr'`
  String to enter reverse-video mode.
``ms'`
  Flag: cursor motion in standout mode is safe.
``nc'`
  Obsolete flag: do not use ASCII carriage-return on this terminal.
``nd'`
  String to move the cursor right one column.
``NF'`
  Flag: do not use XON/XOFF flow control.
``nl'`
  Obsolete alternative name for the ``do'` and ``sf'` capabilities.
``ns'`
  Flag: the terminal does not normally scroll for sequential output.
``nw'`
  String to move to start of next line, possibly clearing rest of old line.
``os'`
  Flag: terminal can overstrike.
``pb'`
  Number: the lowest baud rate at which padding is actually needed.
``pc'`
  String containing character for padding.
``pf'`
  String to terminate redirection of output to the printer.
``po'`
  String to redirect further output to the printer.
``pO'`
  String to redirect n characters ofoutput to the printer.
``ps'`
  String to print the screen on the attached printer.
``rc'`
  String to move to last saved cursor position.
``RI'`
  String to move cursor right n columns.
``rp'`
  String to output character c repeated n times.
``rs'`
  String to reset the terminal from any strange modes.
``sa'`
  String to turn on an arbitrary combination of appearance modes.
``sc'`
  String to save the current cursor position.
``se'`
  String to leave standout mode.
``sf'`
  String to scroll the screen one line up.
``SF'`
  String to scroll the screen n lines up.
``sg'`
  Number: width of magic standout cookie. Absent if magic cookies are not used.
``so'`
  String to enter standout mode.
``sr'`
  String to scroll the screen one line down.
``SR'`
  String to scroll the screen n line down.
``st'`
  String to set tab stop at current cursor column on all lines. programs.
``ta'`
  String to move the cursor right to the next hardware tab stop column.
``te'`
  String to return terminal to settings for sequential output.
``ti'`
  String to initialize terminal for random cursor motion.
``ts'`
  String to move the terminal cursor into the status line.
``uc'`
  String to underline one character and move cursor right.
``ue'`
  String to turn off underline mode
``ug'`
  Number: width of underlining magic cookie. Absent if underlining doesn't use magic cookies.
``ul'`
  Flag: underline by overstriking with an underscore.
``up'`
  String to move the cursor vertically up one line.
``UP'`
  String to move cursor vertically up n lines.
``us'`
  String to turn on underline mode
``vb'`
  String to make the screen flash.
``ve'`
  String to return the cursor to normal.
``vi'`
  String to make the cursor invisible.
``vs'`
  String to enhance the cursor.
``wi'`
  String to set the terminal output screen window.
``ws'`
  Number: the width of the status line.
``xb'`
  Flag: superbee terminal.
``xn'`
  Flag: cursor wraps in a strange way.
``xs'`
  Flag: clearing a line is the only way to clear the appearance modes of positions in that line (or, only way to remove magic cookies on that line).
``xt'`
  Flag: Teleray 1061; several strange characteristics.

Go to the first, previous, next, last section, table of contents.