term_c.4 (2010 09)

t
term_c(4) term_c(4)
NAME
term_c: term.h, TERM - terminal capabilities
DESCRIPTION
The header
<term.h> contains definitions for each of the following symbolic constants and capability
names in the following tables.
In the following table, 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 specified in the
terminfo source file.
It is used by a person updating the source file and by the
tput command.
Booleans
Cap- Termcap
Variable name Code Description
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 ut Screen erased with background color
buttons btns BT Number of buttons on the mouse
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
create_window cwin CW Define win #1 to go from #2,#3 to #4,#5
cr_cancels_micro_mode crxm YB Using cr turns off micro mode
dest_tabs_magic_smso xt xt Destructive tabs, magic smso char (t1061)
dial_phone dial DI Dial phone number #1
display_clock dclk DK Display time-of-day clock
eat_newline_glitch xenl xn Newline ignored after 80 columns (Concept)
erase_overstrike eo eo Can erase overstrikes with a blank
fixed_pause pause PA Pause for 2-3 seconds
flash_hook hook fh Flash the switch hook
generic_type gn gn Generic line type (for example, dialup, switch)
get_mouse getm Gm Curses should get button events
goto_window wingo WG Got to window #1
hangup hup HU Hang-up phone
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 Terminal uses only HLS 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 nondestructive
non_rev_rmcup nrrmc NR smcup does not reverse rmcup
over_strike os os Terminal overstrikes on hard-copy terminal
print_rate cps Ym Print rate in characters per second
prtr_silent mc5i 5i Printer won’t echo on screen
row_addr_glitch xvpa YD Only positive motion for vpa/mvpa caps
semi_auto_right_margin sam YE Printing in last column causes cr
set_pglen_inch slength YI Set page length to #1 hundredth of an inch (use tparm)
HP-UX 11i Version 3: September 2010 1 Hewlett-Packard Company 1

Summary of content (10 pages)