# @(#)/etc/termcap 0.0 # # Informix product aware termcap file # # Author: Marco Greco, , Catania, Italy # # Initial release: Jun 97 # Current release: Jul 98 # # Absolutely no warranty -- use at your own risk # # Notes: Adapted from the default Slackware termcap file: # added gs, ge, gb, ZG, ZA capabilities, shifted function keys # down by one, added ki, kj, kf, kg # # Limit the size of each entry - 4gl apps core dump if applicable # entry too long # # Entries other than vt's, console & xterm *untested* # # From: miquels@drinkel.ow.org (Miquel van Smoorenburg) # # Okay guys, here is a shorter termcap that does have most # capabilities and is ncurses compatible. If it works for you # I'd like to hear about it. # # Some entries in termcap 2.0.7 are too long and your programs # may complain "tgetent: warning: termcap entry too long". Here is # a smaller termcap. But it may not cover as many terminals as the one # in termcap 2.0.7. You can install it as /etc/termcap. # # termcap Termcap entries for the VT family. # All termcap entries have been freed of the 'ks' and # 'ke' entries, that put the keypad into applications # mode. This is a generally misused entry, not ment # for the vt100 "applications" mode. Now cursor and # function keys will work in all programs. # # Also, there is a "generic" vt entry with common # entries for all terminals, on which all other entries # are built. # # Version: @(#) vt-termcap 1.37 12-Mar-1996 MvS # # Generic VT entry. vg|vt-generic|Generic VT entries:\ :bs:mi:ms:pt:xn:xo:it#8:\ :RA=\E[?7l:SA=\E?7h:\ :bl=^G:cr=^M:ta=^I:\ :cm=\E[%i%d;%dH:\ :le=^H:up=\E[A:do=\E[B:nd=\E[C:\ :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:DO=\E[%dB:\ :ho=\E[H:cl=\E[H\E[2J:ce=\E[K:cb=\E[1K:cd=\E[J:sf=\ED:sr=\EM:\ :ct=\E[3g:st=\EH:\ :cs=\E[%i%d;%dr:sc=\E7:rc=\E8:\ :ei=\E[4l:ic=\E[@:IC=\E[%d@:al=\E[L:AL=\E[%dL:\ :dc=\E[P:DC=\E[%dP:dl=\E[M:DL=\E[%dM:\ :so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:\ :mb=\E[5m:mh=\E[2m:md=\E[1m:mr=\E[7m:me=\E[m:\ :sc=\E7:rc=\E8:kb=\177:\ :ku=\E[A:kd=\E[B:kr=\E[C:kl=\E[D:\ :gs=\E(0:ge=\E(B:gb=lmkjqx:\ :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 # Linux console lx|linux|console|LINUX System Console:\ :do=^J:co#80:li#25:cl=\E[H\E[J:sf=\ED:sb=\EM:\ :le=^H:bs:am:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:\ :ce=\E[K:cd=\E[J:so=\E[7m:se=\E[27m:us=\E[4m:ue=\E[m:\ :md=\E[1m:mr=\E[7m:mb=\E[5m:mh=\E[2m:me=\E[m:is=\E[1;25r\E[25;1H:\ :ll=\E[1;25r\E[25;1H:al=\E[L:dc=\E[P:dl=\E[M:\ :it#8:ku=\E[A:kd=\E[B:kr=\E[C:kl=\E[D:kb=^H:ti=\E[r\E[H:\ :ho=\E[H:kP=\E[5~:kN=\E[6~:kD=\E[3~:kI=\E[2~:\ :kg=\E[5~:kf=\E[6~:kj=\E[3~:ki=\E[2~:\ :k0=\E[[A:k1=\E[[B:k2=\E[[C:k3=\E[[D:k4=\E[1~:k5=\E[4~:\ :pt:sr=\EM:vt#3:xn:km:bl=^G:vi=\E[?25l:ve=\E[?25h:vs=\E[?25h:\ :sc=\E7:rc=\E8:cs=\E[%i%d;%dr:\ :r1=\Ec:r2=\Ec:r3=\Ec:\ :gs=\E[11m:ge=\E[10m:gb=\332\300\277\331\304\263:\ :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 # Some other, commonly used linux console entries. lx|con80x25:tc=linux: lx|con80x28:co#80:li#28:tc=linux: lx|con80x43:co#80:li#43:tc=linux: lx|con80x50:co#80:li#50:tc=linux: lx|con100x37:co#100:li#37:tc=linux: lx|con100x40:co#100:li#40:tc=linux: lx|con132x43:co#132:li#43:tc=linux: # vt102 - vt100 + insert line etc. VT102 does not have insert character. v2|vt102|DEC vt102 compatible:\ :co#80:li#24:\ :ic@:IC@:\ :is=\E[m\E[?1l\E>:\ :rs=\E[m\E[?1l\E>:\ :eA=\E)0:as=^N:ae=^O:ac=aaffggjjkkllmmnnooqqssttuuvvwwxx:\ :ks=:ke=:\ :k0=\EOP:k1=\EOQ:k2=\EOR:k3=\EOS:\ :tc=vt-generic: # vt100 - really vt102 without insert line, insert char etc. vt|vt100|DEC vt100 compatible:\ :im@:mi@:al@:dl@:ic@:dc@:AL@:DL@:IC@:DC@:\ :tc=vt102: # Standard vt220/320 v2|v3|vt220|vt320|DEC vt320:\ :co#80:li#24:hs:es:\ :is=\E[m\E[2$~\E[?1l\E>:\ :rs=\E[m\E[?1l\E>:\ :ve=\E[?25h:vi=\E[?25l:\ :se=\E[27m:ue=\E[24m:mh=\E[2m:\ :eA=\E)0:as=^N:ae=^O:ac=aaffggjjkkllmmnnooqqssttuuvvwwxx:\ :ts=\E[1$}\E[1;%i%dH:fs=\E[0$}:ds=\E[1$}\r\E[m\E[K\E[0$}:\ :ks=:ke=:\ :ki=\E[2~:kj=\E[3~:kg=\E[5~:kf=\E[6~:\ :kI=\E[2~:kD=\E[3~:kP=\E[5~:kN=\E[6~:\ :k0=\EOP:k1=\EOQ:k2=\EOR:k3=\EOS:k4=\E[1~:k5=\E[4~:\ :tc=vt-generic: # Entry for an xterm. Insert mode has been disabled. vs|xterm|vs100|xterm terminal emulator (X Window System):\ :am:bs:mi@:km:co#80:li#24:\ :im@:ei@:\ :ct=\E[3k:\ :is=\E[m\E[?1l\E>:\ :rs=\E[m\E[?1l\E>:\ :eA=\E)0:as=^N:ae=^O:ac=aaffggjjkkllmmnnooqqssttuuvvwwxx:\ :kI=\E[2~:kD=\177:kP=\E[5~:kN=\E[6~:\ :ki=\E[2~:kj=\177:kg=\E[5~:kf=\E[6~:\ :k0=\E[11~:k1=\E[12~:k2=\E[13~:k3=\E[14~:k4=\E[15~:k5=\E[17~:\ :kh=\E[H:kH=\EOw:\ :ks=:ke=:\ :te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:\ :tc=vt-generic: # Some other entries for the same xterm. vb|xterm-bold|xterm with bold instead of underline:\ :us=\E[1m:tc=xterm: vi|xterm-ins|xterm with insert mode:\ :mi:im=\E[4h:ei=\E[4l:tc=xterm: # Entry for minicom so it uses the PC (IBM) character set. # If this doesn't work for kernels between 1.1.18 and 1.1.80, # change \E(U -> \E[11m (enter ANSI mode) # and \E(B -> \E[10m (leave ANSI mode) mc|minicom|ansi-mc|termcap entry for minicom on the console:\ :is=\E[m\E>\E(U:\ :rs=\E[m\E>\E(B:\ :as@:ae@:eA@:ac@:\ :bl=\E(B\007\E(U:\ :vb=\E(B\007\E(U:\ :tc=linux: # DOS terminal emulator such as Telix or TeleMate. # This probably also works for the SCO console, though it's incomplete. an|ansi|ansi-bbs|ANSI terminals (emulators):\ :co#80:li#24:am:\ :is=:rs=\Ec:kb=^H:\ :as=\E[m:ae=:eA=:\ :ac=0\333+\257,\256.\031-\030a\261f\370g\361j\331k\277l\332m\300n\305q\304t\264u\303v\301w\302x\263~\025:\ :kD=\177:kH=\E[Y:kN=\E[U:kP=\E[V:kh=\E[H:\ :kj=\177::kf=\E[U:kg=\E[V:\ :k0=\EOP:k1=\EOQ:k2=\EOR:k3=\EOS:k4=\EOT:\ :k5=\EOU:k6=\EOV:k7=\EOW:k8=\EOX:k9=\EOY:\ :gs=:ge=:gb=\332\300\277\331\304\263:\ :tc=vt-generic: # This seems to be an entry for other x86 based unices. at|at386-m|386AT-M|386at-m|at/386 console:\ :am:bw:eo:xt:co#80:li#25:\ :ae=\E[10m:as=\E[12m:\ :is=\E[0;10;38m:\ :k0=\EOP:k1=\EOQ:k2=\EOR:k3=\EOS:k4=\EOT:\ :k5=\EOU:k6=\EOV:k7=\EOW:k8=\EOX:\ :kh=\E[H:us=\E[4m:vb=^G:nl=\E[B:kb=^H:\ :tc=vt-generic: # Yeah - Minix still lives :) ma|minix|minix-am|minix-vcam|MINIX 1.5 Virtual Console:\ :am:bs:co#80:li#25:km:ms:\ :is=\E[0m\EPlinewrap.on\E\\:\ :rs=\Ec\EPlinewrap.on\E\\:\ :as=:ae=:eA=:\ :ac=0\333+\257,\256.\031-\030a\261f\370g\361j\331k\277l\332m\300n\305q\304t\264u\303v\301w\302x\263~\025:\ :k0=\EOP:k1=\EOQ:k2=\EOR:k3=\EOS:k4=\EOT:\ :k5=\EOU:k6=\EOV:k7=\EOW:k8=\EOX:k9=\EOY:\ :kD=\177:kH=\E[Y:kN=\E[U:kP=\E[V:kh=\E[H:kb=^H:\ :ve=\EPcursor.on\E\\:vi=\EPcursor.off\E\\:\ :gs=:ge=:gb=\332\300\277\331\304\263:\ :tc=vt-generic: # Some obligatory historic entries. sa|network|ethernet|arpanet:co#80:os:am: su|dumb|un|unknown:co#80:os:am: sd|du|dialup:co#80:os:am: t7|37|tty37|model 37 teletype:\ :cr=^M:do=^J:nl=^J:bl=^G:le=^H:bs:hc:hu=\E8:hd=\E9:up=\E7:os: # Yes, there really are people that login from a Sun Console. mu|sun|Sun Microsystems Workstation console:\ :am:bs:km:mi:ms:pt:\ :li#34:co#80:cl=^L:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:\ :ce=\E[K:cd=\E[J:so=\E[7m:se=\E[m:\ :kd=\E[B:kl=\E[D:ku=\E[A:kr=\E[C:kh=\E[H:\ :k0=\EOP:k1=\EOQ:k2=\EOR:k3=\EOS:\ :al=\E[L:dl=\E[M:im=:ei=:ic=\E[@:dc=\E[P:\ :rs=\E[s: