vt termcap entries for using Informix on DEC VT-compatible terminals This file is a collection of termcap entries submitted by Informix users and/or grabbed off of the Net. They have been accumulated here without testing or editing, so of course "your mileage may vary." The entries in this file support the following terminals, windows and environments (listed in the order in which they appear in this file): o vt100 running both Informix and Emacs under SunOS o Wyse-60, Wyse-120, Wyse-150, and Wyse-160 terminals emulating VT100's. o Intergraph VT100 and VT220 series emulation o DEC VT340 o DEC VT320 Send any termcap or terminfo entries to be added to this collection to walt@mathcs.emory.edu or {...,gatech,rutgers,uunet}!emory!walt. ============================================================================== From: bochner@das.harvard.edu Date: Fri, 08 May 92 11:33:27 -0400 Some explanation: there are termcap codes 'ks' and 'ke' that mean something like "enter/exit keypad mode". If these are defined in the termcap entry, Informix sends ks, reasonably figuring that they ought to send it to activate the keypad. But the ks code in the SunOS termcap entry for vt100's has the effect of putting the terminal into a mode where the keypad keys send escape sequences rather than numerals, and Informix doesn't understand those escape sequences. So using the SunOS termcap with informix makes the keypad unusable. BUT, the termcap that Informix shipped us doesn't work with Emacs because it's missing the sf code for "scroll up". So I copied the value from SunOS termcap entry, and it seems to work. # this termcap entry is a modified version of the one supplied by # informix: it contains the 'sf' entry, w/o which emacs won't work. # we can't use the SunOS system entry for vt100's because it contains # ks and ke entries that informix misuses. # for all other terminal types, however, we use the std entries, # with no problems so far ... HB 3/91 v1|vt100|vt-100|DEC vt100:\ :bs:am:xn:xv:pt:cd=\E[J:ce=2\E[K:cl=45\E[H\E[J:\ :cs=%i\E[%d;%dr:cm=%i\E[%d;%dH:co#80:li#24:\ :Hi=\E=:Hf=\E>:HI=^|:Po=\E1:Pe=\E2:\ :bc=\E[D:do=\E[B:nd=\E[C:sf=5\ED:sr=5\EM:up=\E[A:so=\E[7m:se=\E[m:\ :ku=\E[A:kd=\E[B:kr=\E[C:kl=\E[D:kh=\E[H:us=\E[4m:ue=\E[0m:\ :k0=\EOP:k1=\EOQ:k2=\EOR:k3=\EOS:\ :k5=\EOn:k7=\EOw:k8=\EOx:k9=\EOy:\ :KA=\EOu:KU=\EOM:KB=\EOv:KC=\EOt:\ :Ki=\EOr:KT=\EOl:KY=\EOS:KZ=\EOq:\ :Kd=\EOm:k6=\EOs: \ :sc=\E7:rc=\E8: \ :gs=\E(0:ge=\E(B:gb=lmkjqx: ------------------------------------------------------------------------------ From: dave@cdin-1.compu.com Date: 15 Jul 92 13:58:05 GMT Quoting John Baker, Lex-Blue Grass Army Depot... > > I'm using the termcap file supplied by Informix (version 4.0). We are > using Wyse-75 terminals set to emulate vt100. The Unix TERM is set to > vt100. INFORMIXTERM was not set, so according to the manual it will use > termcap. > > Everything works just fine except that I can't get blinking or underlining > to work. When I code "color = underline" or "blink" in a .per screen form, > the display always comes out in reverse video. I also get only reverse video > when I code "display .... attribute (underline)" or "attribute (blink)." > John, we use wyse-60, wyse-120, wyse-150, and wyse-160 terminals here all emulating a vt100. This is the termcap entry we use that works flawlessly. Here --------- Snip Here --------- Snip Here --------- Snip Here --------- Snip wysevt|procomm|Wyse VT100 emulation or Procomm VT102:\ :am:co#80:li#24:cl=50\E[;H\E[2J:bs:cm=5\E[%i%d;%dH:nd=2\E[C:up=2\E[A:\ :ce=3\E[K:cd=50\E[J:so=2\E[7m:se=2\E[m:us=2\E[4m:ue=2\E[m:\ :is=\E>\E[?1l\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\ :if=/usr/lib/tabset/vt100:ku=\E[A:kd=\E[B:kr=\E[C:kl=\E[D:\ :kh=\E[H:k0=\EOP:k1=\EOQ:k2=\EOR:k3=\EOS:pt:xn:sr=5\EM:\ :k4=\EOt:k5=\EOu:k6=\EOv:k7=\EOl:\ :k8=\EOw:k9=\EOx:kA=\E[23~:kB=\E[24~:\ :ks=\E\075:ke=\E\076:\ :mb=\E[5m:md=\E[1m:me=\E[0m:\ :GS=\E(0:GE=\E(B:\ :GV=x:GH=q:G1=k:G2=l:G3=m:G4=j:GU=v:\ :GD=w:GC=n:GL=u:GR=t:\ :CL=\EOP:CR=\EOQ:WL=\EOR:WR=\EOS:\ :UK=\E[A:DK=\E[B:LK=\E[D:RK=\E[C:\ :PN=\E[5i:PS=\E[4i:\ :cs=%i\E[%2;%2r:\ :gs=\E(0:ge=\E(B:gb=lmkjqx:\ :ZG#0:ZA=%'0'%?%p1%{0}%=%t%{0}%+%e%p1%{1}%=%t%{1}%+%e%p1%{2}%=%t%{1}%+%e%p1%{3}%=%t%{1}%+%e%p1%{4}%=%t%{2}%+%e%p1%{5}%=%t%{2}%+%e%p1%{6}%=%t%{2}%+%e%p1%{7}%=%t%{8}%+%;\E[%cm%;%?%p2%t\E[7m%;%?%p3%t\E[5m%;%?%p4%t\E[4m%;: Here --------- Snip Here --------- Snip Here --------- Snip Here --------- Snip Just wedge this into the file pointed to by the variable TERMCAP and set your TERM=wysevt. You'll also note that this supports procomm in vt102 mode. One last thing... make sure that your terminal has it's function keys programmed to echo the escape sequences in the above file (k0 thru kB). DAS -- David A. Snyder @ CompuData Inc. - Philadelphia, PA UUCP: ..!uunet!cdin-1!dave INTERNET: dave@compu.com ------------------------------------------------------------------------------ From: jerry@jerry.mendota.ingr.com Date: Thu, 6 Jan 94 10:51:55 CST These work for Intergraph Work Stations. We use dec terminal codes. v1|vt100|vt-100|DEC vt100:\ :bs:am:mi:ms:xn:xv:pt:cd=\E[J:ce=2\E[K:cl=45\E[H\E[J:\ :cs=%i\E[%d;%dr:cm=%i\E[%d;%dH:co#80:li#24:\ :Hi=\E=:Hf=\E>:HI=^|:Po=\E1:Pe=\E2:\ :bc=\E[D:do=\E[B:nd=\E[C:sr=\EM:up=\E[A:so=\E[7m:se=\E[m:\ :ku=\E[A:kd=\E[B:kr=\E[C:kl=\E[D:kh=\E[H:us=\E[4m:ue=\E[0m:\ :k0=\EOP:k1=\EOQ:k2=\EOR:k3=\EOS:\ :k5=\EOn:k7=\EOw:k8=\EOx:k9=\EOy:\ :KA=\EOu:KU=\EOM:KB=\EOv:KC=\EOt:\ :Ki=\EOr:KT=\EOl:KY=\EOS:KZ=\EOq:\ :Kd=\EOm:k6=\EOs:\ :sc=\E7:rc=\E8: \ :gs=\E(0:ge=\E(B:gb=lmkjqx:\ :ZG#0:ZA=\E[0%?%p1%{0}%=%t;37%e%p1%{1}%=%t;33%e%p1%{2}%=%t;35\ %e%p1%{3}%=%t;31%e%p1%{4}%=%t;36%e%p1%{5}%=%t;32%e%p1%{6}%=%t;34\ %e%p1%{7}%=%t;30%;%?%p2%t;7%;%?%p3%t;5%;%?%p4%t;4%;m: # TERMCAP MODIFIED BY JERRY JUGOVICH TO ALLOW COLOR FOR InterPro 32 ### ############################################################################# #ZG#0:ZA=\E[0%?%p1%{0}%>%p1%{4}%<%&%t;1%;%?%p2%t;7%;%?%p3%t;5%;%?%p4%t;4%;m # ZG#0: # no video attribute character required # ZA=\E[0 # sgr escape sequence # %?%p1%{0}%> # if p1 > 0 and p1 < 4 then # %p1%{4}%<%&%t;1%; # push ";1" for bold # %?%p2%t;7%; # push ";7" for reverse video # %?%p3%t;5%; # push ";5" for blink # %?%p4%t;4%; # push ";4" for underscore # m # escape sequence terminator # following elimited from vt220 termcap # :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\ # :RI=\E[%dC:SR=\E[%dA:UP=\E[%dA:ae=^O:al=\E[L:as=^N:\ # :k1=\E[17~:k2=\E[18~:k3=\E[19~ # v2|vt220|vt220-am|Intergraph VT220 series emulation:\ :am:da:mi:ms:xn:xo:bs:pt:\ :co#132:li#24:\ :ae=^O:al=\E[L:as=^N:\ :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\ :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:ei=\E[4l:\ :ho=\E[H:im=\E[4h:Hi=\E=:Hf=\E>:HI=^|:Po=\E5i:Pe=\E4i:\ :is=\E[62;1"p\E[20l\E[12h\E[?8h\E[?7h\E[?25h:\ :k0=\EOP:k1=\EOQ:k2=\EOR:k3=\EOS:\ :k4=\E[20~:k5=\E[21~:\ :k6=\E[23~:k7=\E[24~:k8=\E[25~:k9=\E[26~:kb=\b:\ :kd=\EOB:ke=\E[?1l:kl=\EOD:kr=\EOC:ks=\E[?1h:ku=\EOA:\ :nd=\E[C:r2=\E[62;1"p\E[20l\E[12h\E[?8h\E[?7h\E[?25h:\ :rc=\E8:sc=\E7:se=\E[22;27m:so=\E[1;7m:sr=\EM:st=\EH:\ :ue=\E[24m:up=\EM:us=\E[4m:\ :vb=^G\E[1;2;3;4q\E[q\E[1;2;3;4q\E[q\E[1;2;3;4q\E[q\E[1;2;3;4q\E[q:\ :ve=\E[0:vi=\E[1v:vs=\E[0:\ :gs=\E(0:ge=\E(B:gb=lmkjqx:\ :ZG#0:ZA=\E[0%?%p1%{0}%=%t;37%e%p1%{1}%=%t;33%e%p1%{2}%=%t;35\ %e%p1%{3}%=%t;31%e%p1%{4}%=%t;36%e%p1%{5}%=%t;32%e%p1%{6}%=%t;34\ %e%p1%{7}%=%t;30%;%?%p2%t;7%;%?%p3%t;5%;%?%p4%t;4%;m: # TERMCAP MODIFIED BY JERRY JUGOVICH TO ALLOW COLOR FOR InterPro 32 ### ############################################################################# #ZG#0:ZA=\E[0%?%p1%{0}%>%p1%{4}%<%&%t;1%;%?%p2%t;7%;%?%p3%t;5%;%?%p4%t;4%;m # ZG#0: # no video attribute character required # ZA=\E[0 # sgr escape sequence # %?%p1%{0}%> # if p1 > 0 and p1 < 4 then # %p1%{4}%<%&%t;1%; # push ";1" for bold # %?%p2%t;7%; # push ";7" for reverse video # %?%p3%t;5%; # push ";5" for blink # %?%p4%t;4%; # push ";4" for underscore # m # escape sequence terminator +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Mail Path: jerry@jerry.mendota.ingr.com Jerry Jugovich jmjugovi@ingr.com Phone: 612 681-4450 TIM Application Engineer Intergraph Corporation Mendota Heights Minnesota +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ------------------------------------------------------------------------------ From: cwakins@jabba.rmc.com (Clem W. Akins) Date: 9 May 1994 11:48:14 -0400 in <940505222342_73040.1071_FHG82-1@CompuServe.COM> Chuck Drolsbaugh <73040.1071@CompuServe.COM> writes: > I'm in need of a DEC vt340 termcap entry. [...] specifics deleted > If anyone can provide a termcap entry it would be much appreciated! > Thanks in advance for any help. > > Chuck Drolsbaugh This is our termcap entry, you'll notice that we have redefined the function keys to conform to an antiquated company standard. That may be instructional, but it's not practical. ### vt3xx terminal FUNCTION KEYS: vt300 7-bit # DEC INFORMIX xmit # keyboard F# k# in termcap value # -------- ---- ------------- ----- # F7 F1 k0 \E[18~ # F8 F2 k1 \E[19~ # F9 F3 k2 \E[20~ # F10 F4 k3 \E[21~ # F11 F5 k4 \E[23~ # F12 F6 k5 \E[24~ # F13 F7 k6 \E[25~ # F14 F8 k7 \E[26~ # F17 F9 k8 \E[31~ # F18 F10 k9 \E[32~ # F19 F11 kA \E[33~ # F20 F12 kB \E[34~ # ### NOTE: vt300 8-bit xmit values are \Enn~ (as above w/o the "[" ) # vt300|VT300|300|Digital Equipment vt300 series terminals:\ :am:eo:xn:xo:pt:\ :co#80:it#8:li#24:lm#24:vt#3:kn#4:\ :AL=\E[%dL:DC=\E[%dP:DL=\E%dM:\ :IC=\E%d@:Ip=\E)0\E(B:\ :ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:ce=3\E[K:\ :cl=50\E[H\E[J:cm=\E[%i%d;%dH:cr=\r:cs=\E[%i%d;%dr:\ :ct=\E[3g:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ff=\f:\ :ho=\E[H:im=\E[4h:k0=\E[18~:k1=\E[19~:k2=\E[20~:\ :k3=\E[21~:k4=\E[23~:k5=\E[24~:k6=\E[25~:k7=\E[26~:\ :k8=\E[31~:k9=\E[32~:kN=\E[6~:kP=\E[5~:kb=\b:\ :kA=\E[33~:kB=\E[34~:\ :kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:ll=\E[24;1H:\ :mb=2\E[5m:md=2\E[1m:me=2\E[m^O:mh=\E[4m:mr=2\E[7m:\ :nd=\E[C:nw=\EE:r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\ :rc=\E8:\ :sc=\E7:se=2\E[m:sf=\ED:so=\E[7m:sr=5\EM:st=\EH:\ :ta=\t:ue=\E[m:up=\E[A:us=\E[4m:\ :bc=\E[D:nl=\E[B:ko=le,do,nd,up:gb=lmkjqx:gs=\E(0:ge=\E(B:\ :ZA=\E[0%?%p1%{0}%>%p1%{4}%<%&%t;1%;%?%p2%t;7%;%?%p3%t;5%;%?%p4%t;4%;m # :ta=\t:ue=\E[m:up=\E[A:us=\E[4m:vb=200\E[?5h\E[?5l:\ ############################################################################### this is the original DEC termcap entry for a vt300 series terminal: ############################################################################### vt300|dec vt300:\ ### :hs:\ ### :es:\ ### :ts=\E[1$}\E[;H\E[K:\ ### :fs=\E[0$}:\ ### :ds=\E[1$}\E[;H\E[K\E[0$}:\ ### :tc=vt200: ############################################################################### __________________________________________________________________ | Clem Akins Standard Disclaimers Apply | | Reynolds Metals Co. "Climb High, Cave Deep!" | | Alloys Plant (MS #59) | | 3509 East 2nd St Internet: cwakins@leia.rmc.com | | Muscle Shoals, Al Telephone: (205) 386-6783 | | USA 35661-1256 Facsimile: (205) 386-6831 | |________________________________________________________________| ------------------------------------------------------------------------------ From: pkb@pru1.umds.ac.uk (Peter K. Botcherby) Date: Mon, 9 May 1994 14:13:42 +0000 Here is another termcap entry for your collection and a little explanation. I have been playing with termcap & terminfo in order to let users that have networked PCs get better access to the Informix applications that I have developed which use Word Perfect 5.1 for Unix to edit blobs. The best solution I came up with was to use Kermit 3.13 to provide a telnet connection to the host over a packet driver interface and to use the vt320 emulation provided by kermit. The Sun does not have either a termcap or terminfo entry for this terminal. After searching the net for some time I came across this in the kermit archives and I have modified it to include the Informix function keys and color Ansi support. This now provides a good emulation for the PCs and Word Perfect for Unix is mapped correctly to the PC keyboard. I felt that Jeff Kellem's description was very useful and a good starting point for others. The termcap entry on the Sun is limited to about 1024 bytes so I had to chop it down in order to include Informix support but I made the terminfo entry from the original. I have been unable to map the PCs delete, backspace or insert keys so that they function within Informix applications to edit character fields - and without upsetting the mappings for WP at the same time - if anybody can sort that out I would be forever grateful. Best regards, Peter -- p.botcherby@umds.ac.uk -- Division of Medical & Molecular Genetics -- Guys Hospital, London, UK Additional Notes. ----------------- The "vi" in SunOS 4.1[.x] is based on the System V Release 3.1 "vi", because that version of "vi" supports 8-bit character sets. That version of "vi" uses "terminfo", not "termcap"; you have to change the "terminfo" entry for the terminal. If you already have a "termcap" entry, you can convert it to a "terminfo" entry with "/usr/5bin/captoinfo". A text "terminfo" entry must be recompiled in order for programs using "terminfo" to use it; "/usr/5bin/tic" will recompile it. Word Perfect for Unix relies on a resource file for the terminal it runs on the version supplied for kermit will not work with the release 3.13 of kermit without modification. vt320 termcap. -------------- # vt320 termcap with Informix Function Keys and colorstuff # Modified by Peter K. Botcherby 01-Mar-1994 # kermit|vt320|dec vt320 for kermit 3.13:\ :am@:bs:es:hs:mi:mo:pt:xn:xo:co#80:li#24:\ :ct=\E[3g:im=\E[4h:ei=\E[4l:\ :AL=\E[%dL:dc=\E[%dP:DC=\E[%dP:\ :do=^J:DO=\E[%dB:IC=\E[%d@:le=^H:LE=\E[%dD:\ :dl=\E[M:DL=\E[%dM:nd=\E[C:RI=\E[%dC:up=\E[A:UP=\E[%dA:\ :cs=\E[%i%d;%dr:sf=\ED:sr=\EM:\ :ce=\E[K:cl=\E[;H\E[2J:cd=\E[J:cm=\E[%i%d;%dH:\ :so=\E[7m:se=\E[22m:us=\E[4m:ue=\E[24m:\ :md=\E[1m:mr=\E[7m:mb=\E[0;5m:me=\E[0m:\ :ks=\E[?1h\E=:ke=\E[?1l\E>:\ :rf=/usr/lib/tabset/vt100:\ :is=\E<\E[63;1"p\E[!p\E[?3l\E[?5l\E[?7h\E[?8h\E[?4l\E[?68l\E[2$~:\ :gs=\E(0:ge=\E(B:gb=lmkjqx: \ :ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:kb=^H:\ :ho=\E[H:sc=\E7:rc=\E8:cs=\E[%i%d;%dr:vb=\E[?5h\E[?5l:\ :k0=\EOP:k1=\EOQ:k2=\EOR:k3=\EOS:k4=\EOw:\ :k5=\EOx:k6=\EOy:k7=\EOm:k8=\EOt:k9=\EOu:\ :vt#3:kl=\EX:kI=\EA:r1=\E[?3l:\ :ZA=\E[%?%p1%{0}%=%t0m\E[37%e%p1%{1}%=%t1m\E[33%e%p1%{2}%=%t35%e%p1%{3}%=%t31%e%p1%{4}%=%t36%e%p1%{5}%=%t32%e%p1%{6}%=%t34%e%p1%{7}%=%t30%;m\E[0m%?%p2%t\E[7m%;%?%p3%t\E[6m%;%?%p4%t\E[4m%;: # The ZA entry should be all on one line - I have modified it to default to white characters on a blue blackground. The original termcap entry and description # Jeff Kellem # INTERNET: composer@cs.bu.edu (or composer@bu.edu) # UUCP: ...!harvard!bu-cs!composer # ------------------------------------------------------------------------ # hs: has status line # es: other display cmds work while writing the status line # ts: cmds to move cursor into status line # moves to status line, moves cursor to 1,1 in status line (?), # then clears to end of line # fs: cmds to move cursor back from status line to previous position # ds: cmds to disable the display of the status line # maybe we should just set status line type to none for disable # as in, :ds=\E[0$~ # but, then, may have to chg to host-writable stat line to # move into it. :( probably leave it alone for now.. # anyways, would rather just keep it host-writable.. # currently, we're doing .. # moves to status line, moves cursor to 1,1 in status line (?), # clears to end of line, then moves cursor back to prev position # im: enter insert mode # ei: exit insert mode # IC: insert N chars # mi: safe to move cursor in insert mode. I'm assuming that the # terminal remains in insert mode. (I need better technical docs ;-) # dc: cmds to delete one char position at the cursor # DC: cmds to delete N chars # dm & ed: enter/exit delete mode .. should these be here? NO del mode! # in some termcap entries they seem to be set to nothing, as in: # :dm=:ed=: ... and others they are nonexistent # al & AL: insert one/N line/s # dl & DL: delete one/N line/s # cs: set scroll region - 2 args, top and bottom lines of region # sf: cmds to scroll one line up # sr: cmds to scroll one line down # am: flag says wrap on margin # xn: flag says cursor on last column/line wrap glitch # ce: cmds to clear to EOL # cl: cmds to clear entire screen and position cursor at upper left # cd: cmds to clear the line the cursor is on to end of screen # ec: cmds to clear N chars, starting with char cursor is on # cm: cmds to move to cursor position LINE, COLUMN # ho: cmds to move cursor to home position, upper left corner # @@@ NO ll: cursor to lower left ?? # cr: cursor to beginning of line ?? set to ^M right now, why not? # nw: cmds to move cursor to beginning of next line # ta: cmds to move cursor forward to next hardware tab # @@@ NO bt: NO backward tab that I can find .. so, NOT included # le: cmds to move cursor left one column - should this just be ^H ?? # bc: OBSOLETE - same as `le' capability --REMOVED # nd: cmds to move cursor right one column # up & do: cmds to move cursor up/down one line # LE,RE,UP,DO: move cursor N of above lower case capabilities # sc & rc: save/restore cursor position # so & se: start/end standout mode (reverse video) # ms: says that it is safe to move cursor in standout mode.. # is this ok??? @@@ ?? seems so..but, maybe not..who knows? # mb: cmds to turn on blinking attribute # md: cmds to turn on bold/double-bright attribute # mk: cmds for invisible attribute # mr: cmds to turn on reverse attribute # me: cmds to turn OFF all attributes # @@@ What about uc & ul capabilities .. old underlining stuff..?? # @@@ doesn't seem like vt320 can deal with it, but who knows? # @@@ What to do about alternate character set?? vt320 can handle more # @@@ than one alternate set, it looks like. # vi & ve: cmds to turn cursor off & on # bl: cmds to sounds bell # ks: cmds to put numeric keypad and cursor keys in application mode # ke: cmds to put numeric keypad and cursor keys back to normal # kl/kr/ku/kd: chars sent by left/right/up/down arrow keys in appl mode # k1 .. k4: chars sent by pf1 .. pf4 keys # l1 .. l4: strings on pf1 .. pf4 keys (really, "pf1" to "pf4") # @@@ put here so as not to confuse with f1 to f4 keys # kD: chars sent by the `Remove' key ("delete char" key) # kI: chars sent by the `Insert Here' key ("ins char" or # "enter ins mode" key) # kN: chars sent by the `Next Screen' key ("next page" key) # kP: chars sent by the `Prev Screen' key ("previous page" key) # what about "scroll forward/reverse" key capabilties instead?? nah.. # is: initialization string # exit vt52 mode # set operating mode to vt300 mode, 7-bit controls (default) # soft terminal reset # set screen width to 80 columns, side-effect => clears screen # set screen mode to dark background # OVERRIDE disabling of autowrap (from soft reset) # probably shouldn't, but who cares? :) # set autorepeat mode on # set scrolling to jump scroll # set keyboard usage mode to typewriter # set status line type to host-writable # @@@ set tab stops to every 8 positions (only first 9, for 80 col) # @@@ *NO* need to set tab stops. `tset' should try to do it, since `ct' # @@@ and `st' capabilities exist. It uses a combination of `ct', `st', # @@@ and `ch' (or `cm') capabilities to set tab stops at every 8 pos. # # rs: reset string, same as `is' capability, right now.. # any other suggestions? # st: cmds to set tab stop at current cursor column # ct: cmds to clear all tab stops # db|vt320|vt300|vt320-am|vt300-am|dec vt320 w/am:\ :co#80:li#24:\ :hs:\ :es:\ :ts=\E[1$}\E[;H\E[K:\ :fs=\E[0$}:\ :ds=\E[1$}\E[;H\E[K\E[0$}:\ :im=\E[4h:ei=\E[4l:mi:\ :IC=\E[%d@:\ :dc=\E[P:DC=\E[%dP:\ :al=\E[L:AL=\E[%dL:dl=\E[M:DL=\E[%dM:\ :cs=\E[%i%d;%dr:sf=\ED:sr=\EM:\ :am:xn:\ :ce=\E[K:cl=\E[H\E[J:cd=\E[J:ec=\E[%dX:\ :cm=\E[%i%d;%dH:ho=\E[H:\ :cr=^M:nw=\EE:ta=^I:\ :le=\E[D:nd=\E[C:up=\E[A:do=\E[B:\ :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:DO=\E[%dB:\ :sc=\E7:rc=\E8:\ :so=\E[7m:se=\E[27m:ms:\ :mb=\E[5m:md=\E[1m:mk=\E[m:mr=\E[7m:me=\E[m:\ :us=\E[4m:ue=\E[24m:\ :vi=\E[?25l:ve=\E[?25h:\ :bl=^G:\ :ks=\E[?1h\E=:ke=\E[?1l\E>:\ :kl=\EOD:kr=\EOC:ku=\EOA:kd=\EOB:\ :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\ :l1=PF1:l2=PF2:l3=PF3:l4=PF4:\ :kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\ :is=\E<\E[63;1"p\E[!p\E[?3l\E[?5l\E[?7h\E[?8h\E[?4l\E[?68l\E[2$~:\ :rs=\E<\E[63;1"p\E[!p\E[?3l\E[?5l\E[?7h\E[?8h\E[?4l\E[?68l\E[2$~:\ :st=\EH:ct=\E[3g: # db|vt320-w|vt300-w|dec vt300:\ :co#132:\ :is=\E<\E[63;1"p\E[!p\E[?3h\E[?5l\E[?7h\E[?8h\E[?4l\E[?68l\E[2$~:\ :tc=vt320: # End of vt320 termcap entry ==============================================================================