Annotation of coherent/e/bin/tic/Caps, revision 1.1.1.1

1.1       root        1: #*********************************************************************
                      2: #                         COPYRIGHT NOTICE                           *
                      3: #*********************************************************************
                      4: #        This software is copyright (C) 1982 by Pavel Curtis         *
                      5: #                                                                    *
                      6: #        Permission is granted to reproduce and distribute           *
                      7: #        this file by any means so long as no fee is charged         *
                      8: #        above a nominal handling fee and so long as this            *
                      9: #        notice is always included in the copies.                    *
                     10: #                                                                    *
                     11: #        Other rights are reserved except as explicitly granted      *
                     12: #        by written permission of the author.                        *
                     13: #                Pavel Curtis                                        *
                     14: #                Computer Science Dept.                              *
                     15: #                405 Upson Hall                                      *
                     16: #                Cornell University                                  *
                     17: #                Ithaca, NY 14853                                    *
                     18: #                                                                    *
                     19: #                Ph- (607) 256-4934                                  *
                     20: #                                                                    *
                     21: #                Pavel.Cornell@Udel-Relay   (ARPAnet)                *
                     22: #                decvax!cornell!pavel       (UUCPnet)                *
                     23: #********************************************************************/
                     24: 
                     25: # $Header:   RCS/Caps.v  Revision 2.1  82/10/25  14:45:23  pavel  Exp$
                     26: #
                     27: #       Format for the Caps file:
                     28: #               variable_name    "capname"   type   Comment
                     29: #
                     30: #       where variable_name is the name of the variable used by a
                     31: #       programmer capname is the name used inside the /etc/terminfo
                     32: #       file type is one of bool, number or str and Comment is the text
                     33: #       of the comment which will go in term.h.
                     34: #
                     35: #       All blank lines and lines beginning with '#' are ignored.
                     36: #
                     37: #       >>   NOTE!!!  New capabilities \must/ be placed at the end of
                     38: #       >>>> the appropriate list (e.g. bools, numbers, strings).
                     39: #       >>>> This allows previous versions of programs to still function
                     40: #      >>   \without/ recompilation.
                     41: #
                     42: 
                     43: auto_left_margin        "bw"     bool   cub1 wraps from column 0 to last column
                     44: auto_right_margin       "am"     bool   Terminal has automatic margins
                     45: beehive_glitch          "xsb"    bool   Beehive (f1=escape, f2=ctrl C)
                     46: ceol_standout_glitch    "xhp"    bool   Standout not erased by overwriting (hp)
                     47: eat_newline_glitch      "xenl"   bool   newline ignored after 80 cols (Concept)
                     48: erase_overstrike        "eo"     bool   Can erase overstrikes with a blank
                     49: generic_type            "gn"     bool   Generic line type (e.g. dialup, switch).
                     50: hard_copy               "hc"     bool   Hardcopy terminal
                     51: has_meta_key            "km"     bool   Has a meta key (shift, sets parity bit)
                     52: has_status_line         "hs"     bool   Has extra "status line"
                     53: insert_null_glitch      "in"     bool   Insert mode distinguishes nulls
                     54: memory_above            "da"     bool   Display may be retained above the screen
                     55: memory_below            "db"     bool   Display may be retained below the screen
                     56: move_insert_mode        "mir"    bool   Safe to move while in insert mode
                     57: move_standout_mode      "msgr"   bool   Safe to move in standout modes
                     58: over_strike             "os"     bool   Terminal overstrikes
                     59: status_line_esc_ok      "eslok"  bool   Escape can be used on the status line
                     60: teleray_glitch          "xt"     bool   Tabs destructive, magic so char (Teleray 1061)
                     61: tilde_glitch            "hz"     bool   Hazeltine; can't print ~'s
                     62: transparent_underline   "ul"     bool   underline character overstrikes
                     63: xon_xoff                "xon"    bool   Terminal uses xon/xoff handshaking
                     64: 
                     65: columns              "cols"   number  Number of columns in a line
                     66: init_tabs           "it"     number  Tabs initially every # spaces
                     67: lines                "lines"  number  Number of lines on screen or page
                     68: lines_of_memory      "lm"     number  Lines of memory if > lines. 0 means varies
                     69: magic_cookie_glitch  "xmc"    number  Number of blank chars left by smso or rmso
                     70: padding_baud_rate    "pb"     number  Lowest baud rate where cr/nl padding needed
                     71: virtual_terminal     "vt"     number  Virtual terminal number (CB/Unix)
                     72: width_status_line    "wsl"    number  No. columns in status line
                     73: num_labels           "nlab"   number  No. of labels on screen (start at 1)
                     74: label_height         "lh"     number  No. rows in each label
                     75: label_width          "lw"     number  No. cols in each label
                     76: 
                     77: back_tab                "cbt"    str    Back tab (P)
                     78: bell                    "bel"    str    Audible signal (bell) (P)
                     79: carriage_return         "cr"     str    Carriage return (P*)
                     80: change_scroll_region    "csr"    str    change to lines #1 through #2 (vt100) (PG)
                     81: clear_all_tabs          "tbc"    str    Clear all tab stops. (P)
                     82: clear_screen            "clear"  str    Clear screen (P*)
                     83: clr_eol                 "el"     str    Clear to end of line (P)
                     84: clr_eos                 "ed"     str    Clear to end of display (P*)
                     85: column_address          "hpa"    str    Set cursor column (PG)
                     86: command_character       "CC"     str    Term. settable cmd char in prototype
                     87: cursor_address          "cup"    str    Cursor motion to row #1 col #2 (PG)
                     88: cursor_down             "cud1"   str    Down one line
                     89: cursor_home             "home"   str    Home cursor (if no cup)
                     90: cursor_invisible        "civis"  str    Make cursor invisible
                     91: cursor_left             "cub1"   str    Move cursor left one space.
                     92: cursor_mem_address      "mrcup"  str    Memory relative cursor addressing.
                     93: cursor_normal           "cnorm"  str    Make cursor appear normal (undo vs/vi)
                     94: cursor_right            "cuf1"   str    Non-destructive space (cursor right)
                     95: cursor_to_ll            "ll"     str    Last line, first column (if no cup)
                     96: cursor_up               "cuu1"   str    Upline (cursor up)
                     97: cursor_visible          "cvvis"  str    Make cursor very visible
                     98: delete_character        "dch1"   str    Delete character (P*)
                     99: delete_line             "dl1"    str    Delete line (P*)
                    100: dis_status_line         "dsl"    str    Disable status line
                    101: down_half_line          "hd"     str    Half-line down (forward 1/2 linefeed)
                    102: enter_alt_charset_mode  "smacs"  str    Start alternate character set (P)
                    103: enter_blink_mode        "blink"  str    Turn on blinking
                    104: enter_bold_mode         "bold"   str    Turn on bold (extra bright) mode
                    105: enter_ca_mode           "smcup"  str    String to end programs that use cup
                    106: enter_delete_mode       "smdc"   str    Delete mode (enter)
                    107: enter_dim_mode          "dim"    str    Turn on half-bright mode
                    108: enter_insert_mode       "smir"   str    Insert mode (enter);
                    109: enter_secure_mode       "invis"  str    Turn on blank mode (chars invisible)
                    110: enter_protected_mode    "prot"   str    Turn on protected mode
                    111: enter_reverse_mode      "rev"    str    Turn on reverse video mode
                    112: enter_standout_mode     "smso"   str    Begin stand out mode
                    113: enter_underline_mode    "smul"   str    Start underscore mode
                    114: erase_chars             "ech"    str    Erase #1 characters (PG)
                    115: exit_alt_charset_mode   "rmacs"  str    End alternate character set (P)
                    116: exit_attribute_mode     "sgr0"   str    Turn off all attributes
                    117: exit_ca_mode            "rmcup"  str    String to begin programs that use cup
                    118: exit_delete_mode        "rmdc"   str    End delete mode
                    119: exit_insert_mode        "rmir"   str    End insert mode;
                    120: exit_standout_mode      "rmso"   str    End stand out mode
                    121: exit_underline_mode     "rmul"   str    End underscore mode
                    122: flash_screen            "flash"  str    Visible bell (may not move cursor)
                    123: form_feed               "ff"     str    Hardcopy terminal page eject (P*)
                    124: from_status_line        "fsl"    str    Return from status line
                    125: init_1string            "is1"    str    Terminal initialization string
                    126: init_2string            "is2"    str    Terminal initialization string
                    127: init_3string            "is3"    str    Terminal initialization string
                    128: init_file               "if"     str    Name of file containing is
                    129: insert_character        "ich1"   str    Insert character (P)
                    130: insert_line             "il1"    str    Add new blank line (P*)
                    131: insert_padding          "ip"     str    Insert pad after character inserted (P*)
                    132: key_backspace           "kbs"    str    Sent by backspace key
                    133: key_catab               "ktbc"   str    Sent by clear-all-tabs key.
                    134: key_clear               "kclr"   str    Sent by clear screen or erase key.
                    135: key_ctab                "kctab"  str    Sent by clear-tab key
                    136: key_dc                  "kdch1"  str    Sent by delete character key.
                    137: key_dl                  "kdl1"   str    Sent by delete line key.
                    138: key_down                "kcud1"  str    Sent by terminal down arrow key
                    139: key_eic                 "krmir"  str    Sent by rmir or smir in insert mode.
                    140: key_eol                 "kel"    str    Sent by clear-to-end-of-line key.
                    141: key_eos                 "ked"    str    Sent by clear-to-end-of-screen key.
                    142: key_f0                  "kf0"    str    Sent by function key f0.
                    143: key_f1                  "kf1"    str    Sent by function key f1.
                    144: key_f10                 "kf10"   str    Sent by function key f10.
                    145: key_f2                  "kf2"    str    Sent by function key f2.
                    146: key_f3                  "kf3"    str    Sent by function key f3.
                    147: key_f4                  "kf4"    str    Sent by function key f4.
                    148: key_f5                  "kf5"    str    Sent by function key f5.
                    149: key_f6                  "kf6"    str    Sent by function key f6.
                    150: key_f7                  "kf7"    str    Sent by function key f7.
                    151: key_f8                  "kf8"    str    Sent by function key f8.
                    152: key_f9                  "kf9"    str    Sent by function key f9.
                    153: key_home                "khome"  str    Sent by home key.
                    154: key_ic                  "kich1"  str    Sent by ins char/enter ins mode key.
                    155: key_il                  "kil1"   str    Sent by insert line.
                    156: key_left                "kcub1"  str    Sent by terminal left arrow key
                    157: key_ll                 "kll"    str    Sent by "home down" key (lower left)
                    158: key_npage               "knp"    str    Sent by next-page key
                    159: key_ppage               "kpp"    str    Sent by previous-page key
                    160: key_right               "kcuf1"  str    Sent by terminal right arrow key
                    161: key_sf                  "kind"   str    Sent by scroll-forward/down key
                    162: key_sr                  "kri"    str    Sent by scroll-backward/up key
                    163: key_stab                "khts"   str    Sent by set-tab key
                    164: key_up                  "kcuu1"  str    Sent by terminal up arrow key
                    165: keypad_local            "rmkx"   str    Out of "keypad transmit" mode
                    166: keypad_xmit             "smkx"   str    Put terminal in "keypad transmit" mode
                    167: lab_f0                  "lf0"    str    Labels on function key f0 if not f0
                    168: lab_f1                  "lf1"    str    Labels on function key f1 if not f1
                    169: lab_f10                 "lf10"   str    Labels on function key f10 if not f10
                    170: lab_f2                  "lf2"    str    Labels on function key f2 if not f2
                    171: lab_f3                  "lf3"    str    Labels on function key f3 if not f3
                    172: lab_f4                  "lf4"    str    Labels on function key f4 if not f4
                    173: lab_f5                  "lf5"    str    Labels on function key f5 if not f5
                    174: lab_f6                  "lf6"    str    Labels on function key f6 if not f6
                    175: lab_f7                  "lf7"    str    Labels on function key f7 if not f7
                    176: lab_f8                  "lf8"    str    Labels on function key f8 if not f8
                    177: lab_f9                  "lf9"    str    Labels on function key f9 if not f9
                    178: meta_off                "rmm"    str    Turn off "meta mode"
                    179: meta_on                 "smm"    str    Turn on "meta mode" (8th bit)
                    180: newline                 "nel"    str    Newline (behaves like cr followed by lf)
                    181: pad_char                "pad"    str    Pad character (rather than null)
                    182: parm_dch                "dch"    str    Delete #1 chars (PG*)
                    183: parm_delete_line        "dl"     str    Delete #1 lines (PG*)
                    184: parm_down_cursor        "cud"    str    Move cursor down #1 lines. (PG*)
                    185: parm_ich                "ich"    str    Insert #1 blank chars (PG*)
                    186: parm_index             "indn"   str    Scroll forward #1 lines (PG)
                    187: parm_insert_line        "il"     str    Add #1 new blank lines (PG*)
                    188: parm_left_cursor        "cub"    str    Move cursor left #1 spaces (PG)
                    189: parm_right_cursor       "cuf"    str    Move cursor right #1 spaces. (PG*)
                    190: parm_rindex            "rin"    str    Scroll backward #1 lines (PG)
                    191: parm_up_cursor          "cuu"    str    Move cursor up #1 lines. (PG*)
                    192: pkey_key                "pfkey"  str    Prog funct key #1 to type string #2
                    193: pkey_local              "pfloc"  str    Prog funct key #1 to execute string #2
                    194: pkey_xmit               "pfx"    str    Prog funct key #1 to xmit string #2
                    195: print_screen            "mc0"    str    Print contents of the screen
                    196: prtr_off                "mc4"    str    Turn off the printer
                    197: prtr_on                 "mc5"    str    Turn on the printer
                    198: repeat_char             "rep"    str    Repeat char #1 #2 times.  (PG*)
                    199: reset_1string           "rs1"    str    Reset terminal completely to sane modes.
                    200: reset_2string           "rs2"    str    Reset terminal completely to sane modes.
                    201: reset_3string           "rs3"    str    Reset terminal completely to sane modes.
                    202: reset_file              "rf"     str    Name of file containing reset string.
                    203: restore_cursor          "rc"     str    Restore cursor to position of last sc.
                    204: row_address             "vpa"    str    Like hpa but sets row. (PG)
                    205: save_cursor             "sc"     str    Save cursor position. (P)
                    206: scroll_forward          "ind"    str    Scroll text up (P)
                    207: scroll_reverse          "ri"     str    Scroll text down (P)
                    208: set_attributes          "sgr"    str    Define the video attributes (PG9)
                    209: set_tab                 "hts"    str    Set a tab in all rows, current column.
                    210: set_window              "wind"   str    Current window is lines #1-#2 cols #3-#4
                    211: tab                     "ht"     str    Tab to next 8 space hardware tab stop.
                    212: to_status_line          "tsl"    str    Go to status line
                    213: underline_char          "uc"     str    Underscore one char and move past it
                    214: up_half_line            "hu"     str    Half-line up (reverse 1/2 linefeed)
                    215: init_prog               "iprog"  str    Path name of program for init
                    216: key_a1                  "ka1"    str    Upper left of keypad
                    217: key_a3                  "ka3"    str    Upper right of keypad
                    218: key_b2                  "kb2"    str    Center of keypad
                    219: key_c1                  "kc1"    str    Lower left of keypad
                    220: key_c3                  "kc3"    str    Lower right of keypad
                    221: prtr_non                "mc5p"   str    Turn on the printer for #1 bytes.
                    222: char_padding            "rmp"    str    Like ip but when in replace mode
                    223: acs_chars               "acsc"   str    Graphics char set pairs aAbBcC - defn=vt100
                    224: plab_norm               "pln"    str    Prog label #1 to show string #2

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.