lenny@alps.UUCP (Lenny Tropiano) (04/11/90)
In article <115@alps.UUCP>, lenny@alps.UUCP (Lenny Tropiano) writes: > [Excerpts from the 705MT user manual] > > Overview: > > The 705 terminal may be operated in the following modes: native 705, > 605 bct emulation, three PC emulations, synchronous, or VT320, VT220, or > VT100 emulation. > [...] Since this terminal is "brand" spanking new, I don't have any terminfo/termcap entries for it in the standard databases. Right now I'm using 605bct emulation which is working just fine, but I'd like to use 705, without having to make the terminfo entry myself... Anyone got one? -Lenny -- Lenny Tropiano Project Manager / Sr. Software Engineer American LP Systems, Inc. E-MAIL (day) : ...{icus, sbcs}!alps!lenny 305-1 Knickerbocker Avenue (eve) : lenny@icus.ICUS.COM Bohemia, New York 11716 AT&T MAIL : ...attmail!alps!lenny
lenny@alps.UUCP (Lenny Tropiano) (04/13/90)
In article <116@alps.UUCP> lenny@icus.ICUS.COM (Lenny Tropiano) writes: >In article <115@alps.UUCP>, lenny@alps.UUCP (Lenny Tropiano) writes: >> [Excerpts from the 705MT user manual] >> >> Overview: >> >> The 705 terminal may be operated in the following modes: native 705, >> 605 bct emulation, three PC emulations, synchronous, or VT320, VT220, or >> VT100 emulation. >> >[...] >Since this terminal is "brand" spanking new, I don't have any terminfo/termcap >entries for it in the standard databases. Right now I'm using 605bct emulation >which is working just fine, but I'd like to use 705, without having to >make the terminfo entry myself... Anyone got one? > Here I am replying to my own article :-) Well I got a very detailed terminfo entry from someone at AT&T. I figured I would share it with the rest of you since it was so complete. == cut here for terminfo entry == == cut here for terminfo entry == # Copyright (c) 1990 AT&T # All Rights Reserved # THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T # The copyright notice above does not evidence any # actual or intended publication of such source code. # #Info: # # This is the 705.ti entry for 705 native emulation of the AT&T 705 # terminal. The ordering of capabilities is alphabetic within capability # type. Comments are relative to changes from the 605V2.ti and # 730.ti on which the entry is based. Comments show the terminfo # capability name, termcap name, and description. # 705|705mt|ATT705|att705|AT&T 705 24x80 column display w/102key keyboard, # ################################################################# # screen dimension and cursor movement capabilities ################################################################# # # Screen Dimensions # # columns, cols co Number of columns in a line cols#80, # lines, lines li Number of lines on screen or page lines#24, # # Local Cursor Movements # # Note: The 605V2 did not have \E[D so its ^H was changed. # cursor_left, cub1 le Move cursor left one space cub1=^H, # cursor_down, cud1 do Down one line cud1=\E[B, # cursor_right, cuf1 nd Non-destructive space (cursor right) cuf1=\E[C, # cursor_up, cuu1 up Upline (cursor up) cuu1=\E[A, # cursor_home, home ho Home cursor (if no cup) home=\E[H, # cursor_to_ll, ll ll Last line, first column (if no cup) ll=\E[24H, # carriage_return, cr cr Carriage return cr=^M, # # Paramterized Local Cursor Movement Capabilities # # parm_left_cursor, cub LE Move cursor left #1 spaces cub=\E[%p1%dD, # parm_down_cursor, cud DO Move cursor down #1 lines cud=\E[%p1%dB, # parm_right_cursor, cuf RI Move cursor right #1 spaces cuf=\E[%p1%dC, # parm_up_cursor, cuu UP Move cursor up #1 lines cuu=\E[%p1%dA, # # Absolute Cursor Movement Capabilities # # cursor_address, cup cm Screen rel curs motion row#1 col#2 cup=\E[%i%p1%d;%p2%dH, # restore_cursor, rc rc Restore cursor to position of last sc rc=\E8, # save_cursor, sc sc Save cursor position sc=\E7, # # Scrolling Capabilities # # change_scroll_region, csr cs change to lines #1 through #2(vt100) csr=\E[%i%p1%d;%p2%dr, # scroll_forward, ind sf Scroll text up ind=\ED, # scroll_reverse, ri sr Scroll text down ri=\EM, # # Added by to 605V2 since 705 terminal has memory above and below ala 730 # # memory_above, da da Display may be retained above the screen da, # memory_below, db db Display may be retained below the screen db, # # Miscellaneous Local Movement Capabilities # # newline, nel nw Newline (behaves like cr followed by lf) nel=\EE, # # status line capabilities # # status_line_esc_ok, eslok es Escape can be used on the status line eslok, # from_status_line, fsl fs Return from status line fsl=\E8, # has_status_line, hs hs Has extra "status line" hs, # to_status_line, tsl ts Go to status line, column #1 tsl=\E7\E[99;%i%p1%dx, # width_status_line, wsl ws No. columns in status line wsl#80, # ################################################################# # Screen Editing Capabilities ################################################################# # # Adding to the Screen Capabilities # # parm_insert_line, il AL Add #1 new blank lines il=\E[%p1%dL, # insert_line, il1 al Add new blank line il1=\E[L, # # Note: Added to 630V2.ti from 730.ti. #1 is character to be repeated #2 times. # No literal sequence exists but it is simulated by sending the character and # using the repeat character sequence with #2-1 repeats. # # repeat_char, rep rp Repeat char #1 #2 times. rep=%p1%c\E[%p2%{1}%-%db, # # Deleting from the Screen Capabilities # # clear_screen, clear cl Clear screen and home cursor clear=\E[H\E[J, # delete_character, dch1 dc Delete character dch1=\E[P, # parm_dch, dch DC Delete #1 chars dch=\E[%p1%dP, # parm_delete_line, dl DL Delete #1 lines dl=\E[%p1%dM, # delete_line, dl1 dl Delete line dl1=\E[M, # clr_eol, el ce Clear to end of line el=\E[K, # clr_bol, el1 cb Clear to beginning of line, inclusive el1=\E[1K, # clr_eos, ed cd Clear to end of display ed=\E[J, # # Insert Mode Capabilities # # parm_ich, ich IC Insert #1 blank chars ich=\E[%p1%d@, # move_insert_mode, mir mi Safe to move while in insert mode mir, # exit_insert_mode, rmir ei End insert mode rmir=\E[4l, # enter_insert_mode, smir im Insert mode (enter); smir=\E[4h, # ################################################################# # Initialization and Reset Capabilities ################################################################# # # ESC [ 50;4| set 705 native mode # x ESC [ 56;ps| set lines to 24: ps=0; 40: ps=1 (plus status line) # ESC [ 53;0| set GenFlow to Xon/Xoff # ESC [ 8 ;0| set CR on NL # x ESC [ ? 3 l/h set workspace: 80 col(l); 132 col(h) # ESC [ ? 4 l jump scroll # ESC [ ? 5 l/h video: normal (l); reverse (h) # ESC [ ?13 l Labels on # ESC [ ?15 l parity check = no # ESC [ 13 l monitor mode off # ESC [ 20 l LF on NL (not CRLF on NL) # ESC [ ? 7 h autowrap on # ESC [ 12 h local echo off # ESC ( B GO = ASCII # ESC ) 0 G1 = Special Char & Line Drawing # ESC [ ? 31 l Set 7 bit controls # # # init_1string, is1 i1 Terminal initialization string # reset_1string, rs1 r1 Reset terminal completely to sanemodes. rs1=\Ec\E[?3;5l\E[56;0|, # init_2string, is2 is Terminal initialization string is2=\E[50;4|\E[53;0|\E[8;0|\E[?4;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)0\E[?31l\E[0m^O, # init_3string, is3 i3 Terminal initialization string is3=\E(B\E)0, # ena_acs, enacs eA Enable alternate char set enacs=\E(B\E)0, # ################################################################# # Program Initialization Capabilities ################################################################# # # (none) # ################################################################# # Setting and Using Tab and Margin Capabilities ################################################################# # # screen tab capabilities # # back_tab, cbt bt Back tab cbt=\E[Z, # tab, ht ta Tab to next 8 space hardware tab stop ht=\t, # set_tab, hts st Set a tab in all rows, current column hts=\EH, # init_tabs, it it Tabs initially every # spaces # it#8, # clear_all_tabs, tbc ct Clear all tab stops tbc=\E[3g, # # Margin Capabilities # # (none) # ################################################################# # Special Effect Capabilities ################################################################# # # Standout Mode Capabilities # # Note: Most terminals, especially the 600 family use Reverse Video for # standout mode. DEC also uses reverse video. The VT100 uses bold in addition # Assume we should stay with reverse video for 705. However, the 605V2 exits # standout mode with \E[m (all normal attributes). The 730 entry simply # exits reverse video which would leave other current attributes intact. It # was assumed the 730 entry to be more correct so rmso has changed. The # 605V2 has no sequences to turn individual attributes off, thus its setting # and the rmso/smso settings from the 730. # # move_standout_mode, msgr ms Safe to move in standout modes msgr, # exit_standout_mode, rmso se End stand out mode rmso=\E[27m, # enter_standout_mode, smso so Begin stand out mode smso=\E[7m, # # Underlining Capabilities # # Note: For the same reason as above in rmso I changed exit under-score mode # to specifically turn off underscore, rather than return to all normal # attributes # # exit_underline_mode, rmul ue End underscore mode rmul=\E[24m, # enter_underline_mode, smul us Start underscore mode smul=\E[4m, # # Miscellaneous Highlight Modes and Alternate Character Set Capabilities # # enter_blink_mode, blink mb Turn on blinking blink=\E[5m, # enter_bold_mode, bold md Turn on bold (extra bright) mode bold=\E[1m, # enter_dim_mode, dim mh Turn on half-bright mode dim=\E[2m, # enter_secure_mode, invis mk Turn on blank mode (chars invisible) invis=\E[8m, # enter_reverse_mode, rev mr Turn on reverse video mode rev=\E[7m, # # Note: Changed from \E)B^O in 605V2 to just ^O ala 730. # # exit_alt_charset_mode,rmacs ae End alternate character set rmacs=^O, # # Note: Changed by from \E)B^N in 605V2 to just ^N ala 730. # # enter_alt_charset_mode,smacs as Start alternate character set smacs=^N, # # exit_attribute_mode, sgr0 me Turn off all attributes sgr0=\E[m^O, # set_attributes, sgr sa Define the video attributes sgr=\E[0%?%p6%t;1%;%?%p5%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%t;7%;%?%p7%t;8%;m%?%p9%t^N%e^O%;, # # Bells # # bell, bel bl Audible signal (bell) bel=^G, # flash_screen, flash vb Visible bell (may not move cursor) flash=\E[?5h$<200>\E[?5l, # # Cursor Intensity # # cursor_invisible, civis vi Make cursor invisible civis=\E[?25l, # cursor_normal, cnorm ve Make cursor appear normal (undo vs/vi) cnorm=\E[?25h\E[?12l, # cursor_visible, cvvis vs Make cursor very visible cvvis=\E[?12;25h, # ################################################################# # Padding and XON/XOFF Capabilities ################################################################# # # Padding Capabilities # # Note: npc was causing flashing to operate improperly # # no_pad_char, npc NP Pad character doesn't exist. # npc, # # Xon/Xoff Flow Control Capabilities # # xon_xoff, xon xo Terminal uses xon/xoff handshaking xon, # Note: added for 705 # # enter_xon_mode, smxon SX Turn on xon/xoff handshaking smxon=\E[53;0|, # exit_xon_mode, rmxon RX Turn off xon/xoff handshaking rmxon=\E[53;3|, # ################################################################# # Special Terminal Capabilities ################################################################# # # Glitch Capabilities # # eat_newline_glitch, xenl xn newline ignored after 80 cols (Concept) xenl, # # Local Printer Capabilities # # print_screen, mc0 ps Print contents of the screen mc0=\E[i, # prtr_off, mc4 pf Turn off the printer mc4=\E[?4i, # prtr_on, mc5 po Turn on the printer mc5=\E[?5i, # # Line Graphics Capabilities # # acs_chars, ascs ac Graphic charset pairs aAbBcC-def=vt100+ acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, # # Miscellaneous Capabilities # # auto_right_margin, am am Terminal has automatic margins am, # label_format, fln ?? String giving Label format fln=4\,4, # Note that swidm is not an appropriate entry for either # the 630V2 (from whence it came) or the 730 (in which it was removed). # According to its definition it seems appropriate for a printer which # can be expected to turn on double wide for a single character (if exit_ # doublewide_mode (rwidm) is not defined) or for multiple characters (if # rwidm is defined). Also there are not capabilities defined which could # represent the other sequences of the form ESC#pn, e.g. to enter double wide # top and bottom with double high. Thus note that swidm below is commented out. # # enter_doublewide_mode swidm ?? Enter double-wide mode # swidm=\E#6, # # # Added from 730 entry. According to O'Reilly this is the number of # lines of memory, apparently associated with db and da (memory_above and # memory_below). An explicit #0 should be used if the lines of memory # varies. This seems appropriate since the application should not try to # access this screen memory (just the CAA) # # lines_of_memory, lm lm Lines of memory if>lines. 0 means varies lm#0, # ########################################################## # Keyboard Definition for 102 Key U.S. Keyboard ########################################################## # # Cursor Arrow Keypad Keys # # Pri Sec Cntrl # Up CSI A CSI T CSI T # key_up, kcuu1 ku Sent by terminal up arrow key kcuu1=\E[A, # Left CSI D CSI<sp>A CSI<sp>A # key_left, kcub1 kl Sent by terminal left arrow key kcub1=\E[D, # key_sleft, kLFT #4 KEY_SLEFT, 0611, shifted left arrow key # changed by jwe to 730 format with \s instead of embedded space kLFT=\E[\sA, # # Down CSI B CSI S CSI S # key_down, kcud1 kd Sent by terminal down arrow key kcud1=\E[B, # Right CSI C CSI<sp>@ CSI<sp>@ # key_right, kcuf1 kr Sent by terminal right arrow key kcuf1=\E[C, # key_sright, kRIT %i KEY_SRIGHT, 0622, shifted right arrow # # This entry changed by to 730 format with \s instead of embedded space kRIT=\E[\s@, # # Numeric Pad Keys (taken from Op Man) # # (no use for function keys f29 thru f46) # # key_f29, kf29 k29 KEY_F(29), function key f29. # thru # key_f46, kf46 k46 KEY_F(46), function key f46. # # Pri Sec Cntrl ALT # Num Lock -- -- -- SS3 P kf29=\EOP, # / 0x2f 0x2f 0x2f SS3 Q kf30=\EOQ, # * 0x2a 0x2a 0x2a SS3 R kf31=\EOR, # - 0x2d 0x2d 0x2d SS3 S kf32=\EOS, # 7 - Home 0x37 0x37 0x37 SS3 w kf33=\EOw, # 8 - Up arrow 0x38 0x38 0x38 SS3 x kf34=\EOx, # 9 - PgUp 0x39 0x39 0x39 SS3 y kf35=\EOy, # + 0x2b 0x2b 0x2b SS3 m kf36=\EOm, # 4 - Lt Arrow 0x34 0x34 0x34 SS3 t kf37=\EOt, # 5 0x35 0x35 0x35 SS3 u kf38=\EOu, # 6 - Rt Arrow 0x36 0x36 0x36 SS3 v kf39=\EOv, # , 0x2c 0x2c 0x2c SS3 l kf40=\EOl, # 1 - End 0x31 0x31 0x31 SS3 q kf41=\EOq, # 2 - Dn Arrow 0x32 0x32 0x32 SS3 r kf42=\EOr, # 3 - PgDn 0x33 0x33 0x33 SS3 s kf43=\EOs, # Enter (4 programmed characters) SS3 M kf46=\EOM, # 0 - Ins 0x30 0x30 0x30 SS3 p kf44=\EOp, # . - Del 0x2e 0x2e 0x2e SS3 n kf45=\EOn, # # Six Key Edit Cluster # # Pri Sec Cntrl # # Insert CSI @ CSI L -- # key_ic, kich1 kI Sent by ins char/enter ins mode key kich1=\E[@, # key_il, kil1 kA Sent by insert line kil1=\E[L, # # Home - Clear CSI H CSI 2J (local clear) # key_home, khome kh Sent by home key khome=\E[H, # key_clear, kclr kC Sent by clear screen or erase key kclr=\E[2J, # Note: kHOM was removed by TLH # key_shome, kHOM #2 KEY_SHOME, 0607, shifted home key # kHOM=\E[2J, # # PageUp - Disc CSI V -- (disconnect) # key_ppage, kpp kP Sent by previous-page key kpp=\E[V, # # Delete CSI P CSI M DEL (w/swap Delete/DEL=no) # key_dc, kdch1 kD Sent by delete character key kdch1=\E[P, # key_dl, kdl1 kL Sent by delete line key kdl1=\E[M, # # End CSI 24;1H -- -- # kend=\E[24;1H, # PageDn-Reset CSI U -- ESC C # key_npage, knp kN Sent by next-page key knp=\E[U, # # # # Other Special Keyboard Keys # # key_backspace, kbs kb Sent by backspace key kbs=^H, # # Added: (not contained in original 605V2. Is in 730) # key_btab, kcbt kB Back tab key kcbt=\E[Z, # # Added: (not contained in original 605V2) Note: The 705 does not # support the ESC [ pn S or T scroll sequences (until a 4425 emulation is # added). but we still can indicate to a curses application that a single scroll # forward or reverse key was hit. It will respond with index or reverse index. # TLH - How can it be so indicated? # # key_sf, kind kF Sent by scroll-forward/down key # kind=\E[S, # key_sr, kri kR Sent by scroll-backward/up key # kri=\E[T, # # Function Key Definitions # # Entries for kf1 thru kf14 refer to the un-shifted system pf keys # Entries for kf15 thru kf28 refer to the shifted system pf keys # Entries for kf29 thru kf37 refer to the alternate keypad mode keys # included in the numeric keypad section above # # key_f1, kf1 k1 KEY_F(1), function key f1. # thru # key_f37, kf37 k37 KEY_F(37), function key f37. # kf1=\EOc, kf2=\EOd, kf3=\EOe, kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\ENo, kf10=\ENp, kf11=\ENq, kf12=\ENr, kf13=\ENs, kf14=\ENt, # kf15=\EOC, kf16=\EOD, kf17=\EOE, kf18=\EOF, kf19=\EOG, kf20=\EOH, kf21=\EOI, kf22=\EOJ, kf23=\ENO, kf24=\ENP, kf25=\ENQ, kf26=\ENR, kf27=\ENS, kf28=\ENT, # kf29=\EOq, kf30=\EOr, kf31=\EOs, kf32=\EOt, kf33=\EOu, kf34=\EOv, kf35=\EOw, kf36=\EOx, kf37=\EOy, # # Programmable Function Keys and Function Key Labels # # # pkey_xmit, pfx px Prog funct key #1 to xmit string #2 # # Note: The following pkey_xmit is taken from the 605V2 which contained the # capability as pfxl. It was changed here to pfx since pfxl # will only compile successfully with Unix 4.0 tic. Also note that pfx only # allows strings to be parameters and label values must be programmed as # constant strings. Supposedly the pfxl of Version 4.0 allows both labels # and strings to be parameters. The 605V2 pfx entry should be examined later # in this regard. For reference the 730 pfxl entry is shown here for comparison # 730 pfx entry: # pfxl=\E[%?%p1%{25}%<%t%p1%e%p1%{24}%-%;%d;%p2%l%02d%?%p1%{25}%<%tq\s\s\s # SYS\s\s\s\s\sF%p1%:-2d\s\s%e;0;3q%;%p2%s, # # (for 4.0 tic) # pfxl=\E[%p1%d;%p2%l%02dq%?%p1%{9}%<%t F%p1%1d %;%p2%s, # # (for <4.0 tic) pfx=\E[%p1%d;%p2%l%02dq%?%p1%{9}%<%t F%p1%1d %;%p2%s, # # Label Capabilities # # plab_norm, "pln" "pn" Prog label #1 to show string #2 pln=\E[%p1%d;0;0;0q%p2%:-16.16s, # label_height, lh lh # rows in each label lh#2, # label_width, lw lw # cols in each label lw#8, # num_labels, nlab Nl # of labels on screen (start at 1) nlab#8, # label_off, rmln LF Turn off soft labels rmln=\E[2p, # label_on, smln LO Turn on soft labels smln=\E[p, # # The following entries differ little from the standard 705 terminfo. # They only modify the screen size and reverse video, changing rs1 # accordingly to use one of the following escape sequences, and using # the 705+X variations. (In 80 column mode, you can get 41 lines. In # 132 column mode, you can get 40 lines.) # # ESC [ 56;ps| set lines to 24: ps=0; 40/41: ps=1 (plus status line) # ESC [ ? 3 l/h workspace: 80 col (l); 132 col (h) # ESC [ ? 5 l/h video: normal (l); reverse (h) # #Info: # 705 variations used below # att705+rv, flash=\E[?5l$<200>\E[?5h, att705+w, cols#132, wsl#132, att705+40, lines#40, ll=\E[40H, att705+41, lines#41, ll=\E[41H, # #Info: # This is the 705.ti entry modified for reverse video # 705-rv|705mt-rv|ATT705-rv|att705-rv|AT&T 705-rv 24x80 reverse video display w/102 key keyboard @(#)705.ti 1.1, rs1=\Ec\E[56;0|\E[?3l\E[?5h, use=att705+rv, use=att705, # # #Info: # # This is the 705.ti entry modified for 24 lines and 132 columns # 705-w|705mt-w|ATT705-w|att705-w|AT&T 705-w 24x132 w/102 key keyboard @(#)705.ti 1.1, rs1=\Ec\E[56;0|\E[?3h\E[?5l, use=att705+w, use=att705, # # #Info: # # This is the 705.ti entry modified for 24x132 and reverse video # 705-w-rv|705mt-w-rv|ATT705-w-rv|att705-w-rv|AT&T 705-w-rv 24x132 column reverse video display w/102 key keyboard @(#)705.ti 1.1, rs1=\Ec\E[56;0|\E[?3h\E[?5h, use=att705+w, use=att705+rv, use=att705, # # #Info: # # This is the 705.ti entry modified for 41 lines by 80 columns # 705-41|705mt-41|ATT705-41|att705-41|AT&T 705-41 41x80 w/102 key keyboard @(#)705.ti 1.1, # rs1=\Ec\E[56;1|\E[?3l\E[?5l, use=att705+41, use=att705, # # #Info: # # This is the 705.ti entry modified for 41x80 and reverse video # 705-41-rv|705mt-41-rv|ATT705-41-rv|att705-41-rv|AT&T 705-41 41x80 reverse video display w/102 key keyboard @(#)705.ti 1.1, rs1=\Ec\E[56;1|\E[?3l\E[?5h, use=att705+41, use=att705+rv, use=att705, # # #Info: # # This is the 705.ti entry modified for 40 lines by 132 columns # 705-40-w|705mt-40-w|ATT705-40-w|att705-40-w|AT&T 705-40-w 40x132 w/102 key keyboard @(#)705.ti 1.1, rs1=\Ec\E[56;1|\E[?3h\E[?5l, use=att705+40, use=att705+w, use=att705, # # #Info: # # This is the 705.ti entry modified for 40x132 and reverse video # 705-40-w-rv|705mt-40-w-rv|ATT705-40-w-rv|att705-40-w-rv|AT&T 705-40-w-rv 40x132 reverse video display w/102 key keyboard @(#)705.ti 1.1, rs1=\Ec\E[56;1|\E[?3h\E[?5h, use=att705+40, use=att705+w, use=att705+rv, use=att705, -- Lenny Tropiano Project Manager / Sr. Software Engineer American LP Systems, Inc. E-MAIL (day) : ...{icus, sbcs}!alps!lenny 305-1 Knickerbocker Avenue (eve) : lenny@icus.ICUS.COM Bohemia, New York 11716 AT&T MAIL : ...attmail!alps!lenny