termcap entries
Posted in 1993
There seems to have been a flurry of termcap requests recently, so I thought I'd post the current collection from the ftp archive on mathcs.emory.edu. The file isn't that big, but it may contain just the termcap entry you're looking for. Note that the file is a collection of edited messages that contain both entries to be placed in /etc/termcap, and explanatory text. If you have a termcap or terminfo entry you've developed/hacked together that you'd like to share with your fellow Informix users, send me a copy and I'll place it in the archive. Even if it's just a variation of one already in the file, it may save someone else a lot of time. If I get many more of these, I may split them out into multiple files based on terminal type. Walt. ------------------------------------------------------------------------------ #!/bin/sh # # This is a shell archive. To extract its contents, # execute this file with /bin/sh to create the file(s): # # termcaps # # This shell archive created: Mon Feb 1 15:00:08 EST 1993 # echo "Extracting file termcaps" sed -e 's/^X//' <<\\SHAR_EOF > termcaps Xtermcaps termcap entries for Informix X X XLast Changed: February 1, 1993 X X XThis file is a collection of termcap entries submitted by Informix users Xand/or grabbed off of the Net. They have been accumulated here without Xtesting or editing, so of course "your mileage may vary." X XThe entries in this file support the following terminals, windows and Xenvironments (listed in the order in which they appear in this file): X X o Xterm terminal emulator (X window system) on SPARCs running Open X Windows and generic X11R5 from MIT X X o HP2392, HP2393, HP2397, HP700/92, HP2622, and HP 150 terminals on X HP9000/350 and HP9000/370 workstations X X o vt100 running both Informix and Emacs under SunOS X X o WYSE60 with graphics and informix controls defined X X o Xterm with informix defines for graphics and display attributes X X o Wyse350 color terminal X X o Ansi with informix stuff for color X X o Wyse-60, Wyse-120, Wyse-150, and Wyse-160 terminals emulating VT100's. X X o Wyse-60 in "Wyse-60" mode X X o Sun Microsystems Workstation/console "sun-cmd" X X XSend any termcap or terminfo entries to be added to this collection to Xwalt@mathcs.emory.edu or {...,gatech,rutgers,uunet}!emory!walt. X X============================================================================== X XFrom: jeffl@isg.com XDate: 7 May 92 00:23:13 GMT X XHere is the xterm window termcap entry we use. It seems to work on SPARCs Xrunning both Open Windows and generic X11R5 from MIT. X Xvs|xterm|vs100|xterm terminal emulator (X window system):\\ X :cr=^M:do=^J:nl=^J:bl=^G:le=^H:ho=\\E[H:\\ X :co#80:li#65:cl=\\E[H\\E[2J:bs:am:cm=\\E[%i%d;%dH:nd=\\E[C:up=\\E[A:\\ X :ce=\\E[K:cd=\\E[J:so=\\E[7m:se=\\E[m:us=\\E[4m:ue=\\E[m:\\ X :md=\\E[1m:mr=\\E[7m:me=\\E[m:\\ X :ku=\\EOA:kd=\\EOB:kr=\\EOC:kl=\\EOD:kb=^H:\\ X :k0=\\E[11~:k1=\\E[12~:k2=\\E[13~:k3=\\E[14~:k4=\\E[15~:\\ X :k5=\\E[17~:k6=\\E[18~:k7=\\E[19~:k8=\\E[20~:k9=\\E[21~:\\ X :kY=\\E[216z:kZ=\\E[222z:\\ X :ta=^I:pt:sf=\\n:sr=\\EM:\\ X :al=\\E[L:dl=\\E[M:ic=\\E[@:dc=\\E[P:\\ X :MT:ks=\\E[?1h\\E=:ke=\\E[?1l\\E>:\\ X :is=\\E[r\\E[m\\E[2J\\E[H\\E[?7h\\E[?1;3;4;6l:\\ X :rs=\\E[r\\E<\\E[m\\E[2J\\E[H\\E[?7h\\E[?1;3;4;6l:xn:\\ X :AL=\\E[%dL:DL=\\E[%dM:IC=\\E[%d@:DC=\\E[%dP:\\ X :ti=\\E7\\E[?47h\\E(B\\E)0:te=\\E[2J\\E[?47l\\E8:\\ X :hs:ts=\\E[?E\\E[?%i%dT:fs=\\E[?F:es:ds=\\E[?E:\\ X :gs=^n:ge=^o:gb=lmkjqx: X X-- XJeffrey F. Lawhorn American TriTech/ISG XProgramming Manager C, C++, and Database Consulting Xjeffl@isg.com 450 B Street 16th Floor Xsdsu!isg100!jeffl San Diego, CA 92101 (619) 234-3405 x274 X X------------------------------------------------------------------------------ X XFrom: Ellen K. Osinski <ellen@hpdmmgv.boi.hp.com> XDate: Thu, 7 May 92 12:27:31 MDT X XThis entry is on HP9000/350 and HP9000/370 UNIX workstations to support XHP2392, HP2393, HP2397, HP700/92, HP2622, and HP 150 terminals. X X X# to support SENTINEL Xhh|2392|2392A|2392a|70092|2393|2393A|2393a:\\ X :bt=\\Ei:\\ X :ZG#0:ZA=\\E&d@%?%p1%{7}%=%t\\E&dS%;%?%p1%{0}%=%t\\E&v0S%;%?%p1%{1}%=%t\\E&v3S%;%?%p1%{2}%=%t\\E&v5S%;%?%p1%{3}%=%t\\E&v1S%;%?%p1%{4}%=%t\\E&v6S%;%?%p1%{5}%=%t\\E&v2S%;%?%p1%{6}%=%t\\E&v4S%;%?%p2%{1}%=%t\\E&dB%;%?%p3%{1}%=%t\\E&dA%;%?%p4%{1}%=%t\\E&dD%;:\\ X :tc=hp: X X# to support SENTINEL Xhh|2397|2397A|2397a:\\ X :bt=\\Ei:\\ X :ZG#0:ZA=\\E&d@%?%p1%{7}%=%t\\E&v0m0a0b0c0x0y0z6i6S%;%?%p1%{0}%=%t\\E&v0S%;%?%p1%{1}%=%t\\E&v3S%;%?%p1%{2}%=%t\\E&v5S%;%?%p1%{3}%=%t\\E&v1S%;%?%p1%{4}%=%t\\E&v6S%;%?%p1%{5}%=%t\\E&v2S%;%?%p1%{6}%=%t\\E&v4S%;%?%p2%{1}%=%t\\E&dB%;%?%p3%{1}%=%t\\E&dA%;%?%p4%{1}%=%t\\E&dD%;:\\ X :tc=hp: X Xhh|2622|hp2622|hp 2622|2622a|hp2622a|hp 2622a|2622p|hp2622p|hp 2622p|hp 262x series:\\ X :bt=\\Ei:\\ X :ZG#0:ZA=\\E&d@%?%p1%{7}%=%t\\E&v0m0a0b0c0x0y0z6i6S%;%?%p1%{0}%=%t\\E&v0S%;%?%p1%{1}%=%t\\E&v3S%;%?%p1%{2}%=%t\\E&v5S%;%?%p1%{3}%=%t\\E&v1S%;%?%p1%{4}%=%t\\E&v6S%;%?%p1%{5}%=%t\\E&v2S%;%?%p1%{6}%=%t\\E&v4S%;%?%p2%{1}%=%t\\E&dB%;%?%p3%{1}%=%t\\&dA%;%?%p4%{1}%=%t\\E&dD%;:\\ X :tc=hp: X X-- X __ X | | X | | ___________________________________________________________ X | \\ | | X | \\ | Ellen K. Osinski | X | | | Hewlett-Packard | X \\ \\ | Boise Site Operations - Boise Surface Mount Center | X / \\ | 11413 Chinden Blvd | X | ---/\\ | Boise, ID 83714-1023 | X | | | | X | | | phone : (208) 323-4904 | X | * | | e-mail: ellen@hpdmmgv.boi.hp.com | X | | | telnet: 1-323-4904 | X |___________| |___________________________________________________________| X X------------------------------------------------------------------------------ X XFrom: bochner@das.harvard.edu XDate: Fri, 08 May 92 11:33:27 -0400 X XSome explanation: there are termcap codes 'ks' and 'ke' that mean something Xlike "enter/exit keypad mode". If these are defined in the termcap entry, XInformix sends ks, reasonably figuring that they ought to send it to activate Xthe keypad. But the ks code in the SunOS termcap entry for vt100's has the Xeffect of putting the terminal into a mode where the keypad keys send escape Xsequences rather than numerals, and Informix doesn't understand those escape Xsequences. So using the SunOS termcap with informix makes the keypad unusable. X XBUT, the termcap that Informix shipped us doesn't work with Emacs because Xit's missing the sf code for "scroll up". So I copied the value from SunOS Xtermcap entry, and it