Annotation of researchv10no/ncurses/screen/caps, revision 1.1

1.1     ! root        1: # @(#)caps     1.1     (1.19   10/31/82)
        !             2: # Be sure to add new capabilties at the END of the appropriate section!
        !             3: --- begin bool
        !             4: auto_left_margin,      "bw"    "bw"    cub1 wraps from column 0 to last column
        !             5: auto_right_margin,     "am"    "am"    Terminal has automatic margins
        !             6: beehive_glitch,                "xsb"   "xb"    Beehive (f1=escape, f2=ctrl C)
        !             7: ceol_standout_glitch,  "xhp"   "xs"    Standout not erased by overwriting (hp)
        !             8: eat_newline_glitch,    "xenl"  "xn"    newline ignored after 80 cols (Concept)
        !             9: erase_overstrike,      "eo"    "eo"    Can erase overstrikes with a blank
        !            10: generic_type,          "gn"    "gn"    Generic line type (e.g. dialup, switch).
        !            11: hard_copy,             "hc"    "hc"    Hardcopy terminal
        !            12: has_meta_key,          "km"    "km"    Has a meta key (shift, sets parity bit)
        !            13: has_status_line,       "hs"    "hs"    Has extra "status line"
        !            14: insert_null_glitch,    "in"    "in"    Insert mode distinguishes nulls
        !            15: memory_above,          "da"    "da"    Display may be retained above the screen
        !            16: memory_below,          "db"    "db"    Display may be retained below the screen
        !            17: move_insert_mode,      "mir"   "mi"    Safe to move while in insert mode
        !            18: move_standout_mode,    "msgr"  "ms"    Safe to move in standout modes
        !            19: over_strike,           "os"    "os"    Terminal overstrikes
        !            20: status_line_esc_ok,    "eslok" "es"    Escape can be used on the status line
        !            21: teleray_glitch,                "xt"    "xt"    Tabs destructive, magic so char (t1061)
        !            22: tilde_glitch,          "hz"    "hz"    Hazeltine; can't print ~'s
        !            23: transparent_underline, "ul"    "ul"    underline character overstrikes
        !            24: xon_xoff,              "xon"   "xo"    Terminal uses xon/xoff handshaking
        !            25: # Add new Booleans before this line.
        !            26: --- end bool
        !            27: 
        !            28: --- begin num
        !            29: columns,               "cols"  "co"    Number of columns in a line
        !            30: init_tabs,             "it"    "it"    Tabs initially every # spaces.
        !            31: lines,                 "lines" "li"    Number of lines on screen or page
        !            32: lines_of_memory,       "lm"    "lm"    Lines of memory if > lines.  0 => varies
        !            33: magic_cookie_glitch,   "xmc"   "sg"    Number blank chars left by smso or rmso
        !            34: padding_baud_rate,     "pb"    "pb"    Lowest baud rate where padding needed
        !            35: virtual_terminal,      "vt"    "vt"    Virtual terminal number (CB/Unix)
        !            36: width_status_line,     "wsl"   "ws"    # columns in status line
        !            37: # Add new numbers before this line.
        !            38: --- end num
        !            39: 
        !            40: --- begin str
        !            41: back_tab,              "cbt"   "bt"    Back tab (P)
        !            42: bell,                  "bel"   "bl"    Audible signal (bell) (P)
        !            43: carriage_return,       "cr"    "cr"    Carriage return (P*)
        !            44: change_scroll_region,  "csr"   "cs"    change to lines #1 thru #2 (vt100) (PG)
        !            45: clear_all_tabs,                "tbc"   "ct"    Clear all tab stops. (P)
        !            46: clear_screen,          "clear" "cl"    Clear screen (P*)
        !            47: clr_eol,               "el"    "ce"    Clear to end of line (P)
        !            48: clr_eos,               "ed"    "cd"    Clear to end of display (P*)
        !            49: column_address,                "hpa"   "ch"    Set cursor column (PG)
        !            50: command_character,     "cmdch" "CC"    Term. settable cmd char in prototype
        !            51: cursor_address,                "cup"   "cm"    Cursor motion to row #1 col #2 (PG)
        !            52: cursor_down,           "cud1"  "do"    Down one line
        !            53: cursor_home,           "home"  "ho"    Home cursor (if no cup)
        !            54: cursor_invisible,      "civis" "vi"    Make cursor invisible
        !            55: cursor_left,           "cub1"  "le"    Move cursor left one space.
        !            56: cursor_mem_address,    "mrcup" "CM"    Memory relative cursor addressing.
        !            57: cursor_normal,         "cnorm" "ve"    Make cursor appear normal (undo vs/vi)
        !            58: cursor_right,          "cuf1"  "nd"    Non-destructive space (cursor right)
        !            59: cursor_to_ll,          "ll"    "ll"    Last line, first column (if no cup)
        !            60: cursor_up,             "cuu1"  "up"    Upline (cursor up)
        !            61: cursor_visible,                "cvvis" "vs"    Make cursor very visible
        !            62: delete_character,      "dch1"  "dc"    Delete character (P*)
        !            63: delete_line,           "dl1"   "dl"    Delete line (P*)
        !            64: dis_status_line,       "dsl"   "ds"    Disable status line
        !            65: down_half_line,                "hd"    "hd"    Half-line down (forward 1/2 linefeed)
        !            66: enter_alt_charset_mode,        "smacs" "as"    Start alternate character set (P)
        !            67: enter_blink_mode,      "blink" "mb"    Turn on blinking
        !            68: enter_bold_mode,       "bold"  "md"    Turn on bold (extra bright) mode
        !            69: enter_ca_mode,         "smcup" "ti"    String to begin programs that use cup
        !            70: enter_delete_mode,     "smdc"  "dm"    Delete mode (enter)
        !            71: enter_dim_mode,                "dim"   "mh"    Turn on half-bright mode
        !            72: enter_insert_mode,     "smir"  "im"    Insert mode (enter);
        !            73: enter_secure_mode,     "invis" "mk"    Turn on blank mode (chars invisible)
        !            74: enter_protected_mode,  "prot"  "mp"    Turn on protected mode
        !            75: enter_reverse_mode,    "rev"   "mr"    Turn on reverse video mode
        !            76: enter_standout_mode,   "smso"  "so"    Begin stand out mode
        !            77: enter_underline_mode,  "smul"  "us"    Start underscore mode
        !            78: erase_chars,           "ech"   "ec"    Erase #1 characters (PG)
        !            79: exit_alt_charset_mode, "rmacs" "ae"    End alternate character set (P)
        !            80: exit_attribute_mode,   "sgr0"  "me"    Turn off all attributes
        !            81: exit_ca_mode,          "rmcup" "te"    String to end programs that use cup
        !            82: exit_delete_mode,      "rmdc"  "ed"    End delete mode
        !            83: exit_insert_mode,      "rmir"  "ei"    End insert mode;
        !            84: exit_standout_mode,    "rmso"  "se"    End stand out mode
        !            85: exit_underline_mode,   "rmul"  "ue"    End underscore mode
        !            86: flash_screen,          "flash" "vb"    Visible bell (may not move cursor)
        !            87: form_feed,             "ff"    "ff"    Hardcopy terminal page eject (P*)
        !            88: from_status_line,      "fsl"   "fs"    Return from status line
        !            89: init_1string,          "is1"   "i1"    Terminal initialization string
        !            90: init_2string,          "is2"   "is"    Terminal initialization string
        !            91: init_3string,          "is3"   "i2"    Terminal initialization string
        !            92: init_file,             "if"    "if"    Name of file containing is
        !            93: insert_character,      "ich1"  "ic"    Insert character (P)
        !            94: insert_line,           "il1"   "al"    Add new blank line (P*)
        !            95: insert_padding,                "ip"    "ip"    Insert pad after character inserted (P*)
        !            96: key_backspace,         "kbs"   "kb"    Sent by backspace key
        !            97: key_catab,             "ktbc"  "ka"    Sent by clear-all-tabs key.
        !            98: key_clear,             "kclr"  "kC"    Sent by clear screen or erase key.
        !            99: key_ctab,              "kctab" "kt"    Sent by clear-tab key
        !           100: key_dc,                        "kdch1" "kD"    Sent by delete character key.
        !           101: key_dl,                        "kdl1"  "kL"    Sent by delete line key.
        !           102: key_down,              "kcud1" "kd"    Sent by terminal down arrow key
        !           103: key_eic,               "krmir" "kM"    Sent by rmir or smir in insert mode.
        !           104: key_eol,               "kel"   "kE"    Sent by clear-to-end-of-line key.
        !           105: key_eos,               "ked"   "kS"    Sent by clear-to-end-of-screen key.
        !           106: key_f0,                        "kf0"   "k0"    Sent by function key f0.
        !           107: key_f1,                        "kf1"   "k1"    Sent by function key f1.
        !           108: key_f10,               "kf10"  "k;"    Sent by function key f10.
        !           109: key_f2,                        "kf2"   "k2"    Sent by function key f2.
        !           110: key_f3,                        "kf3"   "k3"    Sent by function key f3.
        !           111: key_f4,                        "kf4"   "k4"    Sent by function key f4.
        !           112: key_f5,                        "kf5"   "k5"    Sent by function key f5.
        !           113: key_f6,                        "kf6"   "k6"    Sent by function key f6.
        !           114: key_f7,                        "kf7"   "k7"    Sent by function key f7.
        !           115: key_f8,                        "kf8"   "k8"    Sent by function key f8.
        !           116: key_f9,                        "kf9"   "k9"    Sent by function key f9.
        !           117: key_home,              "khome" "kh"    Sent by home key.
        !           118: key_ic,                        "kich1" "kI"    Sent by ins char/enter ins mode key.
        !           119: key_il,                        "kil1"  "kA"    Sent by insert line.
        !           120: key_left,              "kcub1" "kl"    Sent by terminal left arrow key
        !           121: key_ll,                        "kll"   "kH"    Sent by home-down key
        !           122: key_npage,             "knp"   "kN"    Sent by next-page key
        !           123: key_ppage,             "kpp"   "kP"    Sent by previous-page key
        !           124: key_right,             "kcuf1" "kr"    Sent by terminal right arrow key
        !           125: key_sf,                        "kind"  "kF"    Sent by scroll-forward/down key
        !           126: key_sr,                        "kri"   "kR"    Sent by scroll-backward/up key
        !           127: key_stab,              "khts"  "kT"    Sent by set-tab key
        !           128: key_up,                        "kcuu1" "ku"    Sent by terminal up arrow key
        !           129: keypad_local,          "rmkx"  "ke"    Out of "keypad transmit" mode
        !           130: keypad_xmit,           "smkx"  "ks"    Put terminal in "keypad transmit" mode
        !           131: lab_f0,                        "lf0"   "l0"    Labels on function key f0 if not f0
        !           132: lab_f1,                        "lf1"   "l1"    Labels on function key f1 if not f1
        !           133: lab_f10,               "lf10"  "la"    Labels on function key f10 if not f10
        !           134: lab_f2,                        "lf2"   "l2"    Labels on function key f2 if not f2
        !           135: lab_f3,                        "lf3"   "l3"    Labels on function key f3 if not f3
        !           136: lab_f4,                        "lf4"   "l4"    Labels on function key f4 if not f4
        !           137: lab_f5,                        "lf5"   "l5"    Labels on function key f5 if not f5
        !           138: lab_f6,                        "lf6"   "l6"    Labels on function key f6 if not f6
        !           139: lab_f7,                        "lf7"   "l7"    Labels on function key f7 if not f7
        !           140: lab_f8,                        "lf8"   "l8"    Labels on function key f8 if not f8
        !           141: lab_f9,                        "lf9"   "l9"    Labels on function key f9 if not f9
        !           142: meta_off,              "rmm"   "mo"    Turn off "meta mode"
        !           143: meta_on,               "smm"   "mm"    Turn on "meta mode" (8th bit)
        !           144: newline,               "nel"   "nw"    Newline (behaves like cr followed by lf)
        !           145: pad_char,              "pad"   "pc"    Pad character (rather than null)
        !           146: parm_dch,              "dch"   "DC"    Delete #1 chars (PG*)
        !           147: parm_delete_line,      "dl"    "DL"    Delete #1 lines (PG*)
        !           148: parm_down_cursor,      "cud"   "DO"    Move cursor down #1 lines. (PG*)
        !           149: parm_ich,              "ich"   "IC"    Insert #1 blank chars (PG*)
        !           150: parm_index,            "indn"  "SF"    Scroll forward #1 lines. (PG)
        !           151: parm_insert_line,      "il"    "AL"    Add #1 new blank lines (PG*)
        !           152: parm_left_cursor,      "cub"   "LE"    Move cursor left #1 spaces (PG)
        !           153: parm_right_cursor,     "cuf"   "RI"    Move cursor right #1 spaces. (PG*)
        !           154: parm_rindex,           "rin"   "SR"    Scroll backward #1 lines. (PG)
        !           155: parm_up_cursor,                "cuu"   "UP"    Move cursor up #1 lines. (PG*)
        !           156: pkey_key,              "pfkey" "pk"    Prog funct key #1 to type string #2
        !           157: pkey_local,            "pfloc" "pl"    Prog funct key #1 to execute string #2
        !           158: pkey_xmit,             "pfx"   "px"    Prog funct key #1 to xmit string #2
        !           159: print_screen,          "mc0"   "ps"    Print contents of the screen
        !           160: prtr_off,              "mc4"   "pf"    Turn off the printer
        !           161: prtr_on,               "mc5"   "po"    Turn on the printer
        !           162: repeat_char,           "rep"   "rp"    Repeat char #1 #2 times.  (PG*)
        !           163: reset_1string,         "rs1"   "r1"    Reset terminal completely to sane modes.
        !           164: reset_2string,         "rs2"   "r2"    Reset terminal completely to sane modes.
        !           165: reset_3string,         "rs3"   "r3"    Reset terminal completely to sane modes.
        !           166: reset_file,            "rf"    "rf"    Name of file containing reset string.
        !           167: restore_cursor,                "rc"    "rc"    Restore cursor to position of last sc.
        !           168: row_address,           "vpa"   "cv"    Like hpa but sets row. (PG)
        !           169: save_cursor,           "sc"    "sc"    Save cursor position. (P)
        !           170: scroll_forward,                "ind"   "sf"    Scroll text up (P)
        !           171: scroll_reverse,                "ri"    "sr"    Scroll text down (P)
        !           172: set_attributes,                "sgr"   "sa"    Define the video attributes (PG9)
        !           173: set_tab,               "hts"   "st"    Set a tab in all rows, current column.
        !           174: set_window,            "wind"  "wi"    Current window is lines #1-#2 cols #3-#4
        !           175: tab,                   "ht"    "ta"    Tab to next 8 space hardware tab stop.
        !           176: to_status_line,                "tsl"   "ts"    Go to status line
        !           177: underline_char,                "uc"    "uc"    Underscore one char and move past it
        !           178: up_half_line,          "hu"    "hu"    Half-line up (reverse 1/2 linefeed)
        !           179: init_prog,             "iprog" "iP"    Path name of program for init.
        !           180: key_a1,                        "ka1"   "K1"    Upper left of keypad
        !           181: key_a3,                        "ka3"   "K3"    Upper right of keypad
        !           182: key_b2,                        "kb2"   "K2"    Center of keypad
        !           183: key_c1,                        "kc1"   "K4"    Lower left of keypad
        !           184: key_c3,                        "kc3"   "K5"    Lower right of keypad
        !           185: prtr_non,              "mc5p"  "pO"    Turn on the printer for #1 bytes.
        !           186: # Add new strings before this line.
        !           187: --- end str

unix.superglobalmegacorp.com

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