| TERMCAP(5) | AerieBSD 1.0 Refernce Manual | TERMCAP(5) |
| ae | str | (P) | End alternate character set. | |
| AL | str | (NP*) | Add | |
| al | str | (P*) | Add new blank line. | |
| am | bool | Terminal has automatic margins. | ||
| as | str | (P) | Start alternate character set. | |
| bc | str | (o) | Backspace if not | |
| bl | str | (P) | Audible signal (bell). | |
| bs | bool | (o) | Terminal can backspace with | |
| bt | str | (P) | Back tab. | |
| bw | bool | \&le | ||
| CC | str | Terminal settable command character in prototype. | ||
| cd | str | (P*) | Clear to end of display. | |
| ce | str | (P) | Clear to end of line. | |
| ch | str | (NP) | Set cursor column (horizontal position). | |
| cl | str | (P*) | Clear screen and home cursor. | |
| CM | str | (NP) | Memory-relative cursor addressing. | |
| cm | str | (NP) | Screen-relative cursor motion. | |
| co | num | Number of columns in a line (see | ||
| cr | str | (P) | Carriage return. | |
| cs | str | (NP) | Change scrolling region (VT100). | |
| ct | str | (P) | Clear all tab stops. | |
| cv | str | (NP) | Set cursor row (vertical position). | |
| da | bool | Display may be retained above the screen. | ||
| dB | num | (o) | Milliseconds | |
| db | bool | Display may be retained below the screen. | ||
| DC | str | (NP*) | Delete | |
| dC | num | (o) | Milliseconds | |
| dc | str | (P*) | Delete character. | |
| dF | num | (o) | Milliseconds | |
| DL | str | (NP*) | Delete | |
| dl | str | (P*) | Delete line. | |
| dm | str | Enter delete mode. | ||
| dN | num | (o) | Milliseconds | |
| DO | str | (NP*) | Move cursor down: | |
| do | str | Down one line. | ||
| ds | str | Disable status line. | ||
| dT | num | (o) | Milliseconds of horizontal tab delay needed (default 0). | |
| dV | num | (o) | Milliseconds of vertical tab delay needed (default 0). | |
| ec | str | (NP) | Erase | |
| ed | str | End delete mode. | ||
| ei | str | End insert mode. | ||
| eo | bool | Can erase overstrikes with a blank. | ||
| EP | bool | (o) | Even parity. | |
| es | bool | Escape can be used on the status line. | ||
| ff | str | (P*) | Hardcopy terminal page eject. | |
| fs | str | Return from status line. | ||
| gn | bool | Generic line type, for example dialup, switch). | ||
| hc | bool | Hardcopy terminal. | ||
| HD | bool | (o) | Half-duplex. | |
| hd | str | Half-line down (forward 1/2 linefeed). | ||
| ho | str | (P) | Home cursor. | |
| hs | bool | Has extra | ||
| hu | str | Half-line up (reverse 1/2 linefeed). | ||
| hz | bool | Cannot print ``~'' (Hazeltine). | ||
| i1-i3 | str | Terminal initialization strings | ||
| IC | str | (NP*) | Insert | |
| ic | str | (P*) | Insert character. | |
| if | str | Name of file containing initialization string. | ||
| im | str | Enter insert mode. | ||
| in | bool | Insert mode distinguishes nulls. | ||
| iP | str | Pathname of program for initialization | ||
| ip | str | (P*) | Insert pad after character inserted. | |
| is | str | Terminal initialization string | ||
| it | num | Tabs initially every | ||
| K1 | str | Sent by keypad upper left. | ||
| K2 | str | Sent by keypad center. | ||
| K3 | str | Sent by keypad upper right. | ||
| K4 | str | Sent by keypad lower left. | ||
| K5 | str | Sent by keypad lower right. | ||
| k0-k9 | str | Sent by function keys 0-9. | ||
| kA | str | Sent by insert-line key. | ||
| ka | str | Sent by clear-all-tabs key. | ||
| kb | str | Sent by backspace key. | ||
| kC | str | Sent by clear-screen or erase key. | ||
| kD | str | Sent by delete-character key. | ||
| kd | str | Sent by down-arrow key. | ||
| kE | str | Sent by clear-to-end-of-line key. | ||
| ke | str | Out of | ||
| kF | str | Sent by scroll-forward/down key. | ||
| kH | str | Sent by home-down key. | ||
| kh | str | Sent by home key. | ||
| kI | str | Sent by insert-character or enter-insert-mode key. | ||
| kL | str | Sent by delete-line key. | ||
| kl | str | Sent by left-arrow key. | ||
| kM | str | Sent by insert key while in insert mode. | ||
| km | bool | Has a | ||
| kN | str | Sent by next-page key. | ||
| kn | num | (o) | Number of function | |
| ko | str | (o) | Termcap entries for other non-function keys. | |
| kP | str | Sent by previous-page key. | ||
| kR | str | Sent by scroll-backward/up key. | ||
| kr | str | Sent by right-arrow key. | ||
| kS | str | Sent by clear-to-end-of-screen key. | ||
| ks | str | Put terminal in | ||
| kT | str | Sent by set-tab key. | ||
| kt | str | Sent by clear-tab key. | ||
| ku | str | Sent by up-arrow key. | ||
| l0-l9 | str | Labels on function keys if not | ||
| LC | bool | (o) | Lower-case only. | |
| LE | str | (NP) | Move cursor left | |
| le | str | (P) | Move cursor left one position. | |
| li | num | Number of lines on screen or page (see | ||
| ll | str | Last line, first column. | ||
| lm | num | Lines of memory if > \&li | ||
| ma | str | (o) | Arrow key map (used by | |
| mb | str | Turn on blinking attribute. | ||
| md | str | Turn on bold (extra bright) attribute. | ||
| me | str | Turn off all attributes. | ||
| mh | str | Turn on half-bright attribute. | ||
| mi | bool | Safe to move while in insert mode. | ||
| mk | str | Turn on blank attribute (characters invisible). | ||
| ml | str | (o) | Memory lock on above cursor. | |
| mm | str | Turn on | ||
| mo | str | Turn off | ||
| mp | str | Turn on protected attribute. | ||
| mr | str | Turn on reverse-video attribute. | ||
| ms | bool | Safe to move in standout modes. | ||
| mu | str | (o) | Memory unlock (turn off memory lock). | |
| nc | bool | (o) | correctly-working | |
| nd | str | Non-destructive space (cursor right). | ||
| NL | bool | (o) | \&\en is newline, not line feed. | |
| nl | str | (o) | Newline character if not \en. | |
| ns | bool | (o) | Terminal doesn't scroll. | |
| nw | str | (P) | Newline (behaves like | |
| OP | bool | (o) | Odd parity. | |
| os | bool | Terminal overstrikes. | ||
| pb | num | Lowest baud where delays are required. | ||
| pc | str | Pad character (default NUL). | ||
| pf | str | Turn off the printer. | ||
| pk | str | Program function key | ||
| pl | str | Program function key | ||
| pO | str | (N) | Turn on the printer for | |
| po | str | Turn on the printer. | ||
| ps | str | Print contents of the screen. | ||
| pt | bool | (o) | Has hardware tabs (may need to be set with | |
| px | str | Program function key | ||
| r1-r3 | str | Reset terminal completely to sane modes | ||
| rc | str | (P) | Restore cursor to position of last | |
| rf | str | Name of file containing reset codes. | ||
| RI | str | (NP) | Move cursor right | |
| rp | str | (NP*) | Repeat character | |
| rs | str | Reset terminal completely to sane modes | ||
| sa | str | (NP) | Define the video attributes. | |
| sc | str | (P) | Save cursor position. | |
| se | str | End standout mode. | ||
| SF | str | (NP*) | Scroll forward | |
| sf | str | (P) | Scroll text up. | |
| sg | num | Number of garbage chars left by | ||
| so | str | Begin standout mode. | ||
| SR | str | (NP*) | Scroll backward | |
| sr | str | (P) | Scroll text down. | |
| st | str | Set a tab in all rows, current column. | ||
| ta | str | (P) | Tab to next 8-position hardware tab stop. | |
| tc | str | Entry of similar terminal; must be last. | ||
| te | str | String to end programs that use | ||
| ti | str | String to begin programs that use | ||
| ts | str | (N) | Go to status line, column | |
| UC | bool | (o) | Upper-case only. | |
| uc | str | Underscore one character and move past it. | ||
| ue | str | End underscore mode. | ||
| ug | num | Number of garbage chars left by | ||
| ul | bool | Underline character overstrikes. | ||
| UP | str | (NP*) | Move cursor up | |
| up | str | Upline (cursor up). | ||
| us | str | Start underscore mode. | ||
| vb | str | Visible bell (must not move cursor). | ||
| ve | str | Make cursor appear normal (undo | ||
| vi | str | Make cursor invisible. | ||
| vs | str | Make cursor very visible. | ||
| vt | num | Virtual terminal number (not supported on all systems). | ||
| wi | str | (N) | Set current window. | |
| ws | num | Number of columns in status line. | ||
| xb | bool | Beehive | ||
| xn | bool | Newline ignored after 80 columns (Concept). | ||
| xo | bool | Terminal uses xoff/xon | ||
| xr | bool | (o) | Return acts like | |
| xs | bool | Standout not erased by overwriting (Hewlett-Packard). | ||
| xt | bool | Tabs ruin, magic | ||
| xx | bool | (o) | Tektronix 4025 insert-line. |
ca\||\|concept100\||\|c100\||\|concept\||\|c104\||\|concept100-4p\||\|HDS Concept\-100:\e :al=3*\eE^R:am:bl=^G:cd=16*\eE^C:ce=16\eE^U:cl=2*^L:cm=\eEa%+ %+ :\e :co#80:.cr=9^M:db:dc=16\eE^A:dl=3*\eE^B:do=^J:ei=\eE\e200:eo:im=\eE^P:in:\e :ip=16*:is=\eEU\eEf\eE7\eE5\eE8\eEl\eENH\eEK\eE\e200\eEo&\e200\eEo\e47\eE:k1=\eE5:\e :k2=\eE6:k3=\eE7:kb=^h:kd=\eE<:ke=\eEx:kh=\eE?:kl=\eE>:kr=\eE=:ks=\eEX:\e :ku=\eE;:le=^H:li#24:mb=\eEC:me=\eEN\e200:mh=\eEE:mi:mk=\eEH:mp=\eEI:\e :mr=\eED:nd=\eE=:pb#9600:rp=0.2*\eEr%.%+ :se=\eEd\eEe:sf=^J:so=\eEE\eED:\e :.ta=8\et:te=\eEv \e200\e200\e200\e200\e200\e200\eEp\er\en:\e :ti=\eEU\eEv 8p\eEp\er:ue=\eEg:ul:up=\eE;:us=\eEG:\e :vb=\eEk\e200\e200\e200\e200\e200\e200\e200\e200\e200\e200\e200\e200\e200\e200\eEK:\e :ve=\eEw:vs=\eEW:vt#8:xn:\e :bs:cr=^M:dC#9:dT#8:nl=^J:ta=^I:pt:
Entries may continue onto multiple lines by giving a "\e" as the last character of a line, and empty fields may be included for readability (here between the last field on a line and the first field on the next). Comments may be included on lines beginning with "#".
T3\||\|tty33\||\|33\||\|tty\||\|Teletype model 33:\e :bl=^G:co#72:cr=^M:do=^J:hc:os:
and the Lear Siegler ADM is described as
l3\||\|adm3\||\|3\||\|LSI \s-1ADM\s0-3:\e :am:bl=^G:cl=^Z:co#80:cr=^M:do=^J:le=^H:li#24:sf=^J:
| %% | output `%' |
| %d | output value as in |
| %2 | output value as in |
| %3 | output value as in |
| %. | output value as in |
| %+ | |
| %> | |
| %r | reverse order of two parameters, no output |
| %i | increment by one, no output |
| %n | exclusive-or all parameters with 0140 (Datamedia 2500) |
| \&%B | BCD (16*(value/10)) + (value%10), no output |
| \&%D | Reverse coding (value \- 2*(value%16)), no output (Delta Data). |
hn\||\|2621\-nl:ks@:ke@:tc=2621:
defines a 2621\-nl that does not have the \&ks or \&ke capabilities, hence does not turn on the function key labels when in visual mode. This is useful for different modes for a terminal, or for different user preferences.
| AerieBSD 1.0 Reference Manual | August 26 2008 | TERMCAP(5) |