termcap.long
上传用户:tianjinjs
上传日期:2007-01-05
资源大小:309k
文件大小:10k
源码类别:

Modem编程

开发平台:

Unix_Linux

  1. # termcap Termcap entries for the VT family.
  2. # All termcap entries have been freed of the 'ks' and
  3. # 'ke' entries, that put the keypad into applications
  4. # mode. This is a generally misused entry, not ment
  5. # for the vt100 "applications" mode. Now cursor and
  6. # function keys will work in all programs.
  7. #
  8. # Also, there is a "generic" vt entry with common
  9. # entries for all terminals, on which all other entries
  10. # are built.
  11. #
  12. # Version: @(#) vt-termcap 1.37 12-Mar-1996 MvS
  13. #
  14. # Generic VT entry.
  15. vg|vt-generic|Generic VT entries:
  16. :bs:mi:ms:pt:xn:xo:it#8:RA=E[?7l:SA=E?7h:bl=^G:cr=^M:ta=^I:
  17. :cm=E[%i%d;%dH:le=^H:up=E[A:do=E[B:nd=E[C:LE=E[%dD:
  18. :RI=E[%dC:UP=E[%dA:DO=E[%dB:ho=E[H:cl=E[HE[2J:ce=E[K:cb=E[1K:
  19. :cd=E[J:sf=ED:sr=EM:ct=E[3g:st=EH:cs=E[%i%d;%dr:sc=E7:rc=E8:
  20. :ei=E[4l:ic=E[@:IC=E[%d@:al=E[L:AL=E[%dL:dc=E[P:DC=E[%dP:
  21. :dl=E[M:DL=E[%dM:so=E[7m:se=E[m:us=E[4m:ue=E[m:mb=E[5m:mh=E[2m:
  22. :md=E[1m:mr=E[7m:me=E[m:kb=177:ku=E[A:kd=E[B:kr=E[C:kl=E[D:
  23. # Linux console. One should really set TERM=linux instead of TERM=console.
  24. lx|linux|console|con80x25|LINUX System Console:
  25. :co#80:li#25:am:is=E[mE[?1lE>E[10m:rs=E[mE[?1lE>E[10m:ch=E[%i%dG:
  26. :cv=E[%i%dd:eA=E)0:as=^N:ae=^O:ac=aaffggjjkkllmmnnooqqssttuuvvwwxx:
  27. :ve=E[?25h:vi=E[?25l:se=E[27m:ue=E[24m:mh=E[2m:ks=:ke=:kh=E[1~:
  28. :kH=E[4~:kI=E[2~:kD=E[3~:kP=E[5~:kN=E[6~:k1=E[[A:k2=E[[B:
  29. :k3=E[[C:k4=E[[D:k5=E[[E:k6=E[17~:k7=E[18~:k8=E[19~:k9=E[20~:
  30. :k0=E[21~:F1=E[23~:F2=E[24~:bs:mi:ms:pt:xn:xo:it#8:RA=E[?7l:
  31. :SA=E?7h:bl=^G:cr=^M:ta=^I:cm=E[%i%d;%dH:le=^H:up=E[A:
  32. :do=E[B:nd=E[C:LE=E[%dD:RI=E[%dC:UP=E[%dA:DO=E[%dB:ho=E[H:
  33. :cl=E[HE[2J:ce=E[K:cb=E[1K:cd=E[J:sf=ED:sr=EM:ct=E[3g:st=EH:
  34. :cs=E[%i%d;%dr:sc=E7:rc=E8:ei=E[4l:ic=E[@:IC=E[%d@:al=E[L:
  35. :AL=E[%dL:dc=E[P:DC=E[%dP:dl=E[M:DL=E[%dM:so=E[7m:us=E[4m:
  36. :mb=E[5m:md=E[1m:mr=E[7m:me=E[m:kb=177:ku=E[A:kd=E[B:kr=E[C:
  37. :kl=E[D:
  38. # Some other, commonly used linux console entries.
  39. lx|con80x25:co#80:li#25:tc=linux:
  40. lx|con80x28:co#80:li#25:tc=linux:
  41. lx|con80x43:co#80:li#43:tc=linux:
  42. lx|con80x50:co#80:li#50:tc=linux:
  43. lx|con100x37:co#100:li#37:tc=linux:
  44. lx|con100x40:co#100:li#40:tc=linux:
  45. lx|con132x43:co#132:li#43:tc=linux:
  46. # vt102 - vt100 + insert line etc. VT102 does not have insert character.
  47. v2|vt102|DEC vt102 compatible:
  48. :co#80:li#24:is=E[mE[?1lE>:rs=E[mE[?1lE>:eA=E)0:as=^N:ae=^O:
  49. :ac=aaffggjjkkllmmnnooqqssttuuvvwwxx:ks=:ke=:k1=EOP:k2=EOQ:k3=EOR:
  50. :k4=EOS:bs:mi:ms:pt:xn:xo:it#8:RA=E[?7l:SA=E?7h:bl=^G:cr=^M:
  51. :ta=^I:cm=E[%i%d;%dH:le=^H:up=E[A:do=E[B:nd=E[C:LE=E[%dD:
  52. :RI=E[%dC:UP=E[%dA:DO=E[%dB:ho=E[H:cl=E[HE[2J:ce=E[K:cb=E[1K:
  53. :cd=E[J:sf=ED:sr=EM:ct=E[3g:st=EH:cs=E[%i%d;%dr:sc=E7:rc=E8:
  54. :ei=E[4l:al=E[L:AL=E[%dL:dc=E[P:DC=E[%dP:dl=E[M:DL=E[%dM:
  55. :so=E[7m:se=E[m:us=E[4m:ue=E[m:mb=E[5m:mh=E[2m:md=E[1m:mr=E[7m:
  56. :me=E[m:kb=177:ku=E[A:kd=E[B:kr=E[C:kl=E[D:
  57. # vt100 - really vt102 without insert line, insert char etc.
  58. vt|vt100|DEC vt100 compatible:
  59. :im@:mi@:al@:dl@:ic@:dc@:AL@:DL@:IC@:DC@:
  60. :tc=vt102:
  61. # Standard vt320 (based on my own digital vt320)
  62. v3|vt320|DEC vt320:
  63. :co#80:li#24:hs:es:is=E[mE[2$~E[?1lE>:rs=E[mE[?1lE>:ve=E[?25h:
  64. :vi=E[?25l:se=E[27m:ue=E[24m:mh=E[2m:eA=E)0:as=^N:ae=^O:
  65. :ac=aaffggjjkkllmmnnooqqssttuuvvwwxx:ts=E[1$}E[1;%i%dH:fs=E[0$}:
  66. :ds=E[1$}rE[mE[KE[0$}:ks=:ke=:kI=E[2~:kD=E[3~:kP=E[5~:kN=E[6~:
  67. :@4=E[29~:@0=E[1~:*6=E[4~:k1=EOP:k2=EOQ:k3=EOR:k4=EOS:
  68. :k5=E[16~:k6=E[17~:k7=E[18~:k8=E[19~:k9=E[20~:k0=E[21~:F1=E[23~:
  69. :F2=E[24~:F3=E[25~:F4=E[26~:F5=E[28~:F6=E[29~:F7=E[31~:F8=E[32~:
  70. :bs:mi:ms:pt:xn:xo:it#8:RA=E[?7l:SA=E?7h:bl=^G:cr=^M:ta=^I:
  71. :cm=E[%i%d;%dH:le=^H:up=E[A:do=E[B:nd=E[C:LE=E[%dD:
  72. :RI=E[%dC:UP=E[%dA:DO=E[%dB:ho=E[H:cl=E[HE[2J:ce=E[K:cb=E[1K:
  73. :cd=E[J:sf=ED:sr=EM:ct=E[3g:st=EH:cs=E[%i%d;%dr:sc=E7:rc=E8:
  74. :ei=E[4l:ic=E[@:IC=E[%d@:al=E[L:AL=E[%dL:dc=E[P:DC=E[%dP:
  75. :dl=E[M:DL=E[%dM:so=E[7m:us=E[4m:mb=E[5m:md=E[1m:mr=E[7m:
  76. :me=E[m:kb=177:ku=E[A:kd=E[B:kr=E[C:kl=E[D:
  77. v8|vt320-8|DEC vt320 in 8-bit mode:
  78. :kI=2332~:kD=2333~:kP=2335~:kN=2336~:@4=23329~:@0=2331~:
  79. :*6=2334~:k1=EOP:k2=EOQ:k3=EOR:k4=EOS:k5=23316~:k6=23317~:
  80. :k7=23318~:k8=23319~:k9=23320~:k0=23321~:F1=23323~:F2=23324~:
  81. :F3=23325~:F4=23326~:F5=23328~:F6=23329~:F7=23331~:F8=23332~:
  82. :ku=233A:kd=233B:kr=233C:kl=233D:co#80:li#24:hs:es:
  83. :is=E[mE[2$~E[?1lE>:rs=E[mE[?1lE>:ve=E[?25h:vi=E[?25l:
  84. :se=E[27m:ue=E[24m:mh=E[2m:eA=E)0:as=^N:ae=^O:
  85. :ac=aaffggjjkkllmmnnooqqssttuuvvwwxx:ts=E[1$}E[1;%i%dH:fs=E[0$}:
  86. :ds=E[1$}rE[mE[KE[0$}:ks=:ke=:bs:mi:ms:pt:xn:xo:it#8:RA=E[?7l:
  87. :SA=E?7h:bl=^G:cr=^M:ta=^I:cm=E[%i%d;%dH:le=^H:up=E[A:
  88. :do=E[B:nd=E[C:LE=E[%dD:RI=E[%dC:UP=E[%dA:DO=E[%dB:ho=E[H:
  89. :cl=E[HE[2J:ce=E[K:cb=E[1K:cd=E[J:sf=ED:sr=EM:ct=E[3g:st=EH:
  90. :cs=E[%i%d;%dr:sc=E7:rc=E8:ei=E[4l:ic=E[@:IC=E[%d@:al=E[L:
  91. :AL=E[%dL:dc=E[P:DC=E[%dP:dl=E[M:DL=E[%dM:so=E[7m:us=E[4m:
  92. :mb=E[5m:md=E[1m:mr=E[7m:me=E[m:kb=177:
  93. # Entry for minicom so it uses the PC (IBM) character set.
  94. # If this doesn't work for kernels between 1.1.18 and 1.1.80,
  95. # change E(U -> E[11m  (enter ANSI mode)
  96. # and    E(B -> E[10m  (leave ANSI mode)
  97. mc|minicom|ansi-mc|termcap entry for minicom on the console:
  98. :is=E[mE>E(U:rs=E[mE>E(B:bl=E(B07E(U:vb=E(B07E(U:co#80:li#25:am:
  99. :ch=E[%i%dG:cv=E[%i%dd:ve=E[?25h:vi=E[?25l:se=E[27m:ue=E[24m:
  100. :mh=E[2m:ks=:ke=:kh=E[1~:kH=E[4~:kI=E[2~:kD=E[3~:kP=E[5~:
  101. :kN=E[6~:k1=E[[A:k2=E[[B:k3=E[[C:k4=E[[D:k5=E[[E:k6=E[17~:
  102. :k7=E[18~:k8=E[19~:k9=E[20~:k0=E[21~:F1=E[23~:F2=E[24~:bs:mi:ms:
  103. :pt:xn:xo:it#8:RA=E[?7l:SA=E?7h:cr=^M:ta=^I:cm=E[%i%d;%dH:le=^H:
  104. :up=E[A:do=E[B:nd=E[C:LE=E[%dD:RI=E[%dC:UP=E[%dA:
  105. :DO=E[%dB:ho=E[H:cl=E[HE[2J:ce=E[K:cb=E[1K:cd=E[J:sf=ED:sr=EM:
  106. :ct=E[3g:st=EH:cs=E[%i%d;%dr:sc=E7:rc=E8:ei=E[4l:ic=E[@:
  107. :IC=E[%d@:al=E[L:AL=E[%dL:dc=E[P:DC=E[%dP:dl=E[M:DL=E[%dM:
  108. :so=E[7m:us=E[4m:mb=E[5m:md=E[1m:mr=E[7m:me=E[m:kb=177:ku=E[A:
  109. :kd=E[B:kr=E[C:kl=E[D:
  110. # Entry for an xterm. Insert mode has been disabled.
  111. vs|xterm|vs100|xterm terminal emulator (X Window System):
  112. :am:bs:km:co#80:li#55:ct=E[3k:ue=E[m:is=E[mE[?1lE>:rs=E[mE[?1lE>:
  113. :eA=E)0:as=^N:ae=^O:ac=aaffggjjkkllmmnnooqqssttuuvvwwxx:kI=E[2~:
  114. :kD=177:kP=E[5~:kN=E[6~:k1=E[11~:k2=E[12~:k3=E[13~:k4=E[14~:
  115. :k5=E[15~:k6=E[17~:k7=E[18~:k8=E[19~:k9=E[20~:k0=E[21~:F1=E[23~:
  116. :F2=E[24~:kh=E[H:kH=EOw:ks=:ke=:te=E[2JE[?47lE8:ti=E7E[?47h:ms:
  117. :pt:xn:xo:it#8:RA=E[?7l:SA=E?7h:bl=^G:cr=^M:ta=^I:cm=E[%i%d;%dH:
  118. :le=^H:up=E[A:do=E[B:nd=E[C:LE=E[%dD:RI=E[%dC:UP=E[%dA:
  119. :DO=E[%dB:ho=E[H:cl=E[HE[2J:ce=E[K:cb=E[1K:cd=E[J:sf=ED:sr=EM:
  120. :st=EH:cs=E[%i%d;%dr:sc=E7:rc=E8:ic=E[@:IC=E[%d@:al=E[L:
  121. :AL=E[%dL:dc=E[P:DC=E[%dP:dl=E[M:DL=E[%dM:so=E[7m:se=E[m:
  122. :us=E[4m:mb=E[5m:mh=E[2m:md=E[1m:mr=E[7m:me=E[m:kb=177:ku=E[A:
  123. :kd=E[B:kr=E[C:kl=E[D:
  124. # Some other entries for the same xterm.
  125. v2|xterms|vs100s|xterm small window:
  126. :co#80:li#24:tc=xterm:
  127. vb|xterm-bold|xterm with bold instead of underline:
  128. :us=E[1m:tc=xterm:
  129. vi|xterm-ins|xterm with insert mode:
  130. :mi:im=E[4h:ei=E[4l:tc=xterm:
  131. # DOS terminal emulator such as Telix or TeleMate.
  132. # This probably also works for the SCO console, though it's incomplete.
  133. an|ansi|ansi-bbs|ANSI terminals (emulators):
  134. :co#80:li#24:am:is=:rs=Ec:kb=^H:as=E[m:ae=:eA=:
  135. :ac=0333+257,256.31-30a261f370g361j331k277l332m300n305q304t264u303v301w302x263~25:
  136. :kD=177:kH=E[Y:kN=E[U:kP=E[V:kh=E[H:k1=EOP:k2=EOQ:k3=EOR:
  137. :k4=EOS:k5=EOT:k6=EOU:k7=EOV:k8=EOW:k9=EOX:k0=EOY:bs:mi:ms:
  138. :pt:xn:xo:it#8:RA=E[?7l:SA=E?7h:bl=^G:cr=^M:ta=^I:cm=E[%i%d;%dH:
  139. :le=^H:up=E[A:do=E[B:nd=E[C:LE=E[%dD:RI=E[%dC:UP=E[%dA:
  140. :DO=E[%dB:ho=E[H:cl=E[HE[2J:ce=E[K:cb=E[1K:cd=E[J:sf=ED:sr=EM:
  141. :ct=E[3g:st=EH:cs=E[%i%d;%dr:sc=E7:rc=E8:ei=E[4l:ic=E[@:
  142. :IC=E[%d@:al=E[L:AL=E[%dL:dc=E[P:DC=E[%dP:dl=E[M:DL=E[%dM:
  143. :so=E[7m:se=E[m:us=E[4m:ue=E[m:mb=E[5m:mh=E[2m:md=E[1m:mr=E[7m:
  144. :me=E[m:ku=E[A:kd=E[B:kr=E[C:kl=E[D:
  145. # This seems to be an entry for other x86 based unices.
  146. at|at386-m|386AT-M|386at-m|at/386 console:
  147. :am:bw:eo:xt:co#80:li#25:ae=E[10m:as=E[12m:is=E[0;10;38m:k1=EOP:k2=EOQ:
  148. :k3=EOR:k4=EOS:k5=EOT:k6=EOU:k7=EOV:k8=EOW:k9=EOX:kh=E[H:
  149. :us=E[4m:vb=^G:nl=E[B:kb=^H:bs:mi:ms:pt:xn:xo:it#8:RA=E[?7l:
  150. :SA=E?7h:bl=^G:cr=^M:ta=^I:cm=E[%i%d;%dH:le=^H:up=E[A:
  151. :do=E[B:nd=E[C:LE=E[%dD:RI=E[%dC:UP=E[%dA:DO=E[%dB:ho=E[H:
  152. :cl=E[HE[2J:ce=E[K:cb=E[1K:cd=E[J:sf=ED:sr=EM:ct=E[3g:st=EH:
  153. :cs=E[%i%d;%dr:sc=E7:rc=E8:ei=E[4l:ic=E[@:IC=E[%d@:al=E[L:
  154. :AL=E[%dL:dc=E[P:DC=E[%dP:dl=E[M:DL=E[%dM:so=E[7m:se=E[m:
  155. :ue=E[m:mb=E[5m:mh=E[2m:md=E[1m:mr=E[7m:me=E[m:ku=E[A:kd=E[B:
  156. :kr=E[C:kl=E[D:
  157. # Yeah - Minix still lives :)
  158. ma|minix|minix-am|minix-vcam|MINIX 1.5 Virtual Console:
  159. :am:bs:co#80:li#25:km:ms:is=E[0mEPlinewrap.onE\:rs=EcEPlinewrap.onE\:
  160. :as=:ae=:eA=:
  161. :ac=0333+257,256.31-30a261f370g361j331k277l332m300n305q304t264u303v301w302x263~25:
  162. :k1=EOP:k2=EOQ:k3=EOR:k4=EOS:k5=EOT:k6=EOU:k7=EOV:k8=EOW:
  163. :k9=EOX:k0=EOY:kD=177:kH=E[Y:kN=E[U:kP=E[V:kh=E[H:kb=^H:
  164. :ve=EPcursor.onE\:vi=EPcursor.offE\:mi:pt:xn:xo:it#8:
  165. :RA=E[?7l:SA=E?7h:bl=^G:cr=^M:ta=^I:cm=E[%i%d;%dH:le=^H:
  166. :up=E[A:do=E[B:nd=E[C:LE=E[%dD:RI=E[%dC:UP=E[%dA:DO=E[%dB:
  167. :ho=E[H:cl=E[HE[2J:ce=E[K:cb=E[1K:cd=E[J:sf=ED:sr=EM:ct=E[3g:
  168. :st=EH:cs=E[%i%d;%dr:sc=E7:rc=E8:ei=E[4l:ic=E[@:IC=E[%d@:
  169. :al=E[L:AL=E[%dL:dc=E[P:DC=E[%dP:dl=E[M:DL=E[%dM:so=E[7m:
  170. :se=E[m:us=E[4m:ue=E[m:mb=E[5m:mh=E[2m:md=E[1m:mr=E[7m:me=E[m:
  171. :ku=E[A:kd=E[B:kr=E[C:kl=E[D:
  172. # Some obligatory historic entries.
  173. sa|network|ethernet|arpanet:co#80:os:am:
  174. su|dumb|un|unknown:co#80:os:am:
  175. sd|du|dialup:co#80:os:am:
  176. t7|37|tty37|model 37 teletype:
  177. :cr=^M:do=^J:nl=^J:bl=^G:le=^H:bs:hc:hu=E8:hd=E9:up=E7:os:
  178. # Yes, there really are people that login from a Sun Console.
  179. mu|sun|Sun Microsystems Workstation console:
  180. :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:
  181. :cd=E[J:so=E[7m:se=E[m:kd=E[B:kl=E[D:ku=E[A:kr=E[C:kh=E[H:
  182. :k1=EOP:k2=EOQ:k3=EOR:k4=EOS:al=E[L:dl=E[M:im=:ei=:ic=E[@:
  183. :dc=E[P:rs=E[s: