terminfo(M)


terminfo -- terminal capability database

Syntax

/usr/lib/terminfo/?/*

Description

terminfo is a compiled database (see tic(C)) describing the capabilities of terminals. Terminals are described in terminfo source descriptions by giving a set of capabilities which they have, by describing how operations are performed, by describing padding requirements, and by specifying initialization sequences. This database is used, for example, by vi(C) and curses(S), so they can work with a variety of terminals without changes to the programs. To obtain the source description for a terminal, use the -I option of infocmp(ADM). When doing an infocmp for the terminal you are on, there is no difference between infocmp and infocmp -I.

Entries in terminfo source files consist of a number of fields separated by commas. White space after each comma is ignored. The first line of each terminal description in the terminfo database gives the name by which terminfo knows the terminal, separated by bar (|) characters. The first name given is the most common abbreviation for the terminal (this is the one to use to set the environment variable TERM in $HOME .profile; see profile(M)); the last name given should be a long name fully identifying the terminal, and all others are understood as synonyms for the terminal name. All names but the last should contain no blanks and must be unique in the first 14 characters; the last name may contain blanks for readability.

Terminal names (except for the last verbose entry) should be chosen using the following conventions. The particular piece of hardware making up the terminal should have a root name chosen, for example, for the AT&T 4425 terminal, att4425. Modes that the hardware can be in, or user preferences, should be indicated by appending a hyphen and an indicator of the mode. See term(M) for examples and more information on choosing names and synonyms.

Part 1: Terminal capabilities

Capabilities in terminfo are of three types: boolean capabilities (which show that the terminal has some particular feature), numeric capabilities (which specify the size of the terminal or particular features), and string capabilities (which provide a sequence that can be used to perform particular terminal operations).

In the following tables, a ``Variable'' is the name by which a C programmer accesses a capability (at the terminfo level). A ``Capname'' is the short name for a capability used in the source description. It is used by a person updating the database and by the tput(C) command when asking what the value of the capability is for a particular terminal. A ``Termcap Code'' is a two-letter code that corresponds to the old termcap capability name.

Capability names have no hard length limit, but an informal limit of five characters has been adopted to keep them short. Whenever possible, names are chosen to be the same as or similar to those specified by the ANSI X3.64-1979 standard. Semantics are also intended to match those of the ANSI standard.

All string capabilities listed below may have padding specified, with the exception of those used for input. Input capabilities, listed under the ``Strings'' section in the following table, have names beginning with key_. The following indicators may appear at the end of the ``Description'' for a variable.


(G)
indicates that the string is passed through tparm() with parameters (parms) as given (#[i])

(*)
indicates that padding may be based on the number of lines affected

(#[i])
indicates the i[th] parameter

(**)
not present in all versions of termcap

Booleans ordered by variable name

Variable Cap- Termcap Description
name code  
auto_left_margin bw bw cub1 wraps from column 0 to last column
auto_right_margin am am Terminal has automatic margins
back_color_erase bce be Screen erased with background color
can_change ccc cc Terminal can re-define existing color
ceol_standout_glitch xhp xs Standout not erased by overwriting (hp)
col_addr_glitch xhpa YA Only positive motion for hpa/mhpa caps
cpi_changes_res cpix YF Changing character pitch changes
resolution
cr_cancels_micro_mode crxm YB Using cr turns off micro mode
eat_newline_glitch xenl xn Newline ignored after 80 columns
(Concept)
erase_overstrike eo eo Can erase overstrikes with a blank
generic_type gn gn Generic line type (for example, dialup,
switch)
hard_copy hc hc Hardcopy terminal
hard_cursor chts HC Cursor is hard to see
has_meta_key km km Has a meta key (shift, sets parity bit)
has_print_wheel daisy YC Printer needs operator to change character set
has_status_line hs hs Has extra ``status line''
hue_lightness_saturation hls hl
color notation (Tektronix)
insert_null_glitch in in Insert mode distinguishes nulls
lpi_changes_res lpix YG Changing line pitch changes resolution
memory_above da da Display may be retained above the screen
memory_below db db Display may be retained below the screen
move_insert_mode mir mi Safe to move while in insert mode
move_standout_mode msgr ms Safe to move in standout modes
needs_xon_xoff nxon nx Padding won't work, xon/xoff required
no_esc_ctlc xsb xb Beehive (f1=escape, f2=ctrl C)
no_pad_char npc NP Pad character doesn't exist
non_dest_scroll_region ndscr ND Scrolling region is non-destructive
non_rev_rmcup nrrmc NR smcup does not reverse rmcup
over_strike os os Terminal overstrikes on hard-copy terminal
prtr_silent mc5i    
row_addr_glitch xvpa YD Only positive motion for vpa/mvpa caps
semi_auto_right_margin sam YE Printing in last column causes cr
status_line_esc_ok eslok es Escape can be used on the status line
dest_tabs_magic_smso xt xt Destructive tabs, magic smso char (t1061)
tilde_glitch hz hz Hazeltine; cannot print tilde (~)
transparent_underline ul ul Underline character overstrikes
xon_xoff xon xo Terminal uses xon/xoff handshaking

 Variable                   Cap-    Termcap   Description
                            name    code
 auto_left_margin           bw      bw        cub1 wraps from column 0 to last column
 auto_right_margin          am      am        Terminal has automatic margins
 back_color_erase           bce     be        Screen erased with background color
 can_change                 ccc     cc        Terminal can re-define existing color
 ceol_standout_glitch       xhp     xs        Standout not erased by overwriting (hp)
 col_addr_glitch            xhpa    YA        Only positive motion for hpa/mhpa caps
 cpi_changes_res            cpix    YF        Changing character pitch changes
                                              resolution
 cr_cancels_micro_mode      crxm    YB        Using cr turns off micro mode
 eat_newline_glitch         xenl    xn        Newline ignored after 80 columns
                                              (Concept)
 erase_overstrike           eo      eo        Can erase overstrikes with a blank
 generic_type               gn      gn        Generic line type (for example, dialup,
                                              switch)
 hard_copy                  hc      hc        Hardcopy terminal
 hard_cursor                chts    HC        Cursor is hard to see
 has_meta_key               km      km        Has a meta key (shift, sets parity bit)
 has_print_wheel            daisy   YC        Printer needs operator to change character set
 has_status_line            hs      hs        Has extra ``status line''
 hue_lightness_saturation   hls     hl        color notation (Tektronix)
 insert_null_glitch         in      in        Insert mode distinguishes nulls
 lpi_changes_res            lpix    YG        Changing line pitch changes resolution
 memory_above               da      da        Display may be retained above the screen
 memory_below               db      db        Display may be retained below the screen
 move_insert_mode           mir     mi        Safe to move while in insert mode
 move_standout_mode         msgr    ms        Safe to move in standout modes
 needs_xon_xoff             nxon    nx        Padding won't work, xon/xoff required
 no_esc_ctlc                xsb     xb        Beehive (f1=escape, f2=ctrl C)
 no_pad_char                npc     NP        Pad character doesn't exist
 non_dest_scroll_region     ndscr   ND        Scrolling region is non-destructive
 non_rev_rmcup              nrrmc   NR        smcup does not reverse rmcup
 over_strike                os      os        Terminal overstrikes on hard-copy terminal
 prtr_silent                mc5i
 row_addr_glitch            xvpa    YD        Only positive motion for vpa/mvpa caps
 semi_auto_right_margin     sam     YE        Printing in last column causes cr
 status_line_esc_ok         eslok   es        Escape can be used on the status line
 dest_tabs_magic_smso       xt      xt        Destructive tabs, magic smso char (t1061)
 tilde_glitch               hz      hz        Hazeltine; cannot print tilde (~)
 transparent_underline      ul      ul        Underline character overstrikes
 xon_xoff                   xon     xo        Terminal uses xon/xoff handshaking
Numbers ordered by variable name

Variable Cap- Termcap Description
name code  
buffer_capacity bufsz Ya Number of bytes buffered before printing
columns cols co Number of columns in a line
dot_vert_spacing spinv Yb Spacing of pins vertically in pins per inch
dot_horz_spacing spinh Yc Spacing of dots horizontally in dots per inch
init_tabs it it Tabs initially every # spaces
label_height lh lh Number of rows in each label
label_width lw lw Number of columns in each label
lines lines li Number of lines on a screen or a page
lines_of_memory lm lm Lines of memory if > lines; 0 means varies
magic_cookie_glitch xmc sg Number of blank characters left by smso or rmso
max_attributes ma ma Maximum combined video attributes
terminal can display
max_colors colors Co Maximum number of colors on the screen
max_micro_address maddr Yd Maximum value in micro_..._address
max_micro_jump mjump Ye Maximum value in parm_..._micro
max_pairs pairs pa Maximum number of color-pairs on the screen
maximum_windows wnum MW Maximum number of definable windows
micro_col_size mcs Yf Character step size when in micro mode
micro_line_size mls Yg Line step size when in micro mode
no_color_video ncv NC Video attributes that can't be used with colors
number_of_pins npins Yh Number of pins in print-head
num_labels nlab Nl Number of labels on screen (start at 1)
output_res_char orc Yi Horizontal resolution in units per character
output_res_line orl Yj Vertical resolution in units per line
output_res_horz_inch orhi Yk Horizontal resolution in units per inch
output_res_vert_inch orvi Yl Vertical resolution in units per inch
padding_baud_rate pb pb Lowest baud rate where padding needed
print_rate cps Ym Print rate in characters per second
virtual_terminal vt vt Virtual terminal number (UNIX system)
wide_char_size widcs Yn Character step size when in double wide mode
width_status_line wsl ws Number of columns in status line

 Variable               Cap-     Termcap   Description
                        name     code
 buffer_capacity        bufsz    Ya        Number of bytes buffered before printing
 columns                cols     co        Number of columns in a line
 dot_vert_spacing       spinv    Yb        Spacing of pins vertically in pins per inch
 dot_horz_spacing       spinh    Yc        Spacing of dots horizontally in dots per inch
 init_tabs              it       it        Tabs initially every # spaces
 label_height           lh       lh        Number of rows in each label
 label_width            lw       lw        Number of columns in each label
 lines                  lines    li        Number of lines on a screen or a page
 lines_of_memory        lm       lm        Lines of memory if > lines; 0 means varies
 magic_cookie_glitch    xmc      sg        Number of blank characters left by smso or rmso
 max_attributes         ma       ma        Maximum combined video attributes
                                           terminal can display
 max_colors             colors   Co        Maximum number of colors on the screen
 max_micro_address      maddr    Yd        Maximum value in micro_..._address
 max_micro_jump         mjump    Ye        Maximum value in parm_..._micro
 max_pairs              pairs    pa        Maximum number of color-pairs on the screen
 maximum_windows        wnum     MW        Maximum number of definable windows
 micro_col_size         mcs      Yf        Character step size when in micro mode
 micro_line_size        mls      Yg        Line step size when in micro mode
 no_color_video         ncv      NC        Video attributes that can't be used with colors
 number_of_pins         npins    Yh        Number of pins in print-head
 num_labels             nlab     Nl        Number of labels on screen (start at 1)
 output_res_char        orc      Yi        Horizontal resolution in units per character
 output_res_line        orl      Yj        Vertical resolution in units per line
 output_res_horz_inch   orhi     Yk        Horizontal resolution in units per inch
 output_res_vert_inch   orvi     Yl        Vertical resolution in units per inch
 padding_baud_rate      pb       pb        Lowest baud rate where padding needed
 print_rate             cps      Ym        Print rate in characters per second
 virtual_terminal       vt       vt        Virtual terminal number (UNIX system)
 wide_char_size         widcs    Yn        Character step size when in double wide mode
 width_status_line      wsl      ws        Number of columns in status line
Strings ordered by variable name

Variable Cap- Termcap Description
name code  
acs_chars acsc ac Graphic charset pairs aAbBcC - def=vt100
back_tab cbt bt Back tab
bell bel bl Audible signal (bell)
carriage_return cr cr Carriage return (*)
change_char_pitch cpi ZA Change number of characters per inch(**)
change_line_pitch lpi ZB Change number of lines per inch(**)
change_res_horz chr ZC Change horizontal resolution(**)
change_res_vert cvr ZD Change vertical resolution(**)
change_scroll_region csr cs Change to lines #1 through #2 (vt100) (G)
char_padding rmp rP Like ip but when in replace mode
char_set_names csnm Zy List of character set names
clear_all_tabs tbc ct Clear all tab stops
clear_margins mgc MC Clear all margins (top, bottom, and sides)
clear_screen clear cl Clear screen and home cursor (*)
clr_bol el1 cb Clear to beginning of line, inclusive
clr_eol el ce Clear to end of line
clr_eos ed cd Clear to end of display (*)
column_address hpa ch Horizontal position absolute (G)
command_character cmdch CC Terminal settable cmd character in prototype
create_window cwin CW Define win #1 to go from #2,#3 to #4,#5
cursor_address cup cm Move to row #1 col #2 (G)
cursor_down cud1 do Down one line
cursor_home home ho Home cursor (if no cup)
cursor_invisible civis vi Make cursor invisible
cursor_left cub1 le Move left one space
cursor_mem_address mrcup CM Memory relative cursor addressing (G)
cursor_normal cnorm ve Make cursor appear normal (undo vs/vi)
cursor_right cuf1 nd Non-destructive space
(cursor or carriage right)
cursor_to_ll ll ll Last line, first column (if no cup)
cursor_up cuu1 up Upline (cursor up)
cursor_visible cvvis vs Make cursor very visible
define_char defc ZE Define a character in a character set (**)
delete_character dch1 dc Delete character (*)
delete_line dl1 dl Delete line (*)
delete_phone dial DI Dial phone number #1
dis_status_line dsl ds Disable status line
display_clock dclk DK Display time-of-day clock
display_pc_char dispc S1 Displays PC character
down_half_line hd hd Half-line down (forward 1/2 linefeed)
ena_acs enacs eA Enable alternate character set
enter_alt_charset_mode smacs as Start alternate character set
enter_am_mode smam SA Turn on automatic margins
enter_blink_mode blink mb Turn on blinking
enter_bold_mode bold md Turn on bold (extra bright) mode
enter_ca_mode smcup ti String to begin programs that use cup
enter_delete_mode smdc dm Delete mode (enter)
enter_dim_mode dim mh Turn on half-bright mode
enter_doublewide_mode swidm ZF Enable double wide printing
enter_draft_quality sdrfq ZG Set draft quality print
enter_insert_mode smir im Insert mode (enter)
enter_italics_mode sitm ZH Enable italics
enter_leftward_mode slm ZI Enable leftward carriage motion
enter_micro_mode smicm ZJ Enable micro motion capabilities
enter_near_letter_quality snlq ZK Set near-letter quality print
enter_normal_quality snrmq ZL Set normal quality print
enter_pc_charset_mode smsc S4 Enables PC-scancode mode
enter_protected_mode prot mp Turn on protected mode
enter_reverse_mode rev mr Turn on reverse video mode
enter_secure_mode invis mk Turn on blank mode (characters invisible)
enter_shadow_mode sshm ZM Enable shadow printing
enter_standout_mode smso so Begin standout mode
enter_subscript_mode ssubm ZN Enable subscript printing
enter_superscript_mode ssupm ZO Enable superscript printing
enter_underline_mode smul us Start underscore mode
enter_upward_mode sum ZP Enable upward carriage motion
enter_xon_mode smxon SX Turn on xon/xoff handshaking
erase_chars ech ec Erase #1 characters (G)
exit_alt_charset_mode rmacs ae End alternate character set
exit_am_mode rmam RA Turn off automatic margins
exit_attribute_mode sgr0 me Turn off all attributes
exit_ca_mode rmcup te String to end programs that use cup
exit_delete_mode rmdc ed End delete mode
exit_doublewide_mode rwidm ZQ Disable double wide printing
exit_insert_mode rmir ei End insert mode
exit_italics_mode ritm ZR Disable italics
exit_leftward_mode rlm ZS Enable rightward (normal) carriage motion
exit_micro_mode rmicm ZT Disable micro motion capabilities
exit_pc_charset_mode rmsc S5 Disables PC-scancode mode
exit_shadow_mode rshm ZU Disable shadow printing
exit_standout_mode rmso se End standout mode
exit_subscript_mode rsubm ZV Disable subscript printing
exit_superscript_mode rsupm ZW Disable superscript printing
exit_underline_mode rmul ue End underscore mode
exit_upward_mode rum ZX Enable downward (normal) carriage motion
exit_xon_mode rmxon RX Turn off xon/xoff handshaking
fixed_pause pause PA Pause for 2-3 seconds
flash_hook hook fh Flash the switch hook
flash_screen flash vb Visible bell (may not move cursor)
form_feed ff ff Hardcopy terminal page eject (*)
from_status_line fsl fs Return from status line
goto_window wingo WG Got to window #1
hangup hup HU Hang-up phone
init_1string is1 i1 Terminal or printer initialization string
init_2string is2 is Terminal or printer initialization string
init_3string is3 i3 Terminal or printer initialization string
init_file if if Name of initialization file
init_prog iprog iP Path name of program for initialization
initialize_color initc Ic Initialize the definition of color
initialize_pair initp Ip Initialize color-pair
insert_character ich1 ic Insert character
insert_line il1 al Add new blank line (*)
insert_padding ip ip Insert pad after character inserted (*)
key_a1 ka1 K1 KEY_A1, 0534, upper left of keypad
key_a3 ka3 K3 KEY_A3, 0535, upper right of keypad
key_b2 kb2 K2 KEY_B2, 0536, center of keypad
key_backspace kbs kb KEY_BACKSPACE, 0407,
sent by backspace key
key_beg kbeg @1 KEY_BEG, 0542, sent by beg(inning) key
key_btab kcbt kB KEY_BTAB, 0541, sent by back-tab key
key_c1 kc1 K4 KEY_C1, 0537, lower left of keypad
key_c3 kc3 K5 KEY_C3, 0540, lower right of keypad
key_cancel kcan @2 KEY_CANCEL, 0543, sent by cancel key
key_catab ktbc ka KEY_CATAB, 0526, sent by clear-all-tabs key
key_clear kclr kC KEY_CLEAR, 0515, sent by clear-screen
or erase key
key_close kclo @3 KEY_CLOSE, 0544, sent by close key
key_command kcmd @4 KEY_COMMAND, 0545,
sent by cmd (command) key
key_copy kcpy @5 KEY_COPY, 0546, sent by copy key
key_create kcrt @6 KEY_CREATE, 0547, sent by create key
key_ctab kctab kt KEY_CTAB, 0525, sent by clear-tab key
key_dc kdch1 kD KEY_DC, 0512, sent by delete-character key
key_dl kdl1 kL KEY_DL, 0510, sent by delete-line key
key_down kcud1 kd KEY_DOWN, 0402, sent by terminal
down-arrow key
key_eic krmir kM KEY_EIC, 0514, sent by rmir
or smir in insert mode
key_end kend @7 KEY_END, 0550, sent by end key
key_enter kent @8 KEY_ENTER, 0527, sent by enter/send key
key_eol kel kE KEY_EOL, 0517, sent by clear-to-end-of-line key
key_eos ked kS KEY_EOS, 0516, sent by
clear-to-end-of-screen key
key_exit kext @9 KEY_EXIT, 0551, sent by exit key
key_f0 kf0 k0 KEY_F(0), 0410, sent by function key f0
key_f1 kf1 k1 KEY_F(1), 0411, sent by function key f1
key_f2 kf2 k2 KEY_F(2), 0412, sent by function key f2
key_f3 kf3 k3 KEY_F(3), 0413, sent by function key f3
key_f4 kf4 k4 KEY_F(4), 0414, sent by function key f4
key_f5 kf5 k5 KEY_F(5), 0415, sent by function key f5
key_f6 kf6 k6 KEY_F(6), 0416, sent by function key f6
key_f7 kf7 k7 KEY_F(7), 0417, sent by function key f7
key_f8 kf8 k8 KEY_F(8), 0420, sent by function key f8
key_f9 kf9 k9 KEY_F(9), 0421, sent by function key f9
key_f10 kf10 k; KEY_F(10), 0422, sent by function key f10
key_f11 kf11 F1 KEY_F(11), 0423, sent by function key f11
key_f12 kf12 F2 KEY_F(12), 0424, sent by function key f12
key_f13 kf13 F3 KEY_F(13), 0425, sent by function key f13
key_f14 kf14 F4 KEY_F(14), 0426, sent by function key f14
key_f15 kf15 F5 KEY_F(15), 0427, sent by function key f15
key_f16 kf16 F6 KEY_F(16), 0430, sent by function key f16
key_f17 kf17 F7 KEY_F(17), 0431, sent by function key f17
key_f18 kf18 F8 KEY_F(18), 0432, sent by function key f18
key_f19 kf19 F9 KEY_F(19), 0433, sent by function key f19
key_f20 kf20 FA KEY_F(20), 0434, sent by function key f20
key_f21 kf21 FB KEY_F(21), 0435, sent by function key f21
key_f22 kf22 FC KEY_F(22), 0436, sent by function key f22
key_f23 kf23 FD KEY_F(23), 0437, sent by function key f23
key_f24 kf24 FE KEY_F(24), 0440, sent by function key f24
key_f25 kf25 FF KEY_F(25), 0441, sent by function key f25
key_f26 kf26 FG KEY_F(26), 0442, sent by function key f26
key_f27 kf27 FH KEY_F(27), 0443, sent by function key f27
key_f28 kf28 FI KEY_F(28), 0444, sent by function key f28
key_f29 kf29 FJ KEY_F(29), 0445, sent by function key f29
key_f30 kf30 FK KEY_F(30), 0446, sent by function key f30
key_f31 kf31 FL KEY_F(31), 0447, sent by function key f31
key_f32 kf32 FM KEY_F(32), 0450, sent by function key f32
key_f33 kf33 FN KEY_F(33), 0451, sent by function key f13
key_f34 kf34 FO KEY_F(34), 0452, sent by function key f34
key_f35 kf35 FP KEY_F(35), 0453, sent by function key f35
key_f36 kf36 FQ KEY_F(36), 0454, sent by function key f36
key_f37 kf37 FR KEY_F(37), 0455, sent by function key f37
key_f38 kf38 FS KEY_F(38), 0456, sent by function key f38
key_f39 kf39 FT KEY_F(39), 0457, sent by function key f39
key_f40 kf40 FU KEY_F(40), 0460, sent by function key f40
key_f41 kf41 FV KEY_F(41), 0461, sent by function key f41
key_f42 kf42 FW KEY_F(42), 0462, sent by function key f42
key_f43 kf43 FX KEY_F(43), 0463, sent by function key f43

 Variable                    Cap-    Termcap   Description
                             name    code
 acs_chars                   acsc    ac        Graphic charset pairs aAbBcC - def=vt100
 back_tab                    cbt     bt        Back tab
 bell                        bel     bl        Audible signal (bell)
 carriage_return             cr      cr        Carriage return (*)
 change_char_pitch           cpi     ZA        Change number of characters per inch(**)
 change_line_pitch           lpi     ZB        Change number of lines per inch(**)
 change_res_horz             chr     ZC        Change horizontal resolution(**)
 change_res_vert             cvr     ZD        Change vertical resolution(**)
 change_scroll_region        csr     cs        Change to lines #1 through #2 (vt100) (G)
 char_padding                rmp     rP        Like ip but when in replace mode
 char_set_names              csnm    Zy        List of character set names
 clear_all_tabs              tbc     ct        Clear all tab stops
 clear_margins               mgc     MC        Clear all margins (top, bottom, and sides)
 clear_screen                clear   cl        Clear screen and home cursor (*)
 clr_bol                     el1     cb        Clear to beginning of line, inclusive
 clr_eol                     el      ce        Clear to end of line
 clr_eos                     ed      cd        Clear to end of display (*)
 column_address              hpa     ch        Horizontal position absolute (G)
 command_character           cmdch   CC        Terminal settable cmd character in prototype
 create_window               cwin    CW        Define win #1 to go from #2,#3 to #4,#5
 cursor_address              cup     cm        Move to row #1 col #2 (G)
 cursor_down                 cud1    do        Down one line
 cursor_home                 home    ho        Home cursor (if no cup)
 cursor_invisible            civis   vi        Make cursor invisible
 cursor_left                 cub1    le        Move left one space
 cursor_mem_address          mrcup   CM        Memory relative cursor addressing (G)
 cursor_normal               cnorm   ve        Make cursor appear normal (undo vs/vi)
 cursor_right                cuf1    nd        Non-destructive space
                                               (cursor or carriage right)
 cursor_to_ll                ll      ll        Last line, first column (if no cup)
 cursor_up                   cuu1    up        Upline (cursor up)
 cursor_visible              cvvis   vs        Make cursor very visible
 define_char                 defc    ZE        Define a character in a character set (**)
 delete_character            dch1    dc        Delete character (*)
 delete_line                 dl1     dl        Delete line (*)
 delete_phone                dial    DI        Dial phone number #1
 dis_status_line             dsl     ds        Disable status line
 display_clock               dclk    DK        Display time-of-day clock
 display_pc_char             dispc   S1        Displays PC character
 down_half_line              hd      hd        Half-line down (forward 1/2 linefeed)
 ena_acs                     enacs   eA        Enable alternate character set
 enter_alt_charset_mode      smacs   as        Start alternate character set
 enter_am_mode               smam    SA        Turn on automatic margins
 enter_blink_mode            blink   mb        Turn on blinking
 enter_bold_mode             bold    md        Turn on bold (extra bright) mode
 enter_ca_mode               smcup   ti        String to begin programs that use cup
 enter_delete_mode           smdc    dm        Delete mode (enter)
 enter_dim_mode              dim     mh        Turn on half-bright mode
 enter_doublewide_mode       swidm   ZF        Enable double wide printing
 enter_draft_quality         sdrfq   ZG        Set draft quality print
 enter_insert_mode           smir    im        Insert mode (enter)
 enter_italics_mode          sitm    ZH        Enable italics
 enter_leftward_mode         slm     ZI        Enable leftward carriage motion
 enter_micro_mode            smicm   ZJ        Enable micro motion capabilities
 enter_near_letter_quality   snlq    ZK        Set near-letter quality print
 enter_normal_quality        snrmq   ZL        Set normal quality print
 enter_pc_charset_mode       smsc    S4        Enables PC-scancode mode
 enter_protected_mode        prot    mp        Turn on protected mode
 enter_reverse_mode          rev     mr        Turn on reverse video mode
 enter_secure_mode           invis   mk        Turn on blank mode (characters invisible)
 enter_shadow_mode           sshm    ZM        Enable shadow printing
 enter_standout_mode         smso    so        Begin standout mode
 enter_subscript_mode        ssubm   ZN        Enable subscript printing
 enter_superscript_mode      ssupm   ZO        Enable superscript printing
 enter_underline_mode        smul    us        Start underscore mode
 enter_upward_mode           sum     ZP        Enable upward carriage motion
 enter_xon_mode              smxon   SX        Turn on xon/xoff handshaking
 erase_chars                 ech     ec        Erase #1 characters (G)
 exit_alt_charset_mode       rmacs   ae        End alternate character set
 exit_am_mode                rmam    RA        Turn off automatic margins
 exit_attribute_mode         sgr0    me        Turn off all attributes
 exit_ca_mode                rmcup   te        String to end programs that use cup
 exit_delete_mode            rmdc    ed        End delete mode
 exit_doublewide_mode        rwidm   ZQ        Disable double wide printing
 exit_insert_mode            rmir    ei        End insert mode
 exit_italics_mode           ritm    ZR        Disable italics
 exit_leftward_mode          rlm     ZS        Enable rightward (normal) carriage motion
 exit_micro_mode             rmicm   ZT        Disable micro motion capabilities
 exit_pc_charset_mode        rmsc    S5        Disables PC-scancode mode
 exit_shadow_mode            rshm    ZU        Disable shadow printing
 exit_standout_mode          rmso    se        End standout mode
 exit_subscript_mode         rsubm   ZV        Disable subscript printing
 exit_superscript_mode       rsupm   ZW        Disable superscript printing
 exit_underline_mode         rmul    ue        End underscore mode
 exit_upward_mode            rum     ZX        Enable downward (normal) carriage motion
 exit_xon_mode               rmxon   RX        Turn off xon/xoff handshaking
 fixed_pause                 pause   PA        Pause for 2-3 seconds
 flash_hook                  hook    fh        Flash the switch hook
 flash_screen                flash   vb        Visible bell (may not move cursor)
 form_feed                   ff      ff        Hardcopy terminal page eject (*)
 from_status_line            fsl     fs        Return from status line
 goto_window                 wingo   WG        Got to window #1
 hangup                      hup     HU        Hang-up phone
 init_1string                is1     i1        Terminal or printer initialization string
 init_2string                is2     is        Terminal or printer initialization string
 init_3string                is3     i3        Terminal or printer initialization string
 init_file                   if      if        Name of initialization file
 init_prog                   iprog   iP        Path name of program for initialization
 initialize_color            initc   Ic        Initialize the definition of color
 initialize_pair             initp   Ip        Initialize color-pair
 insert_character            ich1    ic        Insert character
 insert_line                 il1     al        Add new blank line (*)
 insert_padding              ip      ip        Insert pad after character inserted (*)
 key_a1                      ka1     K1        KEY_A1, 0534, upper left of keypad
 key_a3                      ka3     K3        KEY_A3, 0535, upper right of keypad
 key_b2                      kb2     K2        KEY_B2, 0536, center of keypad
 key_backspace               kbs     kb        KEY_BACKSPACE, 0407,
                                               sent by backspace key
 key_beg                     kbeg    @1        KEY_BEG, 0542, sent by beg(inning) key
 key_btab                    kcbt    kB        KEY_BTAB, 0541, sent by back-tab key
 key_c1                      kc1     K4        KEY_C1, 0537, lower left of keypad
 key_c3                      kc3     K5        KEY_C3, 0540, lower right of keypad
 key_cancel                  kcan    @2        KEY_CANCEL, 0543, sent by cancel key
 key_catab                   ktbc    ka        KEY_CATAB, 0526, sent by clear-all-tabs key
 key_clear                   kclr    kC        KEY_CLEAR, 0515, sent by clear-screen
                                               or erase key
 key_close                   kclo    @3        KEY_CLOSE, 0544, sent by close key
 key_command                 kcmd    @4        KEY_COMMAND, 0545,
                                               sent by cmd (command) key
 key_copy                    kcpy    @5        KEY_COPY, 0546, sent by copy key
 key_create                  kcrt    @6        KEY_CREATE, 0547, sent by create key
 key_ctab                    kctab   kt        KEY_CTAB, 0525, sent by clear-tab key
 key_dc                      kdch1   kD        KEY_DC, 0512, sent by delete-character key
 key_dl                      kdl1    kL        KEY_DL, 0510, sent by delete-line key
 key_down                    kcud1   kd        KEY_DOWN, 0402, sent by terminal
                                               down-arrow key
 key_eic                     krmir   kM        KEY_EIC, 0514, sent by rmir
                                               or smir in insert mode
 key_end                     kend    @7        KEY_END, 0550, sent by end key
 key_enter                   kent    @8        KEY_ENTER, 0527, sent by enter/send key
 key_eol                     kel     kE        KEY_EOL, 0517, sent by clear-to-end-of-line key
 key_eos                     ked     kS        KEY_EOS, 0516, sent by
                                               clear-to-end-of-screen key
 key_exit                    kext    @9        KEY_EXIT, 0551, sent by exit key
 key_f0                      kf0     k0        KEY_F(0), 0410, sent by function key f0
 key_f1                      kf1     k1        KEY_F(1), 0411, sent by function key f1
 key_f2                      kf2     k2        KEY_F(2), 0412, sent by function key f2
 key_f3                      kf3     k3        KEY_F(3), 0413, sent by function key f3
 key_f4                      kf4     k4        KEY_F(4), 0414, sent by function key f4
 key_f5                      kf5     k5        KEY_F(5), 0415, sent by function key f5
 key_f6                      kf6     k6        KEY_F(6), 0416, sent by function key f6
 key_f7                      kf7     k7        KEY_F(7), 0417, sent by function key f7
 key_f8                      kf8     k8        KEY_F(8), 0420, sent by function key f8
 key_f9                      kf9     k9        KEY_F(9), 0421, sent by function key f9
 key_f10                     kf10    k;        KEY_F(10), 0422, sent by function key f10
 key_f11                     kf11    F1        KEY_F(11), 0423, sent by function key f11
 key_f12                     kf12    F2        KEY_F(12), 0424, sent by function key f12
 key_f13                     kf13    F3        KEY_F(13), 0425, sent by function key f13
 key_f14                     kf14    F4        KEY_F(14), 0426, sent by function key f14
 key_f15                     kf15    F5        KEY_F(15), 0427, sent by function key f15
 key_f16                     kf16    F6        KEY_F(16), 0430, sent by function key f16
 key_f17                     kf17    F7        KEY_F(17), 0431, sent by function key f17
 key_f18                     kf18    F8        KEY_F(18), 0432, sent by function key f18
 key_f19                     kf19    F9        KEY_F(19), 0433, sent by function key f19
 key_f20                     kf20    FA        KEY_F(20), 0434, sent by function key f20
 key_f21                     kf21    FB        KEY_F(21), 0435, sent by function key f21
 key_f22                     kf22    FC        KEY_F(22), 0436, sent by function key f22
 key_f23                     kf23    FD        KEY_F(23), 0437, sent by function key f23
 key_f24                     kf24    FE        KEY_F(24), 0440, sent by function key f24
 key_f25                     kf25    FF        KEY_F(25), 0441, sent by function key f25
 key_f26                     kf26    FG        KEY_F(26), 0442, sent by function key f26
 key_f27                     kf27    FH        KEY_F(27), 0443, sent by function key f27
 key_f28                     kf28    FI        KEY_F(28), 0444, sent by function key f28
 key_f29                     kf29    FJ        KEY_F(29), 0445, sent by function key f29
 key_f30                     kf30    FK        KEY_F(30), 0446, sent by function key f30
 key_f31                     kf31    FL        KEY_F(31), 0447, sent by function key f31
 key_f32                     kf32    FM        KEY_F(32), 0450, sent by function key f32
 key_f33                     kf33    FN        KEY_F(33), 0451, sent by function key f13
 key_f34                     kf34    FO        KEY_F(34), 0452, sent by function key f34
 key_f35                     kf35    FP        KEY_F(35), 0453, sent by function key f35
 key_f36                     kf36    FQ        KEY_F(36), 0454, sent by function key f36
 key_f37                     kf37    FR        KEY_F(37), 0455, sent by function key f37
 key_f38                     kf38    FS        KEY_F(38), 0456, sent by function key f38
 key_f39                     kf39    FT        KEY_F(39), 0457, sent by function key f39
 key_f40                     kf40    FU        KEY_F(40), 0460, sent by function key f40
 key_f41                     kf41    FV        KEY_F(41), 0461, sent by function key f41
 key_f42                     kf42    FW        KEY_F(42), 0462, sent by function key f42
 key_f43                     kf43    FX        KEY_F(43), 0463, sent by function key f43

key_f44 kf44 FY KEY_F(44), 0464, sent by function key f44
key_f45 kf45 FZ KEY_F(45), 0465, sent by function key f45
key_f46 kf46 Fa KEY_F(46), 0466, sent by function key f46
key_f47 kf47 Fb KEY_F(47), 0467, sent by function key f47
key_f48 kf48 Fc KEY_F(48), 0470, sent by function key f48
key_f49 kf49 Fd KEY_F(49), 0471, sent by function key f49
key_f50 kf50 Fe KEY_F(50), 0472, sent by function key f50
key_f51 kf51 Ff KEY_F(51), 0473, sent by function key f51
key_f52 kf52 Fg KEY_F(52), 0474, sent by function key f52
key_f53 kf53 Fh KEY_F(53), 0475, sent by function key f53
key_f54 kf54 Fi KEY_F(54), 0476, sent by function key f54
key_f55 kf55 Fj KEY_F(55), 0477, sent by function key f55
key_f56 kf56 Fk KEY_F(56), 0500, sent by function key f56
key_f57 kf57 Fl KEY_F(57), 0501, sent by function key f57
key_f58 kf58 Fm KEY_F(58), 0502, sent by function key f58
key_f59 kf59 Fn KEY_F(59), 0503, sent by function key f59
key_f60 kf60 Fo KEY_F(60), 0504, sent by function key f60
key_f61 kf61 Fp KEY_F(61), 0505, sent by function key f61
key_f62 kf62 Fq KEY_F(62), 0506, sent by function key f62
key_f63 kf63 Fr KEY_F(63), 0507, sent by function key f63
key_find kfnd @0 KEY_FIND, 0552, sent by find key
key_help khlp %1 KEY_HELP, 0553, sent by help key
key_home khome kh KEY_HOME, 0406, sent by home key
key_ic kich1 kI KEY_IC, 0513, sent by ins-char/enter
ins-mode key
key_il kil1 kA KEY_IL, 0511, sent by insert-line key
key_left kcub1 kl KEY_LEFT, 0404, sent by terminal
left-arrow key
key_ll kll kH KEY_LL, 0533, sent by home-down key
key_mark kmrk %2 KEY_MARK, 0554, sent by mark key
key_message kmsg %3 KEY_MESSAGE, 0555, sent by message key
key_move kmov %4 KEY_MOVE, 0556, sent by move key
key_next knxt %5 KEY_NEXT, 0557, sent by next key
key_npage knp kN KEY_NPAGE, 0522, sent by next-page key
key_open kopn %6 KEY_OPEN, 0560, sent by open key
key_options kopt %7 KEY_OPTIONS, 0561, sent by options key
key_ppage kpp kP KEY_PPAGE, 0523, sent by previous-page key
key_previous kprv %8 KEY_PREVIOUS, 0562, sent by
previous-object key
key_print kprt %9 KEY_PRINT, 0532, sent by print or copy key
key_redo krdo 0 KEY_REDO, 0563, sent by redo key
key_reference kref &1 KEY_REFERENCE, 0564, sent by ref(erence) key
key_refresh krfr &2 KEY_REFRESH, 0565, sent by refresh key
key_replace krpl &3 KEY_REPLACE, 0566, sent by replace key
key_restart krst &4 KEY_RESTART, 0567, sent by restart key
key_resume kres &5 KEY_RESUME, 0570, sent by resume key
key_right kcuf1 kr KEY_RIGHT, 0405, sent by terminal right-arrow key
key_save ksav &6 KEY_SAVE, 0571, sent by save key
key_sbeg kBEG &9 KEY_SBEG, 0572, sent by shifted beginning key
key_scancel kCAN &0 KEY_SCANCEL, 0573, sent by shifted cancel key
key_scommand kCMD *1 KEY_SCOMMAND, 0574, sent by shifted
command key
key_scopy kCPY *2 KEY_SCOPY, 0575, sent by shifted copy key
key_screate kCRT *3 KEY_SCREATE, 0576, sent by shifted create key
key_sdc kDC *4 KEY_SDC, 0577, sent by shifted delete-char key
key_sdl kDL *5 KEY_SDL, 0600, sent by shifted delete-line key
key_select kslt *6 KEY_SELECT, 0601, sent by select key
key_send kEND *7 KEY_SEND, 0602, sent by shifted end key
key_seol kEOL *8 KEY_SEOL, 0603, sent by shifted clear-line key
key_sexit kEXT *9 KEY_SEXIT, 0604, sent by shifted exit key
key_sf kind kF KEY_SF, 0520, sent by scroll-forward/down key
key_sfind kFND *0 KEY_SFIND, 0605, sent by shifted find key
key_shelp kHLP #1 KEY_SHELP, 0606, sent by shifted help key
key_shome kHOM #2 KEY_SHOME, 0607, sent by shifted home key
key_sic kIC #3 KEY_SIC, 0610, sent by shifted input key
key_sleft kLFT #4 KEY_SLEFT, 0611, sent by shifted left-arrow key
key_smessage kMSG %a KEY_SMESSAGE, 0612, sent by shifted message key
key_smove kMOV %b KEY_SMOVE, 0613, sent by shifted move key
key_snext kNXT %c KEY_SNEXT, 0614, sent by shifted next key
key_soptions kOPT %d KEY_SOPTIONS, 0615, sent by shifted options key
key_sprevious kPRV %e KEY_SPREVIOUS, 0616, sent by shifted prev key
key_sprint kPRT %f KEY_SPRINT, 0617, sent by shifted print key
key_sr kri kR KEY_SR, 0521, sent by scroll-backward/up key
key_sredo kRDO %g KEY_SREDO, 0620, sent by shifted redo key
key_sreplace kRPL %h KEY_SREPLACE, 0621, sent by shifted replace key
key_sright kRIT %i KEY_SRIGHT, 0622, sent by shifted right-arrow key
key_srsume kRES %j KEY_SRSUME, 0623, sent by shifted resume key
key_ssave kSAV !1 KEY_SSAVE, 0624, sent by shifted save key
key_ssuspend kSPD !2 KEY_SSUSPEND, 0625,
sent by shifted suspend key
key_stab khts kT KEY_STAB, 0524, sent by set-tab key
key_sundo kUND !3 KEY_SUNDO, 0626, sent by shifted undo key
key_suspend kspd &7 KEY_SUSPEND, 0627, sent by suspend key
key_undo kund &8 KEY_UNDO, 0630, sent by undo key
key_up kcuu1 ku KEY_UP, 0403, sent by terminal up-arrow key
keypad_local rmkx ke Out of ``keypad-transmit'' mode
keypad_xmit smkx ks Put terminal in ``keypad-transmit'' mode
lab_f0 lf0 l0 Labels on function key f0 if not f0
lab_f1 lf1 l1 Labels on function key f1 if not f1
lab_f2 lf2 l2 Labels on function key f2 if not f2
lab_f3 lf3 l3 Labels on function key f3 if not f3
lab_f4 lf4 l4 Labels on function key f4 if not f4
lab_f5 lf5 l5 Labels on function key f5 if not f5
lab_f6 lf6 l6 Labels on function key f6 if not f6
lab_f7 lf7 l7 Labels on function key f7 if not f7
lab_f8 lf8 l8 Labels on function key f8 if not f8
lab_f9 lf9 l9 Labels on function key f9 if not f9
lab_f10 lf10 la Labels on function key f10 if not f10
label_format fln Lf Label format
label_off rmln LF Turn off soft labels
label_on smln LO Turn on soft labels
meta_off rmm mo Turn off ``meta mode''
meta_on smm mm Turn on ``meta mode'' (8th bit)
micro_column_address mhpa ZY Like column_address for
micro adjustment**
micro_down mcud1 ZZ Like cursor_down for micro adjustment
micro_left mcub1 Za Like cursor_left for micro adjustment
micro_right mcuf1 Zb Like cursor_right for micro adjustment
micro_row_address mvpa Zc Like row_address for micro adjustment**
micro_up mcuu1 Zd Like cursor_up for micro adjustment
newline nel nw Newline (behaves like cr followed by lf)
order_of_pins porder Ze Matches software bits to print-head pins
orig_colors oc oc Set all color(-pair)s to the original ones
orig_pair op op Set default color-pair to the original one
pad_char pad pc Pad character (rather than null)
parm_dch dch DC Delete #1 chars (G*)
parm_delete_line dl DL Delete #1 lines (G*)
parm_down_cursor cud DO Move down #1 lines. (G*)

 key_f44                kf44     FY   KEY_F(44), 0464, sent by function key f44
 key_f45                kf45     FZ   KEY_F(45), 0465, sent by function key f45
 key_f46                kf46     Fa   KEY_F(46), 0466, sent by function key f46
 key_f47                kf47     Fb   KEY_F(47), 0467, sent by function key f47
 key_f48                kf48     Fc   KEY_F(48), 0470, sent by function key f48
 key_f49                kf49     Fd   KEY_F(49), 0471, sent by function key f49
 key_f50                kf50     Fe   KEY_F(50), 0472, sent by function key f50
 key_f51                kf51     Ff   KEY_F(51), 0473, sent by function key f51
 key_f52                kf52     Fg   KEY_F(52), 0474, sent by function key f52
 key_f53                kf53     Fh   KEY_F(53), 0475, sent by function key f53
 key_f54                kf54     Fi   KEY_F(54), 0476, sent by function key f54
 key_f55                kf55     Fj   KEY_F(55), 0477, sent by function key f55
 key_f56                kf56     Fk   KEY_F(56), 0500, sent by function key f56
 key_f57                kf57     Fl   KEY_F(57), 0501, sent by function key f57
 key_f58                kf58     Fm   KEY_F(58), 0502, sent by function key f58
 key_f59                kf59     Fn   KEY_F(59), 0503, sent by function key f59
 key_f60                kf60     Fo   KEY_F(60), 0504, sent by function key f60
 key_f61                kf61     Fp   KEY_F(61), 0505, sent by function key f61
 key_f62                kf62     Fq   KEY_F(62), 0506, sent by function key f62
 key_f63                kf63     Fr   KEY_F(63), 0507, sent by function key f63
 key_find               kfnd     @0   KEY_FIND, 0552, sent by find key
 key_help               khlp     %1   KEY_HELP, 0553, sent by help key
 key_home               khome    kh   KEY_HOME, 0406, sent by home key
 key_ic                 kich1    kI   KEY_IC, 0513, sent by ins-char/enter
                                      ins-mode key
 key_il                 kil1     kA   KEY_IL, 0511, sent by insert-line key
 key_left               kcub1    kl   KEY_LEFT, 0404, sent by terminal
                                      left-arrow key
 key_ll                 kll      kH   KEY_LL, 0533, sent by home-down key
 key_mark               kmrk     %2   KEY_MARK, 0554, sent by mark key
 key_message            kmsg     %3   KEY_MESSAGE, 0555, sent by message key
 key_move               kmov     %4   KEY_MOVE, 0556, sent by move key
 key_next               knxt     %5   KEY_NEXT, 0557, sent by next key
 key_npage              knp      kN   KEY_NPAGE, 0522, sent by next-page key
 key_open               kopn     %6   KEY_OPEN, 0560, sent by open key
 key_options            kopt     %7   KEY_OPTIONS, 0561, sent by options key
 key_ppage              kpp      kP   KEY_PPAGE, 0523, sent by previous-page key
 key_previous           kprv     %8   KEY_PREVIOUS, 0562, sent by
                                      previous-object key
 key_print              kprt     %9   KEY_PRINT, 0532, sent by print or copy key
 key_redo               krdo     0    KEY_REDO, 0563, sent by redo key
 key_reference          kref     &1   KEY_REFERENCE, 0564, sent by ref(erence) key
 key_refresh            krfr     &2   KEY_REFRESH, 0565, sent by refresh key
 key_replace            krpl     &3   KEY_REPLACE, 0566, sent by replace key
 key_restart            krst     &4   KEY_RESTART, 0567, sent by restart key
 key_resume             kres     &5   KEY_RESUME, 0570, sent by resume key
 key_right              kcuf1    kr   KEY_RIGHT, 0405, sent by terminal right-arrow key
 key_save               ksav     &6   KEY_SAVE, 0571, sent by save key
 key_sbeg               kBEG     &9   KEY_SBEG, 0572, sent by shifted beginning key
 key_scancel            kCAN     &0   KEY_SCANCEL, 0573, sent by shifted cancel key
 key_scommand           kCMD     *1   KEY_SCOMMAND, 0574, sent by shifted
                                      command key
 key_scopy              kCPY     *2   KEY_SCOPY, 0575, sent by shifted copy key
 key_screate            kCRT     *3   KEY_SCREATE, 0576, sent by shifted create key
 key_sdc                kDC      *4   KEY_SDC, 0577, sent by shifted delete-char key
 key_sdl                kDL      *5   KEY_SDL, 0600, sent by shifted delete-line key
 key_select             kslt     *6   KEY_SELECT, 0601, sent by select key
 key_send               kEND     *7   KEY_SEND, 0602, sent by shifted end key
 key_seol               kEOL     *8   KEY_SEOL, 0603, sent by shifted clear-line key
 key_sexit              kEXT     *9   KEY_SEXIT, 0604, sent by shifted exit key
 key_sf                 kind     kF   KEY_SF, 0520, sent by scroll-forward/down key
 key_sfind              kFND     *0   KEY_SFIND, 0605, sent by shifted find key
 key_shelp              kHLP     #1   KEY_SHELP, 0606, sent by shifted help key
 key_shome              kHOM     #2   KEY_SHOME, 0607, sent by shifted home key
 key_sic                kIC      #3   KEY_SIC, 0610, sent by shifted input key
 key_sleft              kLFT     #4   KEY_SLEFT, 0611, sent by shifted left-arrow key
 key_smessage           kMSG     %a   KEY_SMESSAGE, 0612, sent by shifted message key
 key_smove              kMOV     %b   KEY_SMOVE, 0613, sent by shifted move key
 key_snext              kNXT     %c   KEY_SNEXT, 0614, sent by shifted next key
 key_soptions           kOPT     %d   KEY_SOPTIONS, 0615, sent by shifted options key
 key_sprevious          kPRV     %e   KEY_SPREVIOUS, 0616, sent by shifted prev key
 key_sprint             kPRT     %f   KEY_SPRINT, 0617, sent by shifted print key
 key_sr                 kri      kR   KEY_SR, 0521, sent by scroll-backward/up key
 key_sredo              kRDO     %g   KEY_SREDO, 0620, sent by shifted redo key
 key_sreplace           kRPL     %h   KEY_SREPLACE, 0621, sent by shifted replace key
 key_sright             kRIT     %i   KEY_SRIGHT, 0622, sent by shifted right-arrow key
 key_srsume             kRES     %j   KEY_SRSUME, 0623, sent by shifted resume key
 key_ssave              kSAV     !1   KEY_SSAVE, 0624, sent by shifted save key
 key_ssuspend           kSPD     !2   KEY_SSUSPEND, 0625,
                                      sent by shifted suspend key
 key_stab               khts     kT   KEY_STAB, 0524, sent by set-tab key
 key_sundo              kUND     !3   KEY_SUNDO, 0626, sent by shifted undo key
 key_suspend            kspd     &7   KEY_SUSPEND, 0627, sent by suspend key
 key_undo               kund     &8   KEY_UNDO, 0630, sent by undo key
 key_up                 kcuu1    ku   KEY_UP, 0403, sent by terminal up-arrow key
 keypad_local           rmkx     ke   Out of ``keypad-transmit'' mode
 keypad_xmit            smkx     ks   Put terminal in ``keypad-transmit'' mode
 lab_f0                 lf0      l0   Labels on function key f0 if not f0
 lab_f1                 lf1      l1   Labels on function key f1 if not f1
 lab_f2                 lf2      l2   Labels on function key f2 if not f2
 lab_f3                 lf3      l3   Labels on function key f3 if not f3
 lab_f4                 lf4      l4   Labels on function key f4 if not f4
 lab_f5                 lf5      l5   Labels on function key f5 if not f5
 lab_f6                 lf6      l6   Labels on function key f6 if not f6
 lab_f7                 lf7      l7   Labels on function key f7 if not f7
 lab_f8                 lf8      l8   Labels on function key f8 if not f8
 lab_f9                 lf9      l9   Labels on function key f9 if not f9
 lab_f10                lf10     la   Labels on function key f10 if not f10
 label_format           fln      Lf   Label format
 label_off              rmln     LF   Turn off soft labels
 label_on               smln     LO   Turn on soft labels
 meta_off               rmm      mo   Turn off ``meta mode''
 meta_on                smm      mm   Turn on ``meta mode'' (8th bit)
 micro_column_address   mhpa     ZY   Like column_address for
                                      micro adjustment**
 micro_down             mcud1    ZZ   Like cursor_down for micro adjustment
 micro_left             mcub1    Za   Like cursor_left for micro adjustment
 micro_right            mcuf1    Zb   Like cursor_right for micro adjustment
 micro_row_address      mvpa     Zc   Like row_address for micro adjustment**
 micro_up               mcuu1    Zd   Like cursor_up for micro adjustment
 newline                nel      nw   Newline (behaves like cr followed by lf)
 order_of_pins          porder   Ze   Matches software bits to print-head pins
 orig_colors            oc       oc   Set all color(-pair)s to the original ones
 orig_pair              op       op   Set default color-pair to the original one
 pad_char               pad      pc   Pad character (rather than null)
 parm_dch               dch      DC   Delete #1 chars (G*)
 parm_delete_line       dl       DL   Delete #1 lines (G*)
 parm_down_cursor       cud      DO   Move down #1 lines. (G*)

parm_down_micro mcud Zf Like parm_down_cursor for
micro adjust. (G*)
parm_ich ich IC Insert #1 blank chars (G*)
parm_index indn SF Scroll forward #1 lines. (G)
parm_insert_line il AL Add #1 new blank lines (G*)
parm_left_cursor cub LE Move cursor left #1 spaces (G)
parm_left_micro mcub Zg Like parm_left_cursor for micro adjust. (**)
parm_right_cursor cuf RI Move right #1 spaces. (G*)
parm_right_micro mcuf Zh Like parm_right_cursor for micro adjust. (**)
parm_rindex rin SR Scroll backward #1 lines. (G)
parm_up_cursor cuu UP Move cursor up #1 lines. (G*)
parm_up_micro mcuu Zi Like parm_up_cursor for micro adjust. (**)
pkey_key pfkey pk Prog funct key #1 to type string #2
pkey_local pfloc pl Prog funct key #1 to execute string #2
pkey_xmit pfx px Prog funct key #1 to xmit string #2
plab_norm pln pn Prog label #1 to show string #2
print_screen mc0 ps Print contents of the screen
prtr_non mc5p pO Turn on the printer for #1 bytes
prtr_off mc4 pf Turn off the printer
prtr_on mc5 po Turn on the printer
pulse pulse PU Select pulse dialing
quick_dial qdial QD Dial phone number #1, without
progress detection
remove_clock rmclk RC Remove time-of-day clock
repeat_char rep rp Repeat char #1 #2 times (G*)
req_for_input rfi RF Send next input char (for ptys)
reset_1string rs1 r1 Reset terminal completely to sane modes
reset_2string rs2 r2 Reset terminal completely to sane modes
reset_3string rs3 r3 Reset terminal completely to sane modes
reset_file rf rf Name of file containing reset string
restore_cursor rc rc Restore cursor to position of last sc
row_address vpa cv Vertical position absolute (G)
save_cursor sc sc Save cursor position
scroll_forward ind sf Scroll text up
scroll_reverse ri sr Scroll text down
select_char_set scs Zj Select character set (**)
set_attributes sgr sa Define the video attributes (G) #1-#9
set_background setb Sb Set current background color
set_bottom_margin smgb Zk Set bottom margin at current line
set_bottom_margin_parm smgbp Zl Set bottom margin at line #1 (**)
set_clock sclk SC Set time-of-day clock
set_color_pair scp sp Set current color-pair
set_foreground setf Sf Set current foreground color1
set_left_margin smgl ML Set left margin at current line
set_left_margin_parm smglp Zm Set left margin at column #1 (**)
set_right_margin smgr MR Set right margin at current column
set_right_margin_parm smgrp Zn Set right margin at column #1 (**)
set_tab hts st Set a tab in all rows, current column
set_top_margin smgt Zo Set top margin at current line
set_top_margin_parm smgtp Zp Set top margin at line #1 (**)
set_window wind wi Current window is lines #1-#2 cols #3-#4 (G)
start_bit_image sbim Zq Start printing bit image graphics (**)
start_char_set_def scsd Zr Start definition of a character set (**)
stop_bit_image rbim Zs End printing bit image graphics
stop_char_set_def rcsd Zt End definition of a character set
subscript_characters subcs Zu List of ``subscript-able'' characters
superscript_characters supcs Zv List of ``superscript-able'' characters
tab ht ta Tab to next 8-space hardware tab stop
these_cause_cr docr Zw Printing any of these chars causes cr
to_status_line tsl ts Go to status line, col #1 (G)
tone tone TO Select touch tone dialing
underline_char uc uc Underscore one char and move past it
up_half_line hu hu Half-line up (reverse 1/2 linefeed)
user0 u0 u0 User string 0
user1 u1 u1 User string 1
user2 u2 u2 User string 4
user3 u3 u3 User string 3
user4 u4 u4 User string 4
user5 u5 u5 User string 5
user6 u6 u6 User string 6
user7 u7 u7 User string 7
user8 u8 u8 User string 8
user9 u9 u9 User string 9
wait_tone wait WA Wait for dial tone
xoff_character xoffc XF X-off character
xon_character xonc XN X-on character
xon_character xonc XN Alternate XON character (scancode mode)
xoff_character xoffc XF Alternate XOFF character (scancode mode)
zero_motion zerom Zx No motion for the subsequent character

 parm_down_micro          mcud    Zf   Like parm_down_cursor for
                                       micro adjust. (G*)
 parm_ich                 ich     IC   Insert #1 blank chars (G*)
 parm_index               indn    SF   Scroll forward #1 lines. (G)
 parm_insert_line         il      AL   Add #1 new blank lines (G*)
 parm_left_cursor         cub     LE   Move cursor left #1 spaces (G)
 parm_left_micro          mcub    Zg   Like parm_left_cursor for micro adjust. (**)
 parm_right_cursor        cuf     RI   Move right #1 spaces. (G*)
 parm_right_micro         mcuf    Zh   Like parm_right_cursor for micro adjust. (**)
 parm_rindex              rin     SR   Scroll backward #1 lines. (G)
 parm_up_cursor           cuu     UP   Move cursor up #1 lines. (G*)
 parm_up_micro            mcuu    Zi   Like parm_up_cursor for micro adjust. (**)
 pkey_key                 pfkey   pk   Prog funct key #1 to type string #2
 pkey_local               pfloc   pl   Prog funct key #1 to execute string #2
 pkey_xmit                pfx     px   Prog funct key #1 to xmit string #2
 plab_norm                pln     pn   Prog label #1 to show string #2
 print_screen             mc0     ps   Print contents of the screen
 prtr_non                 mc5p    pO   Turn on the printer for #1 bytes
 prtr_off                 mc4     pf   Turn off the printer
 prtr_on                  mc5     po   Turn on the printer
 pulse                    pulse   PU   Select pulse dialing
 quick_dial               qdial   QD   Dial phone number #1, without
                                       progress detection
 remove_clock             rmclk   RC   Remove time-of-day clock
 repeat_char              rep     rp   Repeat char #1 #2 times (G*)
 req_for_input            rfi     RF   Send next input char (for ptys)
 reset_1string            rs1     r1   Reset terminal completely to sane modes
 reset_2string            rs2     r2   Reset terminal completely to sane modes
 reset_3string            rs3     r3   Reset terminal completely to sane modes
 reset_file               rf      rf   Name of file containing reset string
 restore_cursor           rc      rc   Restore cursor to position of last sc
 row_address              vpa     cv   Vertical position absolute (G)
 save_cursor              sc      sc   Save cursor position
 scroll_forward           ind     sf   Scroll text up
 scroll_reverse           ri      sr   Scroll text down
 select_char_set          scs     Zj   Select character set (**)
 set_attributes           sgr     sa   Define the video attributes (G) #1-#9
 set_background           setb    Sb   Set current background color
 set_bottom_margin        smgb    Zk   Set bottom margin at current line
 set_bottom_margin_parm   smgbp   Zl   Set bottom margin at line #1 (**)
 set_clock                sclk    SC   Set time-of-day clock
 set_color_pair           scp     sp   Set current color-pair
 set_foreground           setf    Sf   Set current foreground color1
 set_left_margin          smgl    ML   Set left margin at current line
 set_left_margin_parm     smglp   Zm   Set left margin at column #1 (**)
 set_right_margin         smgr    MR   Set right margin at current column
 set_right_margin_parm    smgrp   Zn   Set right margin at column #1 (**)
 set_tab                  hts     st   Set a tab in all rows, current column
 set_top_margin           smgt    Zo   Set top margin at current line
 set_top_margin_parm      smgtp   Zp   Set top margin at line #1 (**)
 set_window               wind    wi   Current window is lines #1-#2 cols #3-#4 (G)
 start_bit_image          sbim    Zq   Start printing bit image graphics (**)
 start_char_set_def       scsd    Zr   Start definition of a character set (**)
 stop_bit_image           rbim    Zs   End printing bit image graphics
 stop_char_set_def        rcsd    Zt   End definition of a character set
 subscript_characters     subcs   Zu   List of ``subscript-able'' characters
 superscript_characters   supcs   Zv   List of ``superscript-able'' characters
 tab                      ht      ta   Tab to next 8-space hardware tab stop
 these_cause_cr           docr    Zw   Printing any of these chars causes cr
 to_status_line           tsl     ts   Go to status line, col #1 (G)
 tone                     tone    TO   Select touch tone dialing
 underline_char           uc      uc   Underscore one char and move past it
 up_half_line             hu      hu   Half-line up (reverse 1/2 linefeed)
 user0                    u0      u0   User string 0
 user1                    u1      u1   User string 1
 user2                    u2      u2   User string 4
 user3                    u3      u3   User string 3
 user4                    u4      u4   User string 4
 user5                    u5      u5   User string 5
 user6                    u6      u6   User string 6
 user7                    u7      u7   User string 7
 user8                    u8      u8   User string 8
 user9                    u9      u9   User string 9
 wait_tone                wait    WA   Wait for dial tone
 xoff_character           xoffc   XF   X-off character
 xon_character            xonc    XN   X-on character
 xon_character            xonc    XN   Alternate XON character (scancode mode)
 xoff_character           xoffc   XF   Alternate XOFF character (scancode mode)
 zero_motion              zerom   Zx   No motion for the subsequent character
Booleans ordered by capname

Cap- Variable Termcap Description
name code  
am auto_right_margin am Terminal has automatic margins
bw auto_left_margin bw cub1 wraps from column 0 to last column
ccc can_change cc Terminal can re-define existing color
chts hard_cursor HC Cursor is hard to see
cpix cpi_changes_res YF Changing character pitch changes resolution
cps print_rate Ym Print rate in characters per second
crxm cr_cancels_micro_modem YB Using cr turns off micro mode
cwin create_window CW Define win #1 to go from #2,#3 to #4,#5
da memory_above da Display may be retained above the screen
daisy has_print_wheel YC Printer needs operator to change character set
dclk display_clock DK Display time-of-day clock
db memory_below db Display may be retained below the screen
dial dial_phone DI Dial phone number #1
eo erase_overstrike eo Can erase overstrikes with a blank
eslok status_line_esc_ok es Escape can be used on the status line
gn generic_type gn Generic line type (e.g., dialup, switch)
hc hard_copy hc Hardcopy terminal
hls hue_lightness_saturation hl Terminal uses only HLS
color notation (Tektronix)
hs has_status_line hs Has extra ``status line''
hz tilde_glitch hz Hazeltine; can't print tilde (~)
in insert_null_glitch in Insert mode distinguishes nulls
km has_meta_key km Has a meta key (shift, sets parity bit)
lpix lpi_changes_res YG Changing line pitch changes resolution
mc5i prtr_silent    
mir move_insert_mode mi Safe to move while in insert mode
msgr move_standout_mode ms Safe to move in standout modes
npc no_pad_char NP Pad character doesn't exist
nrrmc non_rev_rmcup NR smcup does not reverse rmcup
nxon needs_xon_xoff nx Padding won't work, xon/xoff required
os over_strike os Terminal overstrikes on hard-copy terminal
sam semi_auto_right_margin YE Printing in last column causes cr
ul transparent_underline ul Underline character overstrikes
xenl eat_newline_glitch xn Newline ignored after 80 columns (Concept)
xhp ceol_standout_glitch xs Standout not erased by overwriting (hp)
xhpa col_addr_glitch YA Only positive motion for hpa/mhpa caps
xon xon_xoff xo Terminal uses xon/xoff handshaking
xsb no_esc_ctlc xb Beehive (f1=escape, f2=ctrl C)
xt dest_tabs_magic_smso xt Destructive tabs, magic smso char (t1061)
xvpa row_addr_glitch YD Only positive motion for vpa/mvpa caps

 Cap-    Variable                   Termcap   Description
 name                               code
 am      auto_right_margin          am        Terminal has automatic margins
 bw      auto_left_margin           bw        cub1 wraps from column 0 to last column
 ccc     can_change                 cc        Terminal can re-define existing color
 chts    hard_cursor                HC        Cursor is hard to see
 cpix    cpi_changes_res            YF        Changing character pitch changes resolution
 cps     print_rate                 Ym        Print rate in characters per second
 crxm    cr_cancels_micro_modem     YB        Using cr turns off micro mode
 cwin    create_window              CW        Define win #1 to go from #2,#3 to #4,#5
 da      memory_above               da        Display may be retained above the screen
 daisy   has_print_wheel            YC        Printer needs operator to change character set
 dclk    display_clock              DK        Display time-of-day clock
 db      memory_below               db        Display may be retained below the screen
 dial    dial_phone                 DI        Dial phone number #1
 eo      erase_overstrike           eo        Can erase overstrikes with a blank
 eslok   status_line_esc_ok         es        Escape can be used on the status line
 gn      generic_type               gn        Generic line type (e.g., dialup, switch)
 hc      hard_copy                  hc        Hardcopy terminal
 hls     hue_lightness_saturation   hl        Terminal uses only HLS
                                              color notation (Tektronix)
 hs      has_status_line            hs        Has extra ``status line''
 hz      tilde_glitch               hz        Hazeltine; can't print tilde (~)
 in      insert_null_glitch         in        Insert mode distinguishes nulls
 km      has_meta_key               km        Has a meta key (shift, sets parity bit)
 lpix    lpi_changes_res            YG        Changing line pitch changes resolution
 mc5i    prtr_silent
 mir     move_insert_mode           mi        Safe to move while in insert mode
 msgr    move_standout_mode         ms        Safe to move in standout modes
 npc     no_pad_char                NP        Pad character doesn't exist
 nrrmc   non_rev_rmcup              NR        smcup does not reverse rmcup
 nxon    needs_xon_xoff             nx        Padding won't work, xon/xoff required
 os      over_strike                os        Terminal overstrikes on hard-copy terminal
 sam     semi_auto_right_margin     YE        Printing in last column causes cr
 ul      transparent_underline      ul        Underline character overstrikes
 xenl    eat_newline_glitch         xn        Newline ignored after 80 columns (Concept)
 xhp     ceol_standout_glitch       xs        Standout not erased by overwriting (hp)
 xhpa    col_addr_glitch            YA        Only positive motion for hpa/mhpa caps
 xon     xon_xoff                   xo        Terminal uses xon/xoff handshaking
 xsb     no_esc_ctlc                xb        Beehive (f1=escape, f2=ctrl C)
 xt      dest_tabs_magic_smso       xt        Destructive tabs, magic smso char (t1061)
 xvpa    row_addr_glitch            YD        Only positive motion for vpa/mvpa caps
Numbers ordered by variable name

Cap- Variable Termcap Description
name code  
bufsz buffer_capacity Ya Number of bytes buffered before printing
colors max_colors Co Maximum number of colors on the screen
cols columns co Number of columns in a line
cps print_rate Ym Average print rate in characters per second
it init_tabs it Tabs initially every # spaces
lh label_height lh Number of rows in each label
lines lines li Number of lines on a screen or a page
lm lines_of_memory lm Lines of memory if > lines; 0 means varies
lw label_width lw Number of columns in each label
maddr max_micro_address Yd Maximum value in micro_..._address
mcs micro_col_size Yf Character step size when in micro mode
mjump max_micro_jump Ye Maximum value in parm_..._micro
mls micro_line_size Yg Line step size when in micro mode
ncv no_color_video NC Video attributes that can't be used with colors
nlab num_labels Nl Number of labels on screen (start at 1)
npins number_of_pins Yh Number of pins in print-head
orc output_res_char Yi Horizontal resolution in units per character
orhi output_res_horz_inch Yk Horizontal resolution in units per inch
orl output_res_line Yj Vertical resolution in units per line
orvi output_res_vert_inch Yl Vertical resolution in units per inch
pairs max_pairs pa Maximum number of color-pairs on the screen
pb padding_baud_rate pb Lowest baud rate where padding needed
spinh dot_horz_spacing Yc Spacing of dots horizontally in dots per inch
spinv dot_vert_spacing Yb Spacing of pins vertically in pins per inch
vt virtual_terminal vt Virtual terminal number (UNIX system)
widcs wide_char_size Yn Character step size when in double wide mode
wsl width_status_line ws Number of columns in status line
xmc magic_cookie_glitch sg Number of blank characters left
by smso or rmso

 Cap-     Variable               Termcap   Description
 name                            code
 bufsz    buffer_capacity        Ya        Number of bytes buffered before printing
 colors   max_colors             Co        Maximum number of colors on the screen
 cols     columns                co        Number of columns in a line
 cps      print_rate             Ym        Average print rate in characters per second
 it       init_tabs              it        Tabs initially every # spaces
 lh       label_height           lh        Number of rows in each label
 lines    lines                  li        Number of lines on a screen or a page
 lm       lines_of_memory        lm        Lines of memory if > lines; 0 means varies
 lw       label_width            lw        Number of columns in each label
 maddr    max_micro_address      Yd        Maximum value in micro_..._address
 mcs      micro_col_size         Yf        Character step size when in micro mode
 mjump    max_micro_jump         Ye        Maximum value in parm_..._micro
 mls      micro_line_size        Yg        Line step size when in micro mode
 ncv      no_color_video         NC        Video attributes that can't be used with colors
 nlab     num_labels             Nl        Number of labels on screen (start at 1)
 npins    number_of_pins         Yh        Number of pins in print-head
 orc      output_res_char        Yi        Horizontal resolution in units per character
 orhi     output_res_horz_inch   Yk        Horizontal resolution in units per inch
 orl      output_res_line        Yj        Vertical resolution in units per line
 orvi     output_res_vert_inch   Yl        Vertical resolution in units per inch
 pairs    max_pairs              pa        Maximum number of color-pairs on the screen
 pb       padding_baud_rate      pb        Lowest baud rate where padding needed
 spinh    dot_horz_spacing       Yc        Spacing of dots horizontally in dots per inch
 spinv    dot_vert_spacing       Yb        Spacing of pins vertically in pins per inch
 vt       virtual_terminal       vt        Virtual terminal number (UNIX system)
 widcs    wide_char_size         Yn        Character step size when in double wide mode
 wsl      width_status_line      ws        Number of columns in status line
 xmc      magic_cookie_glitch    sg        Number of blank characters left
                                           by smso or rmso
Strings ordered by variable name

Cap- Variable Termcap Description
name code  
acsc acs_chars ac Graphic charset pairs aAbBcC - def=vt100
bel bell bl Audible signal (bell)
blink enter_blink_mode mb Turn on blinking
bold enter_bold_mode md Turn on bold (extra bright) mode
cbt back_tab bt Back tab
chr change_res_horz ZC Change horizontal resolution (**)
civis cursor_invisible vi Make cursor invisible
clear clear_screen cl Clear screen and home cursor (*)
cmdch command_character CC Terminal settable cmd character in prototype
cnorm cursor_normal ve Make cursor appear normal (undo vs/vi)
cpi change_char_pitch ZA Change number of characters per inch (**)
cr carriage_return cr Carriage return (*)
csnm char_set_names Zy List of character set names
csr change_scroll_region cs Change to lines #1 through #2 (vt100) (G)
cub parm_left_cursor LE Move cursor left #1 spaces (G)
cub1 cursor_left le Move left one space.
cud parm_down_cursor DO Move down #1 lines. (G*)
cuf parm_right_cursor RI Move right #1 spaces. (G*)
cuf1 cursor_right nd Non-destructive space (cursor or carriage right)
cup cursor_address cm Move to row #1 col #2 (G)
cuu parm_up_cursor UP Move cursor up #1 lines. (G*)
cvr change_res_vert ZD Change vertical resolution (**)
cvvis cursor_visible vs Make cursor very visible
dch parm_dch DC Delete #1 chars (G*)
dch1 delete_character dc Delete character (*)
defc define_char ZE Define a character in a character set
dim enter_dim_mode mh Turn on half-bright mode
dl delete_line dl1 Delete line (*)
dl parm_delete_line DL Delete #1 lines (G*)
do cursor_down do Down one line
docr these_cause_cr Zw Printing any of these chars causes cr
dsl dis_status_line ds Disable status line
ech erase_chars ec Erase #1 characters (G)
ed clr_eos cd Clear to end of display (*)
el clr_eol ce Clear to end of line
el1 clr_bol cb Clear to beginning of line, inclusive
enacs ena_acs eA Enable alternate character set
ff form_feed ff Hardcopy terminal page eject (*)
flash flash_screen vb Visible bell (may not move cursor)
fln label_format Lf Label format
fsl from_status_line fs Return from status line

 Cap-    Variable               Termcap   Description
 name                           code
 acsc    acs_chars              ac        Graphic charset pairs aAbBcC - def=vt100
 bel     bell                   bl        Audible signal (bell)
 blink   enter_blink_mode       mb        Turn on blinking
 bold    enter_bold_mode        md        Turn on bold (extra bright) mode
 cbt     back_tab               bt        Back tab
 chr     change_res_horz        ZC        Change horizontal resolution (**)
 civis   cursor_invisible       vi        Make cursor invisible
 clear   clear_screen           cl        Clear screen and home cursor (*)
 cmdch   command_character      CC        Terminal settable cmd character in prototype
 cnorm   cursor_normal          ve        Make cursor appear normal (undo vs/vi)
 cpi     change_char_pitch      ZA        Change number of characters per inch (**)
 cr      carriage_return        cr        Carriage return (*)
 csnm    char_set_names         Zy        List of character set names
 csr     change_scroll_region   cs        Change to lines #1 through #2 (vt100) (G)
 cub     parm_left_cursor       LE        Move cursor left #1 spaces (G)
 cub1    cursor_left            le        Move left one space.
 cud     parm_down_cursor       DO        Move down #1 lines. (G*)
 cuf     parm_right_cursor      RI        Move right #1 spaces. (G*)
 cuf1    cursor_right           nd        Non-destructive space (cursor or carriage right)
 cup     cursor_address         cm        Move to row #1 col #2 (G)
 cuu     parm_up_cursor         UP        Move cursor up #1 lines. (G*)
 cvr     change_res_vert        ZD        Change vertical resolution (**)
 cvvis   cursor_visible         vs        Make cursor very visible
 dch     parm_dch               DC        Delete #1 chars (G*)
 dch1    delete_character       dc        Delete character (*)
 defc    define_char            ZE        Define a character in a character set
 dim     enter_dim_mode         mh        Turn on half-bright mode
 dl      delete_line            dl1       Delete line (*)
 dl      parm_delete_line       DL        Delete #1 lines (G*)
 do      cursor_down            do        Down one line
 docr    these_cause_cr         Zw        Printing any of these chars causes cr
 dsl     dis_status_line        ds        Disable status line
 ech     erase_chars            ec        Erase #1 characters (G)
 ed      clr_eos                cd        Clear to end of display (*)
 el      clr_eol                ce        Clear to end of line
 el1     clr_bol                cb        Clear to beginning of line, inclusive
 enacs   ena_acs                eA        Enable alternate character set
 ff      form_feed              ff        Hardcopy terminal page eject (*)
 flash   flash_screen           vb        Visible bell (may not move cursor)
 fln     label_format           Lf        Label format
 fsl     from_status_line       fs        Return from status line

hd down_half_line hd Half-line down (forward 1/2 linefeed)
home cursor_home ho Home cursor (if no cup)
hook flash_hook fh Flash the switch hook
hpa column_address ch Horizontal position absolute (G)
ht tab ta Tab to next 8-space hardware tab stop
hts set_tab st Set a tab in all rows, current column
hu up_half_line hu Half-line up (reverse 1/2 linefeed)
hup hangup HU Hang-up phone
ich parm_ich IC Insert #1 blank chars (G*)
ich1 insert_character ic Insert character
if init_file if Name of initialization file
il parm_insert_line AL Add #1 new blank lines (G*)
il1 insert_line al Add new blank line (*)
ind scroll_forward sf Scroll text up
indn parm_index SF Scroll forward #1 lines. (G)
initc initialize_color Ic Initialize the definition of color
initp initialize_pair Ip Initialize color-pair
invis enter_secure_mode mk Turn on blank mode (characters invisible)
ip insert_padding ip Insert pad after character inserted (*)
iprog init_prog iP Path name of program for initialization
is1 init_1string i1 Terminal or printer initialization string
is2 init_2string is Terminal or printer initialization string
is3 init_3string i3 Terminal or printer initialization string
kBEG key_sbeg &9 KEY_SBEG, 0572, sent by shifted beginning key
kCAN key_scancel &0 KEY_SCANCEL, 0573, sent by shifted cancel key
kCMD key_scommand *1 KEY_SCOMMAND, 0574, sent by
shifted command key
kCPY key_scopy *2 KEY_SCOPY, 0575, sent by shifted copy key
kCRT key_screate *3 KEY_SCREATE, 0576, sent by shifted create key
kDC key_sdc *4 KEY_SDC, 0577, sent by shifted delete-char key
kDL key_sdl *5 KEY_SDL, 0600, sent by shifted delete-line key
kEND key_send *7 KEY_SEND, 0602, sent by shifted end key
kEOL key_seol *8 KEY_SEOL, 0603, sent by shifted clear-line key
kEXT key_sexit *9 KEY_SEXIT, 0604, sent by shifted exit key
kFND key_sfind *0 KEY_SFIND, 0605, sent by shifted find key
kHLP key_shelp #1 KEY_SHELP, 0606, sent by shifted help key
kHOM key_shome #2 KEY_SHOME, 0607, sent by shifted home key
kIC key_sic #3 KEY_SIC, 0610, sent by shifted input key
kLFT key_sleft #4 KEY_SLEFT, 0611, sent by shifted left-arrow key
kMOV key_smove b KEY_SMOVE, 0613, sent by shifted move key
kMSG key_smessage %a KEY_SMESSAGE, 0612, sent by
shifted message key
kNXT key_snext %c KEY_SNEXT, 0614, sent by shifted next key
kOPT key_soptions %d KEY_SOPTIONS, 0615, sent by
shifted options key
kPRT key_sprint %f KEY_SPRINT, 0617, sent by shifted print key
kPRV key_sprevious %e KEY_SPREVIOUS, 0616, sent by shifted prev key
kRDO key_sredo %g KEY_SREDO, 0620, sent by shifted redo key
kRES key_srsume %j KEY_SRSUME, 0623, sent by shifted resume key
kRIT key_sright %i KEY_SRIGHT, 0622, sent by shifted right-arrow key
kRPL key_sreplace %h KEY_SREPLACE, 0621, sent by shifted replace key
kSAV key_ssave !1 KEY_SSAVE, 0624, sent by shifted save key
kSPD key_ssuspend !2 KEY_SSUSPEND, 0625, sent by shifted suspend key
kUND key_sundo !3 KEY_SUNDO, 0626, sent by shifted undo key
ka1 key_a1 K1 KEY_A1, 0534, upper left of keypad
ka3 key_a3 K3 KEY_A3, 0535, upper right of keypad
kb2 key_b2 K2 KEY_B2, 0536, center of keypad
kbeg key_beg @1 KEY_BEG, 0542, sent by beg(inning) key
kbs key_backspace kb KEY_BACKSPACE, 0407, sent by backspace key
kc1 key_c1 K4 KEY_C1, 0537, lower left of keypad
kc3 key_c3 K5 KEY_C3, 0540, lower right of keypad
kcan key_cancel @2 KEY_CANCEL, 0543, sent by cancel key
kcbt key_btab kB KEY_BTAB, 0541, sent by back-tab key
kclo key_close @3 KEY_CLOSE, 0544, sent by close key
kclr key_clear kC KEY_CLEAR, 0515, sent by clear-screen or erase key
kcmd key_command @4 KEY_COMMAND, 0545, sent by cmd
(command) key
kcpy key_copy @5 KEY_COPY, 0546, sent by copy key
kcrt key_create @6 KEY_CREATE, 0547, sent by create key
kctab key_ctab kt KEY_CTAB, 0525, sent by clear-tab key
kcub1 key_left kl KEY_LEFT, 0404, sent by terminal left-arrow key
kcud1 key_down kd KEY_DOWN, 0402, sent by terminal
down-arrow key
kcuf1 key_right kr KEY_RIGHT, 0405, sent by terminal right-arrow key
kcuu1 key_up ku KEY_UP, 0403, sent by terminal up-arrow key
kdch1 key_dc kD KEY_DC, 0512, sent by delete-character key
kdl1 key_dl kL KEY_DL, 0510, sent by delete-line key
ked key_eos ked KEY_EOS, 0516, sent by clear-to-end-of-screen key
kel key_eol kE KEY_EOL, 0517, sent by clear-to-end-of-line key
kend key_end @7 KEY_END, 0550, sent by end key
kent key_enter @8 KEY_ENTER, 0527, sent by enter/send key
kext key_exit @9 KEY_EXIT, 0551, sent by exit key
kf0 key_f0 k0 KEY_F(0), 0410, sent by function key f0
kf1 key_f1 k1 KEY_F(C), 0411, sent by function key f1
kf10 key_f10 k; KEY_F(ADM), 0422, sent by function key f10
kf11 key_f11 F1 KEY_F(ADM), 0423, sent by function key f11
kf12 key_f12 F2 KEY_F(ADM), 0424, sent by function key f12
kf13 key_f13 F3 KEY_F(ADM), 0425, sent by function key f13
kf14 key_f14 F4 KEY_F(ADM), 0426, sent by function key f14
kf15 key_f15 F5 KEY_F(ADM), 0427, sent by function key f15
kf16 key_f16 F6 KEY_F(ADM), 0430, sent by function key f16
kf17 key_f17 F7 KEY_F(ADM), 0431, sent by function key f17
kf18 key_f18 F8 KEY_F(ADM), 0432, sent by function key f18
kf19 key_f19 F9 KEY_F(ADM), 0433, sent by function key f19
kf2 key_f2 k2 KEY_F(S), 0412, sent by function key f2
kf20 key_f20 FA KEY_F(20), 0434, sent by function key f20
kf21 key_f21 FB KEY_F(21), 0435, sent by function key f21
kf22 key_f22 FC KEY_F(22), 0436, sent by function key f22
kf23 key_f23 FD KEY_F(23), 0437, sent by function key f23
kf24 key_f24 FE KEY_F(24), 0440, sent by function key f24
kf25 key_f25 FF KEY_F(25), 0441, sent by function key f25
kf26 key_f26 FG KEY_F(26), 0442, sent by function key f26
kf27 key_f27 FH KEY_F(27), 0443, sent by function key f27
kf28 key_f28 FI KEY_F(28), 0444, sent by function key f28
kf29 key_f29 FJ KEY_F(29), 0445, sent by function key f29
kf3 key_f3 k3 KEY_F(S), 0413, sent by function key f3
kf30 key_f30 FK KEY_F(S), 0446, sent by function key f30
kf31 key_f31 FL KEY_F(S), 0447, sent by function key f31
kf32 key_f32 FM KEY_F(S), 0450, sent by function key f32
kf33 key_f33 FN KEY_F(ADM), 0451, sent by function key f33
kf34 key_f34 FO KEY_F(S), 0452, sent by function key f34
kf35 key_f35 FP KEY_F(S), 0453, sent by function key f35
kf36 key_f36 FQ KEY_F(S), 0454, sent by function key f36
kf37 key_f37 FR KEY_F(S), 0455, sent by function key f37
kf38 key_f38 FS KEY_F(S), 0456, sent by function key f38
kf39 key_f39 FT KEY_F(S), 0457, sent by function key f39
kf4 key_f4 k4 KEY_F(F), 0414, sent by function key f4
kf40 key_f40 FU KEY_F(40), 0460, sent by function key f40
kf41 key_f41 FV KEY_F(41), 0461, sent by function key f41
kf42 key_f42 FW KEY_F(42), 0462, sent by function key f42
kf43 key_f43 FX KEY_F(43), 0463, sent by function key f43
kf44 key_f44 FY KEY_F(44), 0464, sent by function key f44
kf45 key_f45 FZ KEY_F(45), 0465, sent by function key f45
kf46 key_f46 Fa KEY_F(46), 0466, sent by function key f46
kf47 key_f47 Fb KEY_F(47), 0467, sent by function key f47
kf48 key_f48 Fc KEY_F(48), 0470, sent by function key f48