package terminfo
Import Path
github.com/xo/terminfo (on go.dev)
Dependency Relation
imports 11 packages, and imported by 2 packages
Involved Source Files
caps.go
capvals.go
color.go
dec.go
load.go
param.go
stack.go
Package terminfo implements reading terminfo files in pure go.
Package-Level Type Names (total 7, in which 3 are exported)
ColorLevel is the color level supported by a terminal.
ChromaFormatterName returns the github.com/alecthomas/chroma compatible
formatter name for the color level.
String satisfies the Stringer interface.
ColorLevel : expvar.Var
ColorLevel : fmt.Stringer
ColorLevel : context.stringer
ColorLevel : os/signal.stringer
ColorLevel : runtime.stringer
func ColorLevelFromEnv() (ColorLevel, error)
const ColorLevelBasic
const ColorLevelHundreds
const ColorLevelMillions
const ColorLevelNone
Error is a terminfo error.
Error satisfies the error interface.
Error : error
const ErrDatabaseDirectoryNotFound
const ErrEmptyTermName
const ErrFileNotFound
const ErrInvalidExtendedHeader
const ErrInvalidFileSize
const ErrInvalidHeader
const ErrInvalidMagic
const ErrInvalidNames
const ErrInvalidStringTable
const ErrInvalidTermProgramVersion
const ErrUnexpectedFileEnd
Terminfo describes a terminal's capabilities.
Bools are the bool capabilities.
BoolsM are the missing bool capabilities.
ExtBoolsNames is the map of extended bool capabilities to their index.
ExtBools are the extended bool capabilities.
ExtNumsNames is the map of extended num capabilities to their index.
ExtNums are the extended num capabilities.
ExtStringsNames is the map of extended string capabilities to their index.
ExtStrings are the extended string capabilities.
File is the original source file.
Names are the provided cap names.
Nums are the num capabilities.
NumsM are the missing num capabilities.
Strings are the string capabilities.
StringsM are the missing string capabilities.
BoolCaps returns all bool capabilities.
BoolCapsShort returns all bool capabilities, using the short name as the
index.
Color takes a foreground and background color and returns string that sets
them for this terminal.
ExtBoolCaps returns all extended bool capabilities.
ExtBoolCapsShort returns all extended bool capabilities, using the short
name as the index.
ExtNumCaps returns all extended num capabilities.
ExtNumCapsShort returns all extended num capabilities, using the short
name as the index.
ExtStringCaps returns all extended string capabilities.
ExtStringCapsShort returns all extended string capabilities, using the short
name as the index.
Fprintf prints the string cap i to writer w, interpolating parameters v.
Goto returns a string suitable for addressing the cursor at the given
row and column. The origin 0, 0 is in the upper left corner of the screen.
Has determines if the bool cap i is present.
Num returns the num cap i, or -1 if not present.
NumCaps returns all num capabilities.
NumCapsShort returns all num capabilities, using the short name as the
index.
Printf formats the string cap i, interpolating parameters v.
StringCaps returns all string capabilities.
StringCapsShort returns all string capabilities, using the short name as the
index.
boolCaps returns all bool and extended capabilities using f to format the
index key.
numCaps returns all num and extended capabilities using f to format the
index key.
stringCaps returns all string and extended capabilities using f to format the
index key.
func Decode(buf []byte) (*Terminfo, error)
func Load(name string) (*Terminfo, error)
func LoadFromEnv() (*Terminfo, error)
func Open(dir, name string) (*Terminfo, error)
Package-Level Functions (total 21, in which 13 are exported)
BoolCapName returns the bool capability name.
BoolCapNameShort returns the short bool capability name.
ColorLevelFromEnv returns the color level COLORTERM, FORCE_COLOR,
TERM_PROGRAM, or determined from the TERM environment variable.
Decode decodes the terminfo data contained in buf.
Fprintf evaluates a parameterized terminfo value z, interpolating params and
writing to w.
Load follows the behavior described in terminfo(5) to find correct the
terminfo file using the name, reads the file and then returns a Terminfo
struct that describes the file.
LoadFromEnv loads the terminal info based on the name contained in
environment variable TERM.
NumCapName returns the num capability name.
NumCapNameShort returns the short num capability name.
Open reads the terminfo file name from the specified directory dir.
Printf evaluates a parameterized terminfo value z, interpolating params.
StringCapName returns the string capability name.
StringCapNameShort returns the short string capability name.
Package-Level Variables (total 6, none are exported)
Package-Level Constants (total 529, in which 515 are exported)
The AcsBtee [acs_btee, OTGU] string capability is the tee pointing up.
The AcsChars [acs_chars, acsc] string capability is the graphics charset pairs, based on vt100.
The AcsHline [acs_hline, OTGH] string capability is the single horizontal line.
The AcsLlcorner [acs_llcorner, OTG3] string capability is the single lower left.
The AcsLrcorner [acs_lrcorner, OTG4] string capability is the single lower right.
The AcsLtee [acs_ltee, OTGR] string capability is the tee pointing right.
The AcsPlus [acs_plus, OTGC] string capability is the single intersection.
The AcsRtee [acs_rtee, OTGL] string capability is the tee pointing left.
The AcsTtee [acs_ttee, OTGD] string capability is the tee pointing down.
The AcsUlcorner [acs_ulcorner, OTG2] string capability is the single upper left.
The AcsUrcorner [acs_urcorner, OTG1] string capability is the single upper right.
The AcsVline [acs_vline, OTGV] string capability is the single vertical line.
The AltScancodeEsc [alt_scancode_esc, scesa] string capability is the Alternate escape for scancode emulation.
The ArrowKeyMap [arrow_key_map, OTma] string capability is the map motion-keys for vi version 2.
The AutoLeftMargin [auto_left_margin, bw] bool capability indicates cub1 wraps from column 0 to last column.
The AutoRightMargin [auto_right_margin, am] bool capability indicates terminal has automatic margins.
The BackColorErase [back_color_erase, bce] bool capability indicates screen erased with background color.
The BackspaceDelay [backspace_delay, OTdB] num capability is padding required for ^H.
The BackspaceIfNotBs [backspace_if_not_bs, OTbc] string capability is the move left, if not ^H.
The BackspacesWithBs [backspaces_with_bs, OTbs] bool capability indicates uses ^H to move left.
The BackTab [back_tab, cbt] string capability is the back tab (P).
The Bell [bell, bel] string capability is the audible signal (bell) (P).
The BitImageCarriageReturn [bit_image_carriage_return, bicr] string capability is the Move to beginning of same row.
The BitImageEntwining [bit_image_entwining, bitwin] num capability is number of passes for each bit-image row.
The BitImageNewline [bit_image_newline, binel] string capability is the Move to next row of the bit image.
The BitImageRepeat [bit_image_repeat, birep] string capability is the Repeat bit image cell #1 #2 times.
The BitImageType [bit_image_type, bitype] num capability is type of bit-image device.
The BoxChars1 [box_chars_1, box1] string capability is the box characters primary set.
The BufferCapacity [buffer_capacity, bufsz] num capability is numbers of bytes buffered before printing.
The Buttons [buttons, btns] num capability is number of buttons on mouse.
The CanChange [can_change, ccc] bool capability indicates terminal can re-define existing colors.
CapCountBool is the count of bool capabilities.
CapCountNum is the count of num capabilities.
CapCountString is the count of string capabilities.
The CarriageReturn [carriage_return, cr] string capability is the carriage return (P*) (P*).
The CarriageReturnDelay [carriage_return_delay, OTdC] num capability is pad needed for CR.
The CeolStandoutGlitch [ceol_standout_glitch, xhp] bool capability indicates standout not erased by overwriting (hp).
The ChangeCharPitch [change_char_pitch, cpi] string capability is the Change number of characters per inch to #1.
The ChangeLinePitch [change_line_pitch, lpi] string capability is the Change number of lines per inch to #1.
The ChangeResHorz [change_res_horz, chr] string capability is the Change horizontal resolution to #1.
The ChangeResVert [change_res_vert, cvr] string capability is the Change vertical resolution to #1.
The ChangeScrollRegion [change_scroll_region, csr] string capability is the change region to line #1 to line #2 (P).
The CharPadding [char_padding, rmp] string capability is the like ip but when in insert mode.
The CharSetNames [char_set_names, csnm] string capability is the Produce #1'th item from list of character set names.
The ClearAllTabs [clear_all_tabs, tbc] string capability is the clear all tab stops (P).
The ClearMargins [clear_margins, mgc] string capability is the clear right and left soft margins.
The ClearScreen [clear_screen, clear] string capability is the clear screen and home cursor (P*).
The ClrBol [clr_bol, el1] string capability is the Clear to beginning of line.
The ClrEol [clr_eol, el] string capability is the clear to end of line (P).
The ClrEos [clr_eos, ed] string capability is the clear to end of screen (P*).
The CodeSetInit [code_set_init, csin] string capability is the Init sequence for multiple codesets.
The ColAddrGlitch [col_addr_glitch, xhpa] bool capability indicates only positive motion for hpa/mhpa caps.
ColorLevel values.
ColorLevel values.
ColorLevel values.
ColorLevel values.
The ColorNames [color_names, colornm] string capability is the Give name for color #1.
The ColumnAddress [column_address, hpa] string capability is the horizontal position #1, absolute (P).
The Columns [columns, cols] num capability is number of columns in a line.
The CommandCharacter [command_character, cmdch] string capability is the terminal settable cmd character in prototype !?.
The CpiChangesRes [cpi_changes_res, cpix] bool capability indicates changing character pitch changes resolution.
The CrCancelsMicroMode [cr_cancels_micro_mode, crxm] bool capability indicates using cr turns off micro mode.
The CreateWindow [create_window, cwin] string capability is the define a window #1 from #2,#3 to #4,#5.
The CrtNoScrolling [crt_no_scrolling, OTns] bool capability indicates crt cannot scroll.
The CursorAddress [cursor_address, cup] string capability is the move to row #1 columns #2.
The CursorDown [cursor_down, cud1] string capability is the down one line.
The CursorHome [cursor_home, home] string capability is the home cursor (if no cup).
The CursorInvisible [cursor_invisible, civis] string capability is the make cursor invisible.
The CursorLeft [cursor_left, cub1] string capability is the move left one space.
The CursorMemAddress [cursor_mem_address, mrcup] string capability is the memory relative cursor addressing, move to row #1 columns #2.
The CursorNormal [cursor_normal, cnorm] string capability is the make cursor appear normal (undo civis/cvvis).
The CursorRight [cursor_right, cuf1] string capability is the non-destructive space (move right one space).
The CursorToLl [cursor_to_ll, ll] string capability is the last line, first column (if no cup).
The CursorUp [cursor_up, cuu1] string capability is the up one line.
The CursorVisible [cursor_visible, cvvis] string capability is the make cursor very visible.
The DefineBitImageRegion [define_bit_image_region, defbi] string capability is the Define rectangular bit image region.
The DefineChar [define_char, defc] string capability is the Define a character #1, #2 dots wide, descender #3.
The DeleteCharacter [delete_character, dch1] string capability is the delete character (P*).
The DeleteLine [delete_line, dl1] string capability is the delete line (P*).
The DestTabsMagicSmso [dest_tabs_magic_smso, xt] bool capability indicates tabs destructive, magic so char (t1061).
The DeviceType [device_type, devt] string capability is the Indicate language/codeset support.
The DialPhone [dial_phone, dial] string capability is the dial number #1.
The DisplayClock [display_clock, dclk] string capability is the display clock.
The DisplayPcChar [display_pc_char, dispc] string capability is the Display PC character #1.
The DisStatusLine [dis_status_line, dsl] string capability is the disable status line.
The DotHorzSpacing [dot_horz_spacing, spinh] num capability is spacing of dots horizontally in dots per inch.
The DotVertSpacing [dot_vert_spacing, spinv] num capability is spacing of pins vertically in pins per inch.
The DownHalfLine [down_half_line, hd] string capability is the half a line down.
The EatNewlineGlitch [eat_newline_glitch, xenl] bool capability indicates newline ignored after 80 cols (concept).
The EnaAcs [ena_acs, enacs] string capability is the enable alternate char set.
The EndBitImageRegion [end_bit_image_region, endbi] string capability is the End a bit-image region.
The EnterAltCharsetMode [enter_alt_charset_mode, smacs] string capability is the start alternate character set (P).
The EnterAmMode [enter_am_mode, smam] string capability is the turn on automatic margins.
The EnterBlinkMode [enter_blink_mode, blink] string capability is the turn on blinking.
The EnterBoldMode [enter_bold_mode, bold] string capability is the turn on bold (extra bright) mode.
The EnterCaMode [enter_ca_mode, smcup] string capability is the string to start programs using cup.
The EnterDeleteMode [enter_delete_mode, smdc] string capability is the enter delete mode.
The EnterDimMode [enter_dim_mode, dim] string capability is the turn on half-bright mode.
The EnterDoublewideMode [enter_doublewide_mode, swidm] string capability is the Enter double-wide mode.
The EnterDraftQuality [enter_draft_quality, sdrfq] string capability is the Enter draft-quality mode.
The EnterHorizontalHlMode [enter_horizontal_hl_mode, ehhlm] string capability is the Enter horizontal highlight mode.
The EnterInsertMode [enter_insert_mode, smir] string capability is the enter insert mode.
The EnterItalicsMode [enter_italics_mode, sitm] string capability is the Enter italic mode.
The EnterLeftHlMode [enter_left_hl_mode, elhlm] string capability is the Enter left highlight mode.
The EnterLeftwardMode [enter_leftward_mode, slm] string capability is the Start leftward carriage motion.
The EnterLowHlMode [enter_low_hl_mode, elohlm] string capability is the Enter low highlight mode.
The EnterMicroMode [enter_micro_mode, smicm] string capability is the Start micro-motion mode.
The EnterNearLetterQuality [enter_near_letter_quality, snlq] string capability is the Enter NLQ mode.
The EnterNormalQuality [enter_normal_quality, snrmq] string capability is the Enter normal-quality mode.
The EnterPcCharsetMode [enter_pc_charset_mode, smpch] string capability is the Enter PC character display mode.
The EnterProtectedMode [enter_protected_mode, prot] string capability is the turn on protected mode.
The EnterReverseMode [enter_reverse_mode, rev] string capability is the turn on reverse video mode.
The EnterRightHlMode [enter_right_hl_mode, erhlm] string capability is the Enter right highlight mode.
The EnterScancodeMode [enter_scancode_mode, smsc] string capability is the Enter PC scancode mode.
The EnterSecureMode [enter_secure_mode, invis] string capability is the turn on blank mode (characters invisible).
The EnterShadowMode [enter_shadow_mode, sshm] string capability is the Enter shadow-print mode.
The EnterStandoutMode [enter_standout_mode, smso] string capability is the begin standout mode.
The EnterSubscriptMode [enter_subscript_mode, ssubm] string capability is the Enter subscript mode.
The EnterSuperscriptMode [enter_superscript_mode, ssupm] string capability is the Enter superscript mode.
The EnterTopHlMode [enter_top_hl_mode, ethlm] string capability is the Enter top highlight mode.
The EnterUnderlineMode [enter_underline_mode, smul] string capability is the begin underline mode.
The EnterUpwardMode [enter_upward_mode, sum] string capability is the Start upward carriage motion.
The EnterVerticalHlMode [enter_vertical_hl_mode, evhlm] string capability is the Enter vertical highlight mode.
The EnterXonMode [enter_xon_mode, smxon] string capability is the turn on xon/xoff handshaking.
The EraseChars [erase_chars, ech] string capability is the erase #1 characters (P).
The EraseOverstrike [erase_overstrike, eo] bool capability indicates can erase overstrikes with a blank.
ErrDatabaseDirectoryNotFound is the database directory not found error.
ErrEmptyTermName is the empty term name error.
ErrFileNotFound is the file not found error.
ErrInvalidExtendedHeader is the invalid extended header error.
ErrInvalidFileSize is the invalid file size error.
ErrInvalidHeader is the invalid header error.
ErrInvalidMagic is the invalid magic error.
ErrInvalidNames is the invalid names error.
ErrInvalidStringTable is the invalid string table error.
ErrInvalidTermProgramVersion is the invalid TERM_PROGRAM_VERSION error.
ErrUnexpectedFileEnd is the unexpected file end error.
The ExitAltCharsetMode [exit_alt_charset_mode, rmacs] string capability is the end alternate character set (P).
The ExitAmMode [exit_am_mode, rmam] string capability is the turn off automatic margins.
The ExitAttributeMode [exit_attribute_mode, sgr0] string capability is the turn off all attributes.
The ExitCaMode [exit_ca_mode, rmcup] string capability is the strings to end programs using cup.
The ExitDeleteMode [exit_delete_mode, rmdc] string capability is the end delete mode.
The ExitDoublewideMode [exit_doublewide_mode, rwidm] string capability is the End double-wide mode.
The ExitInsertMode [exit_insert_mode, rmir] string capability is the exit insert mode.
The ExitItalicsMode [exit_italics_mode, ritm] string capability is the End italic mode.
The ExitLeftwardMode [exit_leftward_mode, rlm] string capability is the End left-motion mode.
The ExitMicroMode [exit_micro_mode, rmicm] string capability is the End micro-motion mode.
The ExitPcCharsetMode [exit_pc_charset_mode, rmpch] string capability is the Exit PC character display mode.
The ExitScancodeMode [exit_scancode_mode, rmsc] string capability is the Exit PC scancode mode.
The ExitShadowMode [exit_shadow_mode, rshm] string capability is the End shadow-print mode.
The ExitStandoutMode [exit_standout_mode, rmso] string capability is the exit standout mode.
The ExitSubscriptMode [exit_subscript_mode, rsubm] string capability is the End subscript mode.
The ExitSuperscriptMode [exit_superscript_mode, rsupm] string capability is the End superscript mode.
The ExitUnderlineMode [exit_underline_mode, rmul] string capability is the exit underline mode.
The ExitUpwardMode [exit_upward_mode, rum] string capability is the End reverse character motion.
The ExitXonMode [exit_xon_mode, rmxon] string capability is the turn off xon/xoff handshaking.
The FixedPause [fixed_pause, pause] string capability is the pause for 2-3 seconds.
The FlashHook [flash_hook, hook] string capability is the flash switch hook.
The FlashScreen [flash_screen, flash] string capability is the visible bell (may not move cursor).
The FormFeed [form_feed, ff] string capability is the hardcopy terminal page eject (P*).
The FromStatusLine [from_status_line, fsl] string capability is the return from status line.
The GenericType [generic_type, gn] bool capability indicates generic line type.
The GetMouse [get_mouse, getm] string capability is the Curses should get button events, parameter #1 not documented.
The GnuHasMetaKey [gnu_has_meta_key, OTMT] bool capability indicates has meta key.
The GotoWindow [goto_window, wingo] string capability is the go to window #1.
The Hangup [hangup, hup] string capability is the hang-up phone.
The HardCopy [hard_copy, hc] bool capability indicates hardcopy terminal.
The HardCursor [hard_cursor, chts] bool capability indicates cursor is hard to see.
The HasHardwareTabs [has_hardware_tabs, OTpt] bool capability indicates has 8-char tabs invoked with ^I.
The HasMetaKey [has_meta_key, km] bool capability indicates Has a meta key (i.e., sets 8th-bit).
The HasPrintWheel [has_print_wheel, daisy] bool capability indicates printer needs operator to change character set.
The HasStatusLine [has_status_line, hs] bool capability indicates has extra status line.
The HorizontalTabDelay [horizontal_tab_delay, OTdT] num capability is padding required for ^I.
The HueLightnessSaturation [hue_lightness_saturation, hls] bool capability indicates terminal uses only HLS color notation (Tektronix).
The Init1string [init_1string, is1] string capability is the initialization string.
The Init2string [init_2string, is2] string capability is the initialization string.
The Init3string [init_3string, is3] string capability is the initialization string.
The InitFile [init_file, if] string capability is the name of initialization file.
The InitializeColor [initialize_color, initc] string capability is the initialize color #1 to (#2,#3,#4).
The InitializePair [initialize_pair, initp] string capability is the Initialize color pair #1 to fg=(#2,#3,#4), bg=(#5,#6,#7).
The InitProg [init_prog, iprog] string capability is the path name of program for initialization.
The InitTabs [init_tabs, it] num capability is tabs initially every # spaces.
The InsertCharacter [insert_character, ich1] string capability is the insert character (P).
The InsertLine [insert_line, il1] string capability is the insert line (P*).
The InsertNullGlitch [insert_null_glitch, in] bool capability indicates insert mode distinguishes nulls.
The InsertPadding [insert_padding, ip] string capability is the insert padding after inserted character.
The KeyA1 [key_a1, ka1] string capability is the upper left of keypad.
The KeyA3 [key_a3, ka3] string capability is the upper right of keypad.
The KeyB2 [key_b2, kb2] string capability is the center of keypad.
The KeyBackspace [key_backspace, kbs] string capability is the backspace key.
The KeyBeg [key_beg, kbeg] string capability is the begin key.
The KeyBtab [key_btab, kcbt] string capability is the back-tab key.
The KeyC1 [key_c1, kc1] string capability is the lower left of keypad.
The KeyC3 [key_c3, kc3] string capability is the lower right of keypad.
The KeyCancel [key_cancel, kcan] string capability is the cancel key.
The KeyCatab [key_catab, ktbc] string capability is the clear-all-tabs key.
The KeyClear [key_clear, kclr] string capability is the clear-screen or erase key.
The KeyClose [key_close, kclo] string capability is the close key.
The KeyCommand [key_command, kcmd] string capability is the command key.
The KeyCopy [key_copy, kcpy] string capability is the copy key.
The KeyCreate [key_create, kcrt] string capability is the create key.
The KeyCtab [key_ctab, kctab] string capability is the clear-tab key.
The KeyDc [key_dc, kdch1] string capability is the delete-character key.
The KeyDl [key_dl, kdl1] string capability is the delete-line key.
The KeyDown [key_down, kcud1] string capability is the down-arrow key.
The KeyEic [key_eic, krmir] string capability is the sent by rmir or smir in insert mode.
The KeyEnd [key_end, kend] string capability is the end key.
The KeyEnter [key_enter, kent] string capability is the enter/send key.
The KeyEol [key_eol, kel] string capability is the clear-to-end-of-line key.
The KeyEos [key_eos, ked] string capability is the clear-to-end-of-screen key.
The KeyExit [key_exit, kext] string capability is the exit key.
The KeyF0 [key_f0, kf0] string capability is the F0 function key.
The KeyF1 [key_f1, kf1] string capability is the F1 function key.
The KeyF10 [key_f10, kf10] string capability is the F10 function key.
The KeyF11 [key_f11, kf11] string capability is the F11 function key.
The KeyF12 [key_f12, kf12] string capability is the F12 function key.
The KeyF13 [key_f13, kf13] string capability is the F13 function key.
The KeyF14 [key_f14, kf14] string capability is the F14 function key.
The KeyF15 [key_f15, kf15] string capability is the F15 function key.
The KeyF16 [key_f16, kf16] string capability is the F16 function key.
The KeyF17 [key_f17, kf17] string capability is the F17 function key.
The KeyF18 [key_f18, kf18] string capability is the F18 function key.
The KeyF19 [key_f19, kf19] string capability is the F19 function key.
The KeyF2 [key_f2, kf2] string capability is the F2 function key.
The KeyF20 [key_f20, kf20] string capability is the F20 function key.
The KeyF21 [key_f21, kf21] string capability is the F21 function key.
The KeyF22 [key_f22, kf22] string capability is the F22 function key.
The KeyF23 [key_f23, kf23] string capability is the F23 function key.
The KeyF24 [key_f24, kf24] string capability is the F24 function key.
The KeyF25 [key_f25, kf25] string capability is the F25 function key.
The KeyF26 [key_f26, kf26] string capability is the F26 function key.
The KeyF27 [key_f27, kf27] string capability is the F27 function key.
The KeyF28 [key_f28, kf28] string capability is the F28 function key.
The KeyF29 [key_f29, kf29] string capability is the F29 function key.
The KeyF3 [key_f3, kf3] string capability is the F3 function key.
The KeyF30 [key_f30, kf30] string capability is the F30 function key.
The KeyF31 [key_f31, kf31] string capability is the F31 function key.
The KeyF32 [key_f32, kf32] string capability is the F32 function key.
The KeyF33 [key_f33, kf33] string capability is the F33 function key.
The KeyF34 [key_f34, kf34] string capability is the F34 function key.
The KeyF35 [key_f35, kf35] string capability is the F35 function key.
The KeyF36 [key_f36, kf36] string capability is the F36 function key.
The KeyF37 [key_f37, kf37] string capability is the F37 function key.
The KeyF38 [key_f38, kf38] string capability is the F38 function key.
The KeyF39 [key_f39, kf39] string capability is the F39 function key.
The KeyF4 [key_f4, kf4] string capability is the F4 function key.
The KeyF40 [key_f40, kf40] string capability is the F40 function key.
The KeyF41 [key_f41, kf41] string capability is the F41 function key.
The KeyF42 [key_f42, kf42] string capability is the F42 function key.
The KeyF43 [key_f43, kf43] string capability is the F43 function key.
The KeyF44 [key_f44, kf44] string capability is the F44 function key.
The KeyF45 [key_f45, kf45] string capability is the F45 function key.
The KeyF46 [key_f46, kf46] string capability is the F46 function key.
The KeyF47 [key_f47, kf47] string capability is the F47 function key.
The KeyF48 [key_f48, kf48] string capability is the F48 function key.
The KeyF49 [key_f49, kf49] string capability is the F49 function key.
The KeyF5 [key_f5, kf5] string capability is the F5 function key.
The KeyF50 [key_f50, kf50] string capability is the F50 function key.
The KeyF51 [key_f51, kf51] string capability is the F51 function key.
The KeyF52 [key_f52, kf52] string capability is the F52 function key.
The KeyF53 [key_f53, kf53] string capability is the F53 function key.
The KeyF54 [key_f54, kf54] string capability is the F54 function key.
The KeyF55 [key_f55, kf55] string capability is the F55 function key.
The KeyF56 [key_f56, kf56] string capability is the F56 function key.
The KeyF57 [key_f57, kf57] string capability is the F57 function key.
The KeyF58 [key_f58, kf58] string capability is the F58 function key.
The KeyF59 [key_f59, kf59] string capability is the F59 function key.
The KeyF6 [key_f6, kf6] string capability is the F6 function key.
The KeyF60 [key_f60, kf60] string capability is the F60 function key.
The KeyF61 [key_f61, kf61] string capability is the F61 function key.
The KeyF62 [key_f62, kf62] string capability is the F62 function key.
The KeyF63 [key_f63, kf63] string capability is the F63 function key.
The KeyF7 [key_f7, kf7] string capability is the F7 function key.
The KeyF8 [key_f8, kf8] string capability is the F8 function key.
The KeyF9 [key_f9, kf9] string capability is the F9 function key.
The KeyFind [key_find, kfnd] string capability is the find key.
The KeyHelp [key_help, khlp] string capability is the help key.
The KeyHome [key_home, khome] string capability is the home key.
The KeyIc [key_ic, kich1] string capability is the insert-character key.
The KeyIl [key_il, kil1] string capability is the insert-line key.
The KeyLeft [key_left, kcub1] string capability is the left-arrow key.
The KeyLl [key_ll, kll] string capability is the lower-left key (home down).
The KeyMark [key_mark, kmrk] string capability is the mark key.
The KeyMessage [key_message, kmsg] string capability is the message key.
The KeyMouse [key_mouse, kmous] string capability is the Mouse event has occurred.
The KeyMove [key_move, kmov] string capability is the move key.
The KeyNext [key_next, knxt] string capability is the next key.
The KeyNpage [key_npage, knp] string capability is the next-page key.
The KeyOpen [key_open, kopn] string capability is the open key.
The KeyOptions [key_options, kopt] string capability is the options key.
The KeypadLocal [keypad_local, rmkx] string capability is the leave 'keyboard_transmit' mode.
The KeypadXmit [keypad_xmit, smkx] string capability is the enter 'keyboard_transmit' mode.
The KeyPpage [key_ppage, kpp] string capability is the previous-page key.
The KeyPrevious [key_previous, kprv] string capability is the previous key.
The KeyPrint [key_print, kprt] string capability is the print key.
The KeyRedo [key_redo, krdo] string capability is the redo key.
The KeyReference [key_reference, kref] string capability is the reference key.
The KeyRefresh [key_refresh, krfr] string capability is the refresh key.
The KeyReplace [key_replace, krpl] string capability is the replace key.
The KeyRestart [key_restart, krst] string capability is the restart key.
The KeyResume [key_resume, kres] string capability is the resume key.
The KeyRight [key_right, kcuf1] string capability is the right-arrow key.
The KeySave [key_save, ksav] string capability is the save key.
The KeySbeg [key_sbeg, kBEG] string capability is the shifted begin key.
The KeyScancel [key_scancel, kCAN] string capability is the shifted cancel key.
The KeyScommand [key_scommand, kCMD] string capability is the shifted command key.
The KeyScopy [key_scopy, kCPY] string capability is the shifted copy key.
The KeyScreate [key_screate, kCRT] string capability is the shifted create key.
The KeySdc [key_sdc, kDC] string capability is the shifted delete-character key.
The KeySdl [key_sdl, kDL] string capability is the shifted delete-line key.
The KeySelect [key_select, kslt] string capability is the select key.
The KeySend [key_send, kEND] string capability is the shifted end key.
The KeySeol [key_seol, kEOL] string capability is the shifted clear-to-end-of-line key.
The KeySexit [key_sexit, kEXT] string capability is the shifted exit key.
The KeySf [key_sf, kind] string capability is the scroll-forward key.
The KeySfind [key_sfind, kFND] string capability is the shifted find key.
The KeyShelp [key_shelp, kHLP] string capability is the shifted help key.
The KeyShome [key_shome, kHOM] string capability is the shifted home key.
The KeySic [key_sic, kIC] string capability is the shifted insert-character key.
The KeySleft [key_sleft, kLFT] string capability is the shifted left-arrow key.
The KeySmessage [key_smessage, kMSG] string capability is the shifted message key.
The KeySmove [key_smove, kMOV] string capability is the shifted move key.
The KeySnext [key_snext, kNXT] string capability is the shifted next key.
The KeySoptions [key_soptions, kOPT] string capability is the shifted options key.
The KeySprevious [key_sprevious, kPRV] string capability is the shifted previous key.
The KeySprint [key_sprint, kPRT] string capability is the shifted print key.
The KeySr [key_sr, kri] string capability is the scroll-backward key.
The KeySredo [key_sredo, kRDO] string capability is the shifted redo key.
The KeySreplace [key_sreplace, kRPL] string capability is the shifted replace key.
The KeySright [key_sright, kRIT] string capability is the shifted right-arrow key.
The KeySrsume [key_srsume, kRES] string capability is the shifted resume key.
The KeySsave [key_ssave, kSAV] string capability is the shifted save key.
The KeySsuspend [key_ssuspend, kSPD] string capability is the shifted suspend key.
The KeyStab [key_stab, khts] string capability is the set-tab key.
The KeySundo [key_sundo, kUND] string capability is the shifted undo key.
The KeySuspend [key_suspend, kspd] string capability is the suspend key.
The KeyUndo [key_undo, kund] string capability is the undo key.
The KeyUp [key_up, kcuu1] string capability is the up-arrow key.
The LabelFormat [label_format, fln] string capability is the label format.
The LabelHeight [label_height, lh] num capability is rows in each label.
The LabelOff [label_off, rmln] string capability is the turn off soft labels.
The LabelOn [label_on, smln] string capability is the turn on soft labels.
The LabelWidth [label_width, lw] num capability is columns in each label.
The LabF0 [lab_f0, lf0] string capability is the label on function key f0 if not f0.
The LabF1 [lab_f1, lf1] string capability is the label on function key f1 if not f1.
The LabF10 [lab_f10, lf10] string capability is the label on function key f10 if not f10.
The LabF2 [lab_f2, lf2] string capability is the label on function key f2 if not f2.
The LabF3 [lab_f3, lf3] string capability is the label on function key f3 if not f3.
The LabF4 [lab_f4, lf4] string capability is the label on function key f4 if not f4.
The LabF5 [lab_f5, lf5] string capability is the label on function key f5 if not f5.
The LabF6 [lab_f6, lf6] string capability is the label on function key f6 if not f6.
The LabF7 [lab_f7, lf7] string capability is the label on function key f7 if not f7.
The LabF8 [lab_f8, lf8] string capability is the label on function key f8 if not f8.
The LabF9 [lab_f9, lf9] string capability is the label on function key f9 if not f9.
The LinefeedIfNotLf [linefeed_if_not_lf, OTnl] string capability is the use to move down.
The LinefeedIsNewline [linefeed_is_newline, OTNL] bool capability indicates move down with \n.
The Lines [lines, lines] num capability is number of lines on screen or page.
The LinesOfMemory [lines_of_memory, lm] num capability is lines of memory if > line. 0 means varies.
The LpiChangesRes [lpi_changes_res, lpix] bool capability indicates changing line pitch changes resolution.
The MagicCookieGlitch [magic_cookie_glitch, xmc] num capability is number of blank characters left by smso or rmso.
The MagicCookieGlitchUl [magic_cookie_glitch_ul, OTug] num capability is number of blanks left by ul.
The MaxAttributes [max_attributes, ma] num capability is maximum combined attributes terminal can handle.
The MaxColors [max_colors, colors] num capability is maximum number of colors on screen.
The MaximumWindows [maximum_windows, wnum] num capability is maximum number of definable windows.
The MaxMicroAddress [max_micro_address, maddr] num capability is maximum value in micro_..._address.
The MaxMicroJump [max_micro_jump, mjump] num capability is maximum value in parm_..._micro.
The MaxPairs [max_pairs, pairs] num capability is maximum number of color-pairs on the screen.
The MemoryAbove [memory_above, da] bool capability indicates display may be retained above the screen.
The MemoryBelow [memory_below, db] bool capability indicates display may be retained below the screen.
The MemoryLock [memory_lock, meml] string capability is the lock memory above cursor.
The MemoryUnlock [memory_unlock, memu] string capability is the unlock memory.
The MetaOff [meta_off, rmm] string capability is the turn off meta mode.
The MetaOn [meta_on, smm] string capability is the turn on meta mode (8th-bit on).
The MicroColSize [micro_col_size, mcs] num capability is character step size when in micro mode.
The MicroColumnAddress [micro_column_address, mhpa] string capability is the Like column_address in micro mode.
The MicroDown [micro_down, mcud1] string capability is the Like cursor_down in micro mode.
The MicroLeft [micro_left, mcub1] string capability is the Like cursor_left in micro mode.
The MicroLineSize [micro_line_size, mls] num capability is line step size when in micro mode.
The MicroRight [micro_right, mcuf1] string capability is the Like cursor_right in micro mode.
The MicroRowAddress [micro_row_address, mvpa] string capability is the Like row_address #1 in micro mode.
The MicroUp [micro_up, mcuu1] string capability is the Like cursor_up in micro mode.
The MouseInfo [mouse_info, minfo] string capability is the Mouse status information.
The MoveInsertMode [move_insert_mode, mir] bool capability indicates safe to move while in insert mode.
The MoveStandoutMode [move_standout_mode, msgr] bool capability indicates safe to move while in standout mode.
The NeedsXonXoff [needs_xon_xoff, nxon] bool capability indicates padding will not work, xon/xoff required.
The Newline [newline, nel] string capability is the newline (behave like cr followed by lf).
The NewLineDelay [new_line_delay, OTdN] num capability is pad needed for LF.
The NoColorVideo [no_color_video, ncv] num capability is video attributes that cannot be used with colors.
The NoCorrectlyWorkingCr [no_correctly_working_cr, OTnc] bool capability indicates no way to go to start of line.
The NoEscCtlc [no_esc_ctlc, xsb] bool capability indicates beehive (f1=escape, f2=ctrl C).
The NonDestScrollRegion [non_dest_scroll_region, ndscr] bool capability indicates scrolling region is non-destructive.
The NonRevRmcup [non_rev_rmcup, nrrmc] bool capability indicates smcup does not reverse rmcup.
The NoPadChar [no_pad_char, npc] bool capability indicates pad character does not exist.
The NumberOfFunctionKeys [number_of_function_keys, OTkn] num capability is count of function keys.
The NumberOfPins [number_of_pins, npins] num capability is numbers of pins in print-head.
The NumLabels [num_labels, nlab] num capability is number of labels on screen.
The OrderOfPins [order_of_pins, porder] string capability is the Match software bits to print-head pins.
The OrigColors [orig_colors, oc] string capability is the Set all color pairs to the original ones.
The OrigPair [orig_pair, op] string capability is the Set default pair to its original value.
The OtherNonFunctionKeys [other_non_function_keys, OTko] string capability is the list of self-mapped keycaps.
The OutputResChar [output_res_char, orc] num capability is horizontal resolution in units per line.
The OutputResHorzInch [output_res_horz_inch, orhi] num capability is horizontal resolution in units per inch.
The OutputResLine [output_res_line, orl] num capability is vertical resolution in units per line.
The OutputResVertInch [output_res_vert_inch, orvi] num capability is vertical resolution in units per inch.
The OverStrike [over_strike, os] bool capability indicates terminal can overstrike.
The PadChar [pad_char, pad] string capability is the padding char (instead of null).
The PaddingBaudRate [padding_baud_rate, pb] num capability is lowest baud rate where padding needed.
The ParmDch [parm_dch, dch] string capability is the delete #1 characters (P*).
The ParmDeleteLine [parm_delete_line, dl] string capability is the delete #1 lines (P*).
The ParmDownCursor [parm_down_cursor, cud] string capability is the down #1 lines (P*).
The ParmDownMicro [parm_down_micro, mcud] string capability is the Like parm_down_cursor in micro mode.
The ParmIch [parm_ich, ich] string capability is the insert #1 characters (P*).
The ParmIndex [parm_index, indn] string capability is the scroll forward #1 lines (P).
The ParmInsertLine [parm_insert_line, il] string capability is the insert #1 lines (P*).
The ParmLeftCursor [parm_left_cursor, cub] string capability is the move #1 characters to the left (P).
The ParmLeftMicro [parm_left_micro, mcub] string capability is the Like parm_left_cursor in micro mode.
The ParmRightCursor [parm_right_cursor, cuf] string capability is the move #1 characters to the right (P*).
The ParmRightMicro [parm_right_micro, mcuf] string capability is the Like parm_right_cursor in micro mode.
The ParmRindex [parm_rindex, rin] string capability is the scroll back #1 lines (P).
The ParmUpCursor [parm_up_cursor, cuu] string capability is the up #1 lines (P*).
The ParmUpMicro [parm_up_micro, mcuu] string capability is the Like parm_up_cursor in micro mode.
The PcTermOptions [pc_term_options, pctrm] string capability is the PC terminal options.
The PkeyKey [pkey_key, pfkey] string capability is the program function key #1 to type string #2.
The PkeyLocal [pkey_local, pfloc] string capability is the program function key #1 to execute string #2.
The PkeyPlab [pkey_plab, pfxl] string capability is the Program function key #1 to type string #2 and show string #3.
The PkeyXmit [pkey_xmit, pfx] string capability is the program function key #1 to transmit string #2.
The PlabNorm [plab_norm, pln] string capability is the program label #1 to show string #2.
The PrintRate [print_rate, cps] num capability is print rate in characters per second.
The PrintScreen [print_screen, mc0] string capability is the print contents of screen.
The PrtrNon [prtr_non, mc5p] string capability is the turn on printer for #1 bytes.
The PrtrOff [prtr_off, mc4] string capability is the turn off printer.
The PrtrOn [prtr_on, mc5] string capability is the turn on printer.
The PrtrSilent [prtr_silent, mc5i] bool capability indicates printer will not echo on screen.
The Pulse [pulse, pulse] string capability is the select pulse dialing.
The QuickDial [quick_dial, qdial] string capability is the dial number #1 without checking.
The RemoveClock [remove_clock, rmclk] string capability is the remove clock.
The RepeatChar [repeat_char, rep] string capability is the repeat char #1 #2 times (P*).
The ReqForInput [req_for_input, rfi] string capability is the send next input char (for ptys).
The ReqMousePos [req_mouse_pos, reqmp] string capability is the Request mouse position.
The Reset1string [reset_1string, rs1] string capability is the reset string.
The Reset2string [reset_2string, rs2] string capability is the reset string.
The Reset3string [reset_3string, rs3] string capability is the reset string.
The ResetFile [reset_file, rf] string capability is the name of reset file.
The RestoreCursor [restore_cursor, rc] string capability is the restore cursor to position of last save_cursor.
The ReturnDoesClrEol [return_does_clr_eol, OTxr] bool capability indicates return clears the line.
The RowAddress [row_address, vpa] string capability is the vertical position #1 absolute (P).
The RowAddrGlitch [row_addr_glitch, xvpa] bool capability indicates only positive motion for vpa/mvpa caps.
The SaveCursor [save_cursor, sc] string capability is the save current cursor position (P).
The ScancodeEscape [scancode_escape, scesc] string capability is the Escape for scancode emulation.
The ScrollForward [scroll_forward, ind] string capability is the scroll text up (P).
The ScrollReverse [scroll_reverse, ri] string capability is the scroll text down (P).
The SelectCharSet [select_char_set, scs] string capability is the Select character set, #1.
The SemiAutoRightMargin [semi_auto_right_margin, sam] bool capability indicates printing in last column causes cr.
The Set0DesSeq [set0_des_seq, s0ds] string capability is the Shift to codeset 0 (EUC set 0, ASCII).
The Set1DesSeq [set1_des_seq, s1ds] string capability is the Shift to codeset 1.
The Set2DesSeq [set2_des_seq, s2ds] string capability is the Shift to codeset 2.
The Set3DesSeq [set3_des_seq, s3ds] string capability is the Shift to codeset 3.
The SetAAttributes [set_a_attributes, sgr1] string capability is the Define second set of video attributes #1-#6.
The SetABackground [set_a_background, setab] string capability is the Set background color to #1, using ANSI escape.
The SetAForeground [set_a_foreground, setaf] string capability is the Set foreground color to #1, using ANSI escape.
The SetAttributes [set_attributes, sgr] string capability is the define video attributes #1-#9 (PG9).
The SetBackground [set_background, setb] string capability is the Set background color #1.
The SetBottomMargin [set_bottom_margin, smgb] string capability is the Set bottom margin at current line.
The SetBottomMarginParm [set_bottom_margin_parm, smgbp] string capability is the Set bottom margin at line #1 or (if smgtp is not given) #2 lines from bottom.
The SetClock [set_clock, sclk] string capability is the set clock, #1 hrs #2 mins #3 secs.
The SetColorBand [set_color_band, setcolor] string capability is the Change to ribbon color #1.
The SetColorPair [set_color_pair, scp] string capability is the Set current color pair to #1.
The SetForeground [set_foreground, setf] string capability is the Set foreground color #1.
The SetLeftMargin [set_left_margin, smgl] string capability is the set left soft margin at current column. (ML is not in BSD termcap).
The SetLeftMarginParm [set_left_margin_parm, smglp] string capability is the Set left (right) margin at column #1.
The SetLrMargin [set_lr_margin, smglr] string capability is the Set both left and right margins to #1, #2. (ML is not in BSD termcap).
The SetPageLength [set_page_length, slines] string capability is the Set page length to #1 lines.
The SetPglenInch [set_pglen_inch, slength] string capability is the Set page length to #1 hundredth of an inch (some implementations use sL for termcap).
The SetRightMargin [set_right_margin, smgr] string capability is the set right soft margin at current column.
The SetRightMarginParm [set_right_margin_parm, smgrp] string capability is the Set right margin at column #1.
The SetTab [set_tab, hts] string capability is the set a tab in every row, current columns.
The SetTbMargin [set_tb_margin, smgtb] string capability is the Sets both top and bottom margins to #1, #2.
The SetTopMargin [set_top_margin, smgt] string capability is the Set top margin at current line.
The SetTopMarginParm [set_top_margin_parm, smgtp] string capability is the Set top (bottom) margin at row #1.
The SetWindow [set_window, wind] string capability is the current window is lines #1-#2 cols #3-#4.
The StartBitImage [start_bit_image, sbim] string capability is the Start printing bit image graphics.
The StartCharSetDef [start_char_set_def, scsd] string capability is the Start character set definition #1, with #2 characters in the set.
The StatusLineEscOk [status_line_esc_ok, eslok] bool capability indicates escape can be used on the status line.
The StopBitImage [stop_bit_image, rbim] string capability is the Stop printing bit image graphics.
The StopCharSetDef [stop_char_set_def, rcsd] string capability is the End definition of character set #1.
The SubscriptCharacters [subscript_characters, subcs] string capability is the List of subscriptable characters.
The SuperscriptCharacters [superscript_characters, supcs] string capability is the List of superscriptable characters.
The Tab [tab, ht] string capability is the tab to next 8-space hardware tab stop.
The TermcapInit2 [termcap_init2, OTi2] string capability is the secondary initialization string.
The TermcapReset [termcap_reset, OTrs] string capability is the terminal reset string.
The TheseCauseCr [these_cause_cr, docr] string capability is the Printing any of these characters causes CR.
The TildeGlitch [tilde_glitch, hz] bool capability indicates cannot print ~'s (Hazeltine).
The Tone [tone, tone] string capability is the select touch tone dialing.
The ToStatusLine [to_status_line, tsl] string capability is the move to status line, column #1.
The TransparentUnderline [transparent_underline, ul] bool capability indicates underline character overstrikes.
The UnderlineChar [underline_char, uc] string capability is the underline char and move past it.
The UpHalfLine [up_half_line, hu] string capability is the half a line up.
The User0 [user0, u0] string capability is the User string #0.
The User1 [user1, u1] string capability is the User string #1.
The User2 [user2, u2] string capability is the User string #2.
The User3 [user3, u3] string capability is the User string #3.
The User4 [user4, u4] string capability is the User string #4.
The User5 [user5, u5] string capability is the User string #5.
The User6 [user6, u6] string capability is the User string #6.
The User7 [user7, u7] string capability is the User string #7.
The User8 [user8, u8] string capability is the User string #8.
The User9 [user9, u9] string capability is the User string #9.
The VirtualTerminal [virtual_terminal, vt] num capability is virtual terminal number (CB/unix).
The WaitTone [wait_tone, wait] string capability is the wait for dial-tone.
The WideCharSize [wide_char_size, widcs] num capability is character step size when in double wide mode.
The WidthStatusLine [width_status_line, wsl] num capability is number of columns in status line.
The XoffCharacter [xoff_character, xoffc] string capability is the XOFF character.
The XonCharacter [xon_character, xonc] string capability is the XON character.
The XonXoff [xon_xoff, xon] bool capability indicates terminal uses xon/xoff handshaking.
The ZeroMotion [zero_motion, zerom] string capability is the No motion for subsequent character.
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64)