Creating Device Descriptions (contd.)
Miscellaneous Capabilities
Table 3-20 lists the capabilities that do not fit into any of the
previous categories.
Table 3-20. Miscellaneous Capabilities
----------------------------------------------------------------------------------------------
| | | |
| Capability | Variable | Description |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| civis= | cursor_invisible | Make cursor invisible |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| cnorm= | cursor_normal | Make cursor appear normal |
| | | (undo cvvis/civis) |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| cvvis= | cursor_visible | Make cursor very visible |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| defc= | define_char | Define a character in a |
| | | character set |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| dsl= | dis_status_line | Disable status line |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| enacs= | ena_acs | Enable alternate character |
| | | set |
| | | |
----------------------------------------------------------------------------------------------
Table 3-20. Miscellaneous Capabilities (cont.)
----------------------------------------------------------------------------------------------
| | | |
| Capability | Variable | Description |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| flash= | flash_screen | Visible bell (may not move |
| | | cursor) |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| ff= | form_feed | Hardcopy terminal page eject |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| fsl= | from_status_line | Return from status line |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| lh# | label_height | # rows in each label |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| lw# | label_width | # columns in each label |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| nlab# | num_labels | # of labels on screen (start |
| | | at 1) |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| pln= | plab_norm | Prog label #1 to show string |
| | | #2 |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| rbim= | stop_bit_image | Stop printing bit image |
| | | graphics |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| rcsd= | stop_char_set_def | Stop definition of character |
| | | set |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| rep= | repeat_char | Repeat character #1 #2 times |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| rmacs= | exit_alt_charset_mode | End alternate character set |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| rmln= | label_off | Turn off soft labels |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| sbim= | start_bit_image | Start printing bit image |
| | | graphics |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| scs= | select_char_set | Select character set |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| scsd= | start_char_set_def | Start definition of |
| | | character set |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| smacs= | enter_alt_charset_mode | Start alternate character |
| | | set |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| smln= | label_on | Turn on soft labels |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| tsl= | to_status_line | Go to status line |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| use= | N/A | Read capabilities from entry |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| wind= | set_window | Current window is lines #1 - |
| | | #2 cols #3 - #4 |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| wsl# | width_status_line | # columns in status line (if |
| | | different from cols) |
| | | |
----------------------------------------------------------------------------------------------
The fsl string must leave the cursor in the same position as it was
before tsl. If necessary, this can be done by including sc and rc in
thefsl and tsl strings.
The wind string defines a window that all commands affect as part of
memory. It takes four arguments: starting lines in memory, ending lines
in memory, starting columns in memory, and ending columns in memory.
Capabilities Sorted by Variable Name
The following tables list all of the capabilities by variable name
(instead of TERMINFO capability name as was done previously) for ease of
reference.
Table 3-21 lists the Boolean capabilities, Table 3-22 lists the
numeric capabilities, and Table 3-23 lists the string capabilities.
Boolean Capabilities.
Table 3-21 lists the Boolean capabilities.
Table 3-21. Boolean Capabilities
----------------------------------------------------------------------------------------------------
| | | | |
| Variable | TInfo | TCap | 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 | be | Screen erased with |
| | | | background color |
| | | | |
----------------------------------------------------------------------------------------------------
| | | | |
| can_change | ccc | cc | Terminal can redefine |
| | | | existing color |
| | | | |
----------------------------------------------------------------------------------------------------
| | | | |
| ceol_standout_glitch | xhp | xs | Standout not erased |
| | | | by overwriting (hp) |
| | | | |
----------------------------------------------------------------------------------------------------
| | | | |
| col_addr_glitch | xhpa | YA | Only positive motion |
| | | | for hpa/mhpa |
| | | | capabilities |
| | | | |
----------------------------------------------------------------------------------------------------
| | | | |
| cpi_changes_res | cpix | YF | Changing character |
| | | | pitch changes |
| | | | resolution |
| | | | |
----------------------------------------------------------------------------------------------------
| | | | |
| cr_cancels_micro_mode | crxm | YB | Using cr turns off |
| | | | micro mode |
| | | | |
----------------------------------------------------------------------------------------------------
| | | | |
| dest_tabs_magic_smso | xt | xt | Tabs destructive, |
| | | | magic smso character |
| | | | (Teleray 1061) |
| | | | |
----------------------------------------------------------------------------------------------------
| | | | |
| eat_newline_glitch | xenl | xn | Newline ignored after |
| | | | 80 columns (Concept) |
| | | | |
----------------------------------------------------------------------------------------------------
| | | | |
| erase_overstrike | eo | eo | Terminal 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 | Terminal has meta key |
| | | | (shift, sets parity |
| | | | bit) |
| | | | |
----------------------------------------------------------------------------------------------------
| | | | |
| has_print_wheel | daisy | YC | Printer needs |
| | | | operator to change |
| | | | character set |
| | | | |
----------------------------------------------------------------------------------------------------
| | | | |
| has_status_line | hs | hs | Terminal has extra |
| | | | status line |
| | | | |
----------------------------------------------------------------------------------------------------
| | | | |
| hue_lightness_saturation | hls | hl | Terminal uses only |
| | | | HLS color notation |
| | | | (Tektronix) |
| | | | |
----------------------------------------------------------------------------------------------------
Table 3-21. Boolean Capabilities (cont.)
----------------------------------------------------------------------------------------------------
| | | | |
| Variable | TInfo | TCap | Description |
| | | | |
----------------------------------------------------------------------------------------------------
| | | | |
| 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 |
| | | | |
----------------------------------------------------------------------------------------------------
| | | | |
| amemory_below | db | db | Display may be |
| | | | retained below the |
| | | | screen |
| | | | |
----------------------------------------------------------------------------------------------------
| | | | |
| move_insert_mode | mir | mi | Safe to move in |
| | | | insert mode |
| | | | |
----------------------------------------------------------------------------------------------------
| | | | |
| move_standout_mode | msgr | ms | Safe to move in |
| | | | standout mode |
| | | | |
----------------------------------------------------------------------------------------------------
| | | | |
| needs_xon_xoff | nxon | nx | Padding will not |
| | | | work, XON/XOFF |
| | | | required |
| | | | |
----------------------------------------------------------------------------------------------------
| | | | |
| no_esc_ctlc | xsb | xb | Beehive (f1=escape, |
| | | | f2=ctrl C) |
| | | | |
----------------------------------------------------------------------------------------------------
| | | | |
| no_pad_char | npc | NP | Pad character does |
| | | | not exist |
| | | | |
----------------------------------------------------------------------------------------------------
| | | | |
| non_rev_rmcup | nrrmc | NR | smcup does not |
| | | | reverse rmcup |
| | | | |
----------------------------------------------------------------------------------------------------
| | | | |
| over_strike | os | os | Terminal overstrikes |
| | | | |
----------------------------------------------------------------------------------------------------
| | | | |
| prtr_silent | mc5i | 5i | Printer will not echo |
| | | | on screen |
| | | | |
----------------------------------------------------------------------------------------------------
| | | | |
| row_addr_glitch | xvpa | YD | Only positive motion |
| | | | for vpa/mvpa |
| | | | capabilities |
| | | | |
----------------------------------------------------------------------------------------------------
| | | | |
| 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 |
| | | | |
----------------------------------------------------------------------------------------------------
| | | | |
| tilde_glitch | hz | hz | Hazeltine: cannot |
| | | | print tilde (~) |
| | | | |
----------------------------------------------------------------------------------------------------
| | | | |
| transparent_underline | ul | ul | Underline character |
| | | | overstrikes |
| | | | |
----------------------------------------------------------------------------------------------------
| | | | |
| xon_xoff | xon | xo | Terminal uses |
| | | | XON/XOFF handshaking |
| | | | |
----------------------------------------------------------------------------------------------------
Numeric Capabilities.
Table 3-22 lists the numeric capabilities.
Table 3-22. Numeric Capabilities
-------------------------------------------------------------------------------------------------
| | | | |
| Variable | TInfo | TCap | Description |
| | | | |
-------------------------------------------------------------------------------------------------
| | | | |
| buffer_capacity | bufsz | Ya | Number of bytes |
| | | | buffered before |
| | | | printing |
| | | | |
-------------------------------------------------------------------------------------------------
| | | | |
| columns | cols | co | Number of columns in |
| | | | a line |
| | | | |
-------------------------------------------------------------------------------------------------
| | | | |
| dot_horz_spacing | spinh | Yc | Spacing of dots |
| | | | horizontally in dots |
| | | | per inch |
| | | | |
-------------------------------------------------------------------------------------------------
| | | | |
| dot_vert_spacing | spinv | Yb | Spacing of pins |
| | | | vertically in pins |
| | | | per inch |
| | | | |
-------------------------------------------------------------------------------------------------
| | | | |
| init_tabs | it | it | Number of spaces |
| | | | between initial tabs |
| | | | |
-------------------------------------------------------------------------------------------------
| | | | |
| 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 |
| | | | screen or page |
| | | | |
-------------------------------------------------------------------------------------------------
Table 3-22. Numeric Capabilities (cont.)
-------------------------------------------------------------------------------------------------
| | | | |
| Variable | TInfo | TCap | Description |
| | | | |
-------------------------------------------------------------------------------------------------
| | | | |
| lines_of_memory | lm | lm | Lines of memory if > |
| | | | 0; 0 means unfixed |
| | | | |
-------------------------------------------------------------------------------------------------
| | | | |
| magic_cookie_glitch | xmc | sg | Number of blank chars |
| | | | left by smso or rmso |
| | | | |
-------------------------------------------------------------------------------------------------
| | | | |
| 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 |
| | | | |
-------------------------------------------------------------------------------------------------
| | | | |
| 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 |
| | | | cannot be used with |
| | | | colors |
| | | | |
-------------------------------------------------------------------------------------------------
| | | | |
| num_labels | nlab | Nl | Number of labels on |
| | | | screen (start at 1) |
| | | | |
-------------------------------------------------------------------------------------------------
| | | | |
| number_of_pins | npins | yH | Number of pins in |
| | | | print-head |
| | | | |
-------------------------------------------------------------------------------------------------
| | | | |
| output_res_char | orc | Yi | Horz. res. in units |
| | | | per character |
| | | | |
-------------------------------------------------------------------------------------------------
| | | | |
| output_res_horz_inch | orhi | Yk | Horz. res. in units |
| | | | per inch |
| | | | |
-------------------------------------------------------------------------------------------------
| | | | |
| output_res_line | orl | Yj | Vert. res. in units |
| | | | per line |
| | | | |
-------------------------------------------------------------------------------------------------
| | | | |
| output_res_vert_inch | orvi | Yl | Vert. res. in units |
| | | | per inch |
| | | | |
-------------------------------------------------------------------------------------------------
| | | | |
| padding_baud_rate | pb | pb | Lowest baud rate |
| | | | where cr/nl padding |
| | | | needed |
| | | | |
-------------------------------------------------------------------------------------------------
| | | | |
| virtual_terminal | vt | vt | Virtual terminal |
| | | | number (CB/UNIX) |
| | | | |
-------------------------------------------------------------------------------------------------
| | | | |
| wide_char_size | widcs | Yn | Character step size |
| | | | when in double wide |
| | | | mode |
| | | | |
-------------------------------------------------------------------------------------------------
| | | | |
| width_status_line | wsl | ws | Number of columns in |
| | | | status line |
| | | | |
-------------------------------------------------------------------------------------------------