Termcap
Posted in 2000
Hello list! After changing to another server, I have some problems with my keyboard-mappings. I use the same Termcap as on the machine but on the new one the number-keys on the right only on shell give the right values. What did I made wrong. I changed from HP-UX 10.01 with Informix 4.00.UH2 (SE) to HP-UX 10.20 with IDS 7.30.UC8. The database are use en_us.... Any ideas? Thanxs in advance! Dirk Emmermacher Lowersaxony gymnastics federation To Jonathan: I made an upgrade from 7.30.UC1 to 7.30.UC2 - that helps!! Here is my Termcap: un|dumb|unknown:\\ :co#80:bs:am: du|dialup|dumb|unknown:\\ :co#80:bs:am: # Ag|gsi:bs:co#132:hc:hd=\\Eh:hu=\\EH:os:pt:up=^Z: Aj|aj830|aj832|aj|anderson jacobson:\\ :bs:hc:hd=\\E9:hu=\\E8:os:pl:up=\\E7: Ax|x1720|xerox 1720:co#132:bs:ff=^L:hc:os:pt:if=/usr/lib/tabset/xerox1720 # # ADDS # ca|adds3a|3a|lsi adm3a:\\ :am:bs:cm=\\E=%+ %+ :cl=^Z:co#80:ho=^^:li#24:\\ :ma=j^Jk^P^K^Pl :nd=^L:up=^K:HI=^|:\\ :kl=^H:kr=^L:ku=^K:kd=^J:kh=^~: # The adds regent 60 is the same as the viewpoint 60. # Special changes have been made for this terminal only so that function # and cursor keys will work. To do this, ignore the menus and use the # following sequences: # # Blank the screen CTRL-Y # Menus off CTRL-O # Rewrite the screen CTRL-W # ad|adds|adds viewpoint 60:\\ :am:bs:cd=16.1*\\Ek:co#80:ce=16\\EK:cl=10.1*^L:cm=6\\EY%+ %+ :\\ :li#24:ll=^F:nl=^J:kh=^A:bt=\\E0:up=^Z:\\ :ku=^Z:kd=^J:kl=^U:kr=^F:\\ :Hc=^Y:Hr=^W:Hu=^O:HI=^|:\\ :k1=^B1^M:KY=^B2^M:k7=^B3^M:k8=^B4^M:\\ :k0=^B5^M:KB=^B6^M:KA=^B7^M:KT=^B8^M:\\ :k2=^B!^M:k3=^B"^M:Kd=^B#^M:KC=^B$^M:\\ :KZ=^B%^M:k9=^B&^M:k5=^B'^M:k6=^B(^M: a0|regent|adds regent series:\\ :am:bs:cl=^L:cm=^K%+ ^P%B%.:co#80:ho=^A:li#24:ll=^A^Z:nd=^F:up=^Z: # Regent 100 has a bug where if computer sends escape when user is holding # down shift key it gets confused, so we avoid escape. a1|regent100|adds regent 100:\\ :cm=^K%+ ^P%B%.:k1=^B1\\r:k2=^B2\\r:k3=^B3\\r:k4=^B4\\r:\\ :k5=^B5\\r:k6=^B6\\r:k7=^B7\\r:k8=^B8\\r:\\ :kh=^A:kl=^U:kr=^F:ku=^Z:kd=^J:tc=regent: # Regent 20, untested a2|regent20|adds regent 20:\\ :cd=\\Ek:ce=\\EK:cm=\\EY%+ %+ :tc=regent: a3|regent25|adds regent 25:\\ :k0=^B0\\r:k1=^B1\\r:k2=^B2\\r:k3=^B3\\r:k4=^B4\\r:\\ :k5=^B5\\r:k6=^B6\\r:k7=^B7\\r:k8=^B8\\r:k9=^B9\\r:\\ :kh=^A:kl=^U:kr=^F:ku=^Z:kd=^J:tc=regent20: # Regent 40: untested a4|regent40|adds regent 40:\\ :al=\\EM:dl=\\El:is=\\EB:se=\\E0@:so=\\EOP:ue=\\EO@:us=\\E0`:vb=\\ED\\Ed:\\ :tc=regent25: # If you have standout problem with regent 200, try so=\\ER\\EOP:se=\\E0@\\EV: a6|regent60|regent200|adds Regent 60:\\ :dc=\\EE:ei=\\EF:im=\\EF:is=\\EV\\EB:ko=dc,im,ei:tc=regent40: a7|regent60na|regent 60 w/no arrow keys:\\ kl@:kr@:ku@:kd@:tc=regent60: # Note: if return acts weird on a980, check internal switch #2 # on the top chip on the CONTROL pc board. ac|a980|adds consul 980:\\ :al=13\\E^N:am:bs:cl=^L\\200^K@:cm=^K%+@\\E^E%2:co#80:dl=13\\E^O:\\ :k0=\\E0:k1=\\E1:k2=\\E2:k3=\\E3:k4=\\E4:k5=\\E5:k6=\\E6:k7=\\E7:k8=\\E8:k9=\\E9:\\ :li#24:nd=\\E^E01:so=^Y^^^N:se=^O:up=9: # # b2|sb2|sb3|fixed superbee:xb@:tc=superbee: bh|bh3m|beehiveIIIm:if=/usr/lib/tabset/beehive:\\ :al=160^S:am:bs:cd=^R:ce=^P:cl=^E^R:co#80:dl=300^Q:ho=^E:li#20:ll=^E^K:\\ :nd=^L:pt:se= ^_:so=^] :up=^K: # This loses on lines > 80 chars long, use at your own risk bi|superbeeic|super bee with insert char:\\ :ic=:im=\\EQ:ei=\\ER:tc=superbee: bm|microb|microbee|micro bee series:\\ :am:bs:cd=\\EJ:ce=\\EK:cl=\\EE:co#80:cm=\\EF%+ %+ :\\ :k1=\\Ep:k2=\\Eq:k3=\\Er:k4=\\Es:k5=\\Et:k6=\\Eu:k7=\\Ev:k8=\\Ew:k9=\\Ex:\\ :kd=\\EB:kh=\\EH:kl=\\ED:kr=\\EC:ku=\\EA:\\ :li#24:nd=\\EC:pt:se=\\Ed@ :so= \\EdP:ue=\\Ed@:up=\\EA:us=\\Ed`: # Superbee - f1=escape, f2=^C. # Note: there are at least 3 kinds of superbees in the world. The sb1 # holds onto escapes and botches ^C's. The sb2 is the best of the 3. # The sb3 puts garbage on the bottom of the screen when you scroll with # the switch in the back set to CRLF instead of AEP. This description # is tested on the sb2 but should work on all with either switch setting. # The f1/f2 business is for the sb1 and the :xb: can be taken out for # the other two if you want to try to hit that tiny escape key. # This description is tricky: being able to use cm depends on there being # 2048 bytes of memory and the hairy nl string. bs|sb1|superbee|superb|beehive super bee:if=/usr/lib/tabset/stdcrt:is=\\EE:\\ :am:bs:cd=3\\EJ:ce=3\\EK:cl=3\\EH\\EJ:co#80:cm=\\EF%r%3%3:cr=1000\\r:\\ :dC#10:da:db:xb:dc=3\\EP:dl=100\\EM:so=\\E_1:se=\\E_0:\\ :li#25:nl=\\n\\200\\200\\200\\n\\200\\200\\200\\EA\\EK\\200\\200\\200\\ET\\ET:\\ :nd=\\EC:pt:up=\\EA:ho=\\EH:ve=\\n:\\ :k1=\\Ep:k2=\\Eq:k3=\\Er:k4=\\Es:k5=\\Et:k6=\\Eu:k7=\\Ev:k8=\\Ew:\\ :kd=\\EB:kh=\\EH:kl=\\ED:kr=\\EC:ku=\\EA: # # c4|c1004p|c100 w/4 pages:\\ :ti=\\EU\\Ev 8p\\Ep\\r:te=\\Ev ~p\\Ep\\r\\n:vs@:ve@:tc=c100: cP|c100rv4ppp|c100 with printer port:\\ :is=\\EU\\Ef\\E7\\E5\\E8\\El\\ENH\\Ek\\E\\200\\Eo&\\200\\Eo!\\200\\EQ"\\EY(^W\\Eo\\47\\E:\\ :tc=c100rv4p: cR|c100rv4p|c100 w/4 pages:\\ :ti=\\EU\\Ev 8p\\Ep\\r:te=\\Ev ~p\\Ep\\r\\n:tc=c100rv: # Some tty drivers use cr3 for concept, others use nl3, hence dN/dC below. # It seems rather strange to have is end in escape. I don't understand... co|c100|concept|concept100|concept 100:\\ :is=\\EU\\Ef\\E7\\E5\\E8\\El\\ENH\\EK\\E\\200\\Eo&\\200\\Eo\\47\\E:\\ :al=3*\\E^R:am:bs:cd=16*\\E^C:ce=16\\E^S:cl=2*^L:cm=\\Ea%+ %+ :co#80:\\ :dc=16\\E^A:dl=3*\\E^B:ei=\\E\\200:eo:im=\\E^P:in:ip=16*:li#24:mi:nd=\\E=:\\ :pt:kb=^h:ta=8\\t:ul:up=\\E;:db:us=\\EG:ue=\\Eg:xn:vs=\\EW:ve=\\Ew:\\ :vb=\\Ek\\200\\200\\200\\200\\200\\200\\200\\200\\200\\200\\200\\200\\200\\200\\EK:\\ :us=\\EG:ue=\\Eg:ks=\\EX:ke=\\Ex:ku=\\E;:kd=\\E<:kl=\\E>:kr=\\E=:kh=\\E?:\\ :k1=\\E5:k2=\\E6:k3=\\E7:.dN#9:dC#9: cn|c100rv4pna|c100 with no arrows:ks@:ke@:tc=c100rv4p: cr|c100rv|c100 rev video:\\ :is=\\EU\\Ef\\E7\\E5\\E8\\El\\ENH\\Ek\\E\\200\\Eo&\\200\\Eo\\47\\E:vs@:ve@:\\ :vb=\\EK\\200\\200\\200\\200\\200\\200\\200\\200\\200\\200\\200\\200\\200\\200\\Ek:\\ :tc=c100: cs|c100s|slowconcept|slowconcept100|slow concept 100:\\ :vb=\\Ek\\200\\EK:pt:dC@:dN@:tc=c100: cd|c100rvs|slow reverse concept 100:\\ :vb=\\EK\\200\\Ek:pt:dC@:dN@:tc=c100rv: # # Forum International (supplied by Forum International 12/18/87 # forum|forum|forum|forum:\\ :al=\\EL:am:bs:cd=\\EJ:ce=\\EK:cl=\\031:cm=\\Ef%r%+ %+ :cp#80:dc=\\EP:\\ :dl=\\EM:do=\\EB:ho=\\EH:im=\\EQ:li#24:nd=\\EC:so=\\Eb:se=\\Ea:up=\\EA:\\ :us=\\E\\Ej:ue=\\Ea:bt=\\Ez:CF=\\E\\Ew:CO=\\E\\Ev: # # Epic Computer Products # e1|14E|Epic14E|Epic Model 14E:\\ :al=\\EE:am:bs:cd=\\EY:ce=\\ET:cl=\\E*:cm=\\E=%+ %+ :co#80:dc=\\EW:\\ :dl=\\ER:do=^V:ei=:ic=\\EQ:im=:kb=^H:kd=^V:kh=^^:kl=^H:kr=^L:ku=^K:\\ :li#24:nd=^L:pt:se=\\EG0:so=\\EG4:k0=^A@^M:k1=^AA^M:k2=^AB^M:k3=^AC^M:\\ :k4=^AD^M:k5=^AE^M:k6=^AF^M:k7=^AG^M:ue=\\EG0:ul:up=^K:us=\\EG8:\\ :HI=^|:Po=\\E`:Pe=\\Ea: # # Altos II # a2|alt2|altos II:\\ :bs:am:xn:pt:cd=\\E[J:ce=\\E[K:cl=\\E[;H\\E[2J:\\ :HI=^|:Po=\\E1:Pe=\\E2:\\ :cs=%i\\E[%d;%dr:cm=\\E[%i%d;%dH:co#80:li#24:\\ :kh=\\E[f:ug=#0:sg=#0:HI=^|:Po=\\E1:Pe=\\E2:\\ :nd=\\E[C:sr:up=\\E[A:so=\\E[7m:se=\\E[m:Ky=^AP\\015:\\ :ku=\\E[A:kd=\\E[B:kr=\\E[C:kl=\\E[D:us=\\E[4m:ue=\\E[0m:\\ :k1=^A@\\015:k2=^AA\\015:k3=^AB\\015:KY=^AC\\015:\\ :k7=^AD\\015:k8=^AE\\015:k9=^AF\\015:Kd=^AG\\015:\\ :KC=^AH\\015:KZ=^AI\\015:KT=^AJ\\015:KA