next up previous contents
Next: 8.23 [N]Curses Function Overview Up: 8.22 Terminfo Capabilities Previous: 8.22.2 Numbers

8.22.3 Strings

 
Variable 		 Cap. 		 Int.   		 Description

Name Code

acs_chars acsc ac Graphics charset pairs - def=vt100

alt_scancode_esc scesa S8 Alternate esc for scancode emulation

(default is vt100)

back_tab cbt bt Back tab (P)

bell bel bl Audible signal (bell) (P)

bit_image_repeat birep Xy Repeat bit image cell #1 #2 times

(use tparm)

bit_image_newline binel Zz Move to next row of the bit image

(use tparm)

bit_image_carriage_return bicr Yv Move to beginning of same row

(use tparm)

carriage_return cr cr Carriage return (P*)

change_char_pitch cpi ZA Change # chars per inch

change_line_pitch lpi ZB Change # 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) (PG)

char_padding rmp rP Like ip but when in insert mode

char_set_names csnm Zy List of character set names

clear_all_tabs tbc ct Clear all tab stops (P)

clear_margins mgc MC Clear all margins (top, bottom, and sides)

clear_screen clear cl Clear screen and home cursor (P*)

clr_bol el1 cb Clear to beginning of line

clr_eol el ce Clear to end of line (P)

clr_eos ed cd Clear to end of display (P*)

code_set_init csin ci Init sequence for multiple code sets

color_names colornm Yw Give name for color #1

column_address hpa ch Set cursor column (PG)

command_character cmdch CC Term. settable cmd char in prototype

cursor_address cup cm Screen rel. cursor motion row #1 col #2

(PG)

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 cursor left one space

cursor_mem_address mrcup CM Memory relative cursor addressing

cursor_normal cnorm ve Make cursor appear normal (undo vs/vi)

cursor_right cuf1 nd Non-destructive space (cursor 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_bit_image_region defbi Yx Define rectangular bit image region

(use tparm)

define_char defc ZE Define character in a character set

delete_character dch1 dc Delete character (P*)

delete_line dl1 dl Delete line (P*)

device_type devt dv Indicate language/codeset support

dis_status_line dsl ds Disable status line

display_pc_char dispc S1 Display PC character

down_half_line hd hd Half-line down (forward 1/2 linefeed)

ena_acs enacs eA enable alternate char set

end_bit_image_region endbi Yy End bit image region (use tparm)

enter_alt_charset_mode smacs as Start alternate character set (P)

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 mode

enter_draft_quality sdrfq ZG Set draft-quality printing

enter_insert_mode smir im Insert mode (enter);

enter_italics_mode sitm ZH Enable italics mode

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 NLQ printing

enter_normal_quality snrmq ZL Set normal quality printing

enter_pc_charset_mode smpch S2 Enter PC character display mode

enter_protected_mode prot mp Turn on protected mode

enter_reverse_mode rev mr Turn on reverse video mode

enter_scancode_mode smsc S4 Enter PC scancode mode

enter_secure_mode invis mk Turn on blank mode (chars invisible)

enter_shadow_mode sshm ZM Enable shadow-mode printing

enter_standout_mode smso so Begin stand out 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 (PG)

exit_alt_charset_mode rmacs ae End alternate character set (P)

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 doublewide printing

exit_insert_mode rmir ei End insert mode

exit_italics_mode ritm ZR Disable italic printing

exit_leftward_mode rlm ZS Enable rightward (normal) carriage

motion

exit_micro_mode rmicm ZT Disable micro motion capabilities

exit_pc_charset_mode rmpch S3 Disable PC character display

exit_scancode_mode rmsc S5 Disable PC scancode mode

exit_shadow_mode rshm ZU Disable shadow printing

exit_standout_mode rmso se End stand out 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

flash_screen flash vb Visible bell (may not move cursor)

form_feed ff ff Hardcopy terminal page eject (P*)

from_status_line fsl fs Return from status line

init_1string is1 i1 Terminal initialization string

init_2string is2 i2 Terminal initialization string

init_3string is3 i3 Terminal initialization string

init_file if if Name of file containing is

init_prog iprog iP Path name of program for init

initialize_color initc Ic Initialize the definition of color

initialize_pair initp Ip Initialize color-pair

insert_character ich1 ic Insert character (P)

insert_line il1 al Add new blank line (P*)

insert_padding ip ip Insert pad after character inserted (p*)

key_a1 ka1 K1 Upper left of keypad

key_a3 ka3 K3 Upper right of keypad

key_b2 kb2 K2 Center of keypad

key_backspace kbs kb Sent by backspace key

key_beg kbeg 1 begin key

key_btab kcbt kB back-tab key

key_c1 kc1 K4 Lower left of keypad

key_c3 kc3 K5 Lower right of keypad

key_cancel kcan 2 cancel key

key_catab ktbc ka Sent by clear-all-tabs key

key_clear kclr kC Sent by clear screen or erase key

key_close kclo 3 close key

key_command kcmd 4 command key

key_copy kcpy 5 copy key

key_create kcrt 6 create key

key_ctab kctab kt Sent by clear-tab key

key_dc kdch1 kD Sent by delete character key

key_dl kdl1 kL Sent by delete line key

key_down kcud1 kd Sent by terminal down arrow key

key_eic krmir kM Sent by rmir or smir in insert mode

key_end kend 7 end key

key_enter kent 8 enter/send key

key_eol kel kE Sent by clear-to-end-of-line key

key_eos ked kS Sent by clear-to-end-of-screen key

key_exit kext 9 exit key

 
key_find       		 kfnd   		 0		   find key

key_help khlp %1 help key

key_home khome kh Sent by home key

key_ic kich1 kI Sent by ins char/enter ins mode key

key_il kil1 kA Sent by insert line

key_left kcub1 kl Sent by terminal left arrow key

key_ll kll kH Sent by home-down key

key_mark kmrk %2 mark key

key_message kmsg %3 message key

key_move kmov %4 move key

key_next knxt %5 next key

key_npage knp kN Sent by next-page key

key_open kopn %6 open key

key_options kopt %7 options key

key_ppage kpp kP Sent by previous-page key

key_previous kprv %8 previous key

key_print kprt %9 print key

key_redo krdo %0 redo key

key_reference kref &1 reference key

key_refresh krfr &2 refresh key

key_replace krpl &3 replace key

key_restart krst &4 restart key

key_resume kres &5 resume key

key_right kcuf1 kr Sent by terminal right arrow key

key_save ksav &6 save key

key_sbeg kBEG &9 shifted begin key

key_scancel kCAN &0 shifted cancel key

key_scommand kCMD *1 shifted command key

key_scopy kCPY *2 shifted copy key

key_screate kCRT *3 shifted create key

key_sdc kDC *4 shifted delete char key

key_sdl kDL *5 shifted delete line key

key_select kslt *6 select key

key_send kEND *7 shifted end key

key_seol kEOL *8 shifted end of line key

key_sexit kEXT *9 shifted exit key

key_sf kind kF Sent by scroll-forward/down key

key_sfind kFND *0 shifted find key

key_shelp kHLP #1 shifted help key

key_shome kHOM #2 shifted home key

key_sic kIC #3 shifted insert char key

key_sleft kLFT #4 shifted left key

key_smessage kMSG %a shifted message key

key_smove kMOV %b shifted move key

key_snext kNXT %c shifted next key

key_soptions kOPT %d shifted options key

key_sprevious kPRV %e shifted previous key

key_sprint kPRT %f shifted print key

key_sr kri kR Sent by scroll-backward/up key

key_sredo kRDO %g shifted redo key

key_sreplace kRPL %h shifted replace key

key_sright kRIT %i shifted right key

key_srsume kRES %j shifted resume key

key_ssave kSAV !1 shifted save key

key_ssuspend kSPD !2 shifted suspend key

key_stab khts kT Sent by set-tab key

key_sundo kUND !3 shifted undo key

key_suspend kspd &7 suspend key

key_undo kund &8 undo key

key_up kcuu1 ku 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_on smln LO turn on soft labels

label_off rmln LF turn off 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 buts to print-head pins

orig_colors oc oc Reset all color pairs

orig_pair op op Set default color-pair to original one

pad_char pad pc Pad character (rather than null)

parm_dch dch DC Delete #1 chars (PG*)

parm_delete_line dl DL Delete #1 lines (PG*)

parm_down_cursor cud DO Move cursor down #1 lines (PG*)

parm_down_micro mcud Zf Like cud for micro adjust

parm_ich ich IC Insert #1 blank chars (PG*)

parm_index indn SF Scroll forward #1 lines (PG)

parm_insert_line il AL Add #1 new blank lines (PG*)

parm_left_cursor cub LE Move cursor left #1 spaces (PG)

parm_left_micro mcub Zg Like cul for micro adjust

parm_right_cursor cuf RI Move cursor right #1 spaces (PG*)

parm_right_micro mcuf Zh Like cuf for micro adjust

parm_rindex rin SR Scroll backward #1 lines (PG)

parm_up_cursor cuu UP Move cursor up #1 lines (PG*)

parm_up_micro mcuu Zi Like cuu 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

pkey_plab pfxl xl Program key #1 to xmit #2 and show #3

plab_norm pln pn program 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

repeat_char rep rp Repeat char #1 #2 times. (PG*)

req_for_input rfi RF request for input

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 (set row) (PG)

save_cursor sc sc Save cursor position (P)

scancode_escape scesc S7 Escape for scancode emulation

scroll_forward ind sf Scroll text up (P)

scroll_reverse ri sr Scroll text down (P)

select_char_set scs Zj Select character set

set0_des_seq s0ds s0 Shift to codeset 0 (EUC set 0, ASCII)

set1_des_seq s1ds s1 Shift to codeset 1

set2_des_seq s2ds s2 Shift to codeset 2

set3_des_seq s3ds s3 Shift to codeset 3

set_a_background setab AB Set background color using ANSI escape

set_a_foreground setaf AF Set foreground color using ANSI escape

set_attributes sgr sa Define the video attributes (PG9)

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 line at line #1 or #2

lines from bottom

set_color_band setcolor Yz Change to ribbon color #1

set_color_pair scp sp Set current color pair

set_foreground setf Sf Set current foreground color

set_left_margin smgl ML Set left margin at current line

set_left_margin_parm smglp Zm Set left (right) margin at #1 (#2)

set_lr_margin smglr ML Set both left and right margins

set_page_length slines YZ Set page length to #1 lines (use tparm)

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_tb_margin smgtb MT Sets both top and bottom margins

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

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 character set

subscript_characters subcs Zu List of subscriptable chars

superscript_characters supcs Zv List of superscriptable chars

tab ht ta Tab to next 8 space hardware tab stop

these_cause_cr docr Zw These characters cause a CR

to_status_line tsl ts Go to status line, column #1

underline_char uc uc Underscore one char and move past it

up_half_line hu hu Half-line up (reverse 1/2 linefeed)

xoff_character xoffc XF XON character

xon_character xonc XN XOFF character

(The following string capabilities are present in the SYSVr term structure, but are not documented in the man page. Comments are from the term structure header.)
 
label_format               		 fln     		 Lf 		   ??

set_clock sclk SC Set time-of-day clock

display_clock dclk DK Display time-of-day clock

remove_clock rmclk RC Remove time-of-day clock??

create_window cwin CW Define win #1 to go from #2,#3 to #4,#5

goto_window wingo WG Goto window #1

hangup hup HU Hang up phone

dial_phone dial DI Dial phone number #1

quick_dial qdial QD Dial phone number #1, without

progress detection

tone tone TO Select touch tone dialing

pulse pulse PU Select pulse dialing

flash_hook hook fh Flash the switch hook

fixed_pause pause PA Pause for 2-3 seconds

wait_tone wait WA Wait for dial tone

user0 u0 u0 User string # 0

user1 u1 u1 User string # 1

user2 u2 u2 User string # 2

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

get_mouse getm Gm Curses should get button events

key_mouse kmous Km ??

mouse_info minfo Mi Mouse status information

pc_term_options pctrm S6 PC terminal options

req_mouse_pos reqmp RQ Request mouse position report

zero_motion zerom Zx No motion for the subsequent character


next up previous contents
Next: 8.23 [N]Curses Function Overview Up: 8.22 Terminfo Capabilities Previous: 8.22.2 Numbers

Converted on:
Fri Mar 29 14:43:04 EST 1996