emx.src 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886
  1. ##############################################################################
  2. # Copyright (c) 1998-2003,2006 Free Software Foundation, Inc. #
  3. # #
  4. # Permission is hereby granted, free of charge, to any person obtaining a #
  5. # copy of this software and associated documentation files (the "Software"), #
  6. # to deal in the Software without restriction, including without limitation #
  7. # the rights to use, copy, modify, merge, publish, distribute, distribute #
  8. # with modifications, sublicense, and/or sell copies of the Software, and to #
  9. # permit persons to whom the Software is furnished to do so, subject to the #
  10. # following conditions: #
  11. # #
  12. # The above copyright notice and this permission notice shall be included in #
  13. # all copies or substantial portions of the Software. #
  14. # #
  15. # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR #
  16. # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, #
  17. # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL #
  18. # THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER #
  19. # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING #
  20. # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER #
  21. # DEALINGS IN THE SOFTWARE. #
  22. # #
  23. # Except as contained in this notice, the name(s) of the above copyright #
  24. # holders shall not be used in advertising or otherwise to promote the sale, #
  25. # use or other dealings in this Software without prior written #
  26. # authorization. #
  27. ##############################################################################
  28. # $Id: emx.src,v 1.9 2006/04/22 21:46:17 tom Exp $
  29. # This is a reformatted copy of the terminfo source for OS/2 EMX from
  30. # Juan Jose Garcia Ripoll <worm@arrakis.es>.
  31. # http://www.arrakis.es/~worm/
  32. #----------------------------------------------------------------------------
  33. #
  34. # This section describes terminal classes and maker brands that are still
  35. # quite common.
  36. #
  37. #### Specials
  38. #
  39. # Special "terminals". These are used to label tty lines when you don't
  40. # know what kind of terminal is on it. The characteristics of an unknown
  41. # terminal are the lowest common denominator - they look about like a ti 700.
  42. #
  43. dumb|80-column dumb tty,
  44. am,
  45. cols#80,
  46. bel=^G,
  47. cr=^M,
  48. cud1=^J,
  49. ind=^J,
  50. unknown|unknown terminal type,
  51. gn,
  52. use=dumb,
  53. lpr|printer|line printer,
  54. hc,
  55. os,
  56. cols#132,
  57. lines#66,
  58. bel=^G,
  59. cr=^M,
  60. cub1=^H,
  61. cud1=^J,
  62. ff=^L,
  63. ind=^J,
  64. glasstty|classic glass tty interpreting ASCII control characters,
  65. am,
  66. cols#80,
  67. bel=^G,
  68. clear=^L,
  69. cr=^M,
  70. cub1=^H,
  71. cud1=^J,
  72. ht=^I,
  73. kbs=^H,
  74. kcub1=^H,
  75. kcud1=^J,
  76. nel=^M^J,
  77. #### ANSI.SYS/ISO 6429/ECMA-48 Capabilities
  78. #
  79. # See the end-of-file comment for more on these.
  80. #
  81. # The IBM PC alternate character set. Plug this into any Intel console entry.
  82. # We use \E[11m for rmacs rather than \E[12m so the <acsc> string can use the
  83. # ROM graphics for control characters such as the diamond, up- and down-arrow.
  84. # This works with the System V, Linux, and BSDI consoles. It's a safe bet this
  85. # will work with any Intel console, they all seem to have inherited \E[11m
  86. # from the ANSI.SYS de-facto standard.
  87. klone+acs|alternate character set for ansi.sys displays,
  88. acsc=+\020\,\021-\030.^Y0\333`\004a\261f\370g\361h\260j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330}\234~\376,
  89. rmacs=\E[10m,
  90. smacs=\E[11m,
  91. # Highlight controls corresponding to the ANSI.SYS standard. Most
  92. # console drivers for Intel boxes obey these. Makes the same assumption
  93. # about \E[11m as klone+acs. True ANSI/ECMA-48 would have <rmso=\E[27m>,
  94. # <rmul=\E[24m>, but this isn't a documented feature of ANSI.SYS.
  95. klone+sgr|attribute control for ansi.sys displays,
  96. blink=\E[5m,
  97. bold=\E[1m,
  98. invis=\E[8m,
  99. rev=\E[7m,
  100. rmacs=\E[10m,
  101. rmpch=\E[10m,
  102. rmso=\E[m,
  103. rmul=\E[m,
  104. sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m,
  105. sgr0=\E[0;10m,
  106. smacs=\E[11m,
  107. smpch=\E[11m,
  108. smso=\E[7m,
  109. smul=\E[4m,
  110. use=klone+acs,
  111. # Highlight controls corresponding to the ANSI.SYS standard. *All*
  112. # console drivers for Intel boxes obey these. Does not assume \E[11m will
  113. # work; uses \E[12m instead, which is pretty bulletproof but loses you the ACS
  114. # diamond and arrow characters under curses.
  115. klone+sgr-dumb|attribute control for ansi.sys displays (no ESC [ 11 m),
  116. blink=\E[5m,
  117. bold=\E[1m,
  118. invis=\E[8m,
  119. rev=\E[7m,
  120. rmacs=\E[10m,
  121. rmso=\E[m,
  122. rmul=\E[m,
  123. sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;12%;m,
  124. sgr0=\E[0;10m,
  125. smacs=\E[12m,
  126. smso=\E[7m,
  127. smul=\E[4m,
  128. use=klone+acs,
  129. # ANSI.SYS color control.
  130. # The DOS 5 manual asserts that these sequences meet the ISO 6429 standard.
  131. klone+color|color control for ansi.sys and ISO6429-compatible displays,
  132. colors#8,
  133. ncv#3,
  134. pairs#64,
  135. op=\E[37;40m,
  136. setab=\E[4%p1%dm,
  137. setaf=\E[3%p1%dm,
  138. # This is better than klone+color, it doesn't assume white-on-black as the
  139. # default color pair, but many `ANSI' terminals don't grok the <op> cap.
  140. ecma+color|color control for ECMA-48-compatible terminals,
  141. AX,
  142. colors#8,
  143. ncv#3,
  144. pairs#64,
  145. op=\E[39;49m,
  146. setab=\E[4%p1%dm,
  147. setaf=\E[3%p1%dm,
  148. #### ANSI/ECMA-48 terminals and terminal emulators
  149. #
  150. # See near the end of this file for details on ANSI conformance.
  151. # Don't mess with these entries! Lots of other entries depend on them!
  152. #
  153. # This section lists entries in a least-capable to most-capable order.
  154. # if you're in doubt about what `ANSI' matches yours, try them in that
  155. # order and back off from the first that breaks.
  156. ansi-mini|any ansi terminal with pessimistic assumptions,
  157. am,
  158. cols#80,
  159. it#8,
  160. lines#24,
  161. clear=\E[H\E[2J$<50>,
  162. cub1=\E[D,
  163. cud1=\E[B,
  164. cuf1=\E[C,
  165. cup=\E[%i%p1%d;%p2%dH,
  166. cuu1=\E[A,
  167. el=\E[K,
  168. home=\E[H,
  169. ht=^I,
  170. #
  171. # ANSI.SYS entries
  172. #
  173. # This completely describes the sequences specified in the DOS 2.1 ANSI.SYS
  174. # documentation (except for the keyboard key reassignment feature, which
  175. # doen't fit the <pfkey> model well). The klone+acs sequences were valid
  176. # though undocumented. The <pfkey> capability is untested but should work for
  177. # keys F1-F10 (%p1 values outside this range will yield unpredictable results).
  178. # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 7 1995
  179. ansi.sys-old|ANSI.SYS under PC-DOS 2.1,
  180. am,
  181. mir,
  182. msgr,
  183. xon,
  184. cols#80,
  185. lines#25,
  186. clear=\E[2J,
  187. cub1=^H,
  188. cud1=\E[B,
  189. cuf1=\E[C,
  190. cup=\E[%i%p1%d;%p2%dH,
  191. cuu1=\E[A,
  192. el=\E[k,
  193. home=\E[H,
  194. is2=\E[m\E[?7h,
  195. kcub1=^H,
  196. kcud1=^J,
  197. kcuf1=^L,
  198. kcuu1=^K,
  199. khome=^^,
  200. pfkey=\E[0;%p1%{58}%+%d;%p2"%s",
  201. rc=\E[u,
  202. rmam=\E[?7l,
  203. sc=\E[s,
  204. smam=\E[?7h,
  205. u6=\E[%i%d;%dR,
  206. u7=\E[6n,
  207. use=klone+color,
  208. use=klone+acs,
  209. use=klone+sgr,
  210. ansi.sys|ANSI.SYS 3.1 and later versions,
  211. el=\E[K,
  212. use=ansi.sys-old,
  213. ### EMX termcap.dat compatibility modes
  214. #
  215. # Keypad: Home=\0G Up=\0H PrPag=\0I
  216. # ka1,kh kcuu1 kpp,ka3
  217. #
  218. # Left=\0K 5=\0L Right=\0M
  219. # kcub1 kb2 kcuf1
  220. #
  221. # End=\0O Down=\0P NxPag=\0Q
  222. # kc1,kend kcud1 kc3,knp
  223. #
  224. # Ins=\0R Del=\0S
  225. # kich1 kdch1
  226. #
  227. # On keyboard with 12 function keys,
  228. # shifted f-keys: F13-F24
  229. # control f-keys: F25-F36
  230. # alt f-keys: F37-F48
  231. # The shift/control/alt keys do not modify each other, but alt overrides both,
  232. # and control overrides shift.
  233. #
  234. # Also (possibly only EMX, so we don't put it in ansi.sys, etc): set the
  235. # no_color_video to inform the application that standout(1), underline(2)
  236. # reverse(4) and invisible(64) don't work with color.
  237. emx-base|DOS special keys,
  238. bce,
  239. bw,
  240. it#8,
  241. ncv#71,
  242. bel=^G,
  243. ka1=\0G,
  244. ka3=\0I,
  245. kb2=\0L,
  246. kbs=^H,
  247. kc1=\0O,
  248. kc3=\0Q,
  249. kcbt=\0^O,
  250. kcub1=\0K,
  251. kcud1=\0P,
  252. kcuf1=\0M,
  253. kcuu1=\0H,
  254. kdch1=\0S,
  255. kend=\0O,
  256. kf1=\0;,
  257. kf10=\0D,
  258. kf11=\0\205,
  259. kf12=\0\206,
  260. kf13=\0T,
  261. kf14=\0U,
  262. kf15=\0V,
  263. kf16=\0W,
  264. kf17=\0X,
  265. kf18=\0Y,
  266. kf19=\0Z,
  267. kf2=\0<,
  268. kf20=\0[,
  269. kf21=\0\\,
  270. kf22=\0],
  271. kf23=\0\207,
  272. kf24=\0\210,
  273. kf25=\0\^,
  274. kf26=\0_,
  275. kf27=\0`,
  276. kf28=\0a,
  277. kf29=\0b,
  278. kf3=\0=,
  279. kf30=\0c,
  280. kf31=\0d,
  281. kf32=\0e,
  282. kf33=\0f,
  283. kf34=\0g,
  284. kf35=\0\211,
  285. kf36=\0\212,
  286. kf37=\0h,
  287. kf38=\0i,
  288. kf39=\0j,
  289. kf4=\0>,
  290. kf40=\0k,
  291. kf41=\0l,
  292. kf42=\0m,
  293. kf43=\0n,
  294. kf44=\0o,
  295. kf45=\0p,
  296. kf46=\0q,
  297. kf47=\0\213,
  298. kf48=\0\214,
  299. kf5=\0?,
  300. kf6=\0@,
  301. kf7=\0A,
  302. kf8=\0B,
  303. kf9=\0C,
  304. khome=\0G,
  305. kich1=\0R,
  306. knp=\0Q,
  307. kpp=\0I,
  308. use=ansi.sys,
  309. #
  310. # To properly translate termcap.dat -> terminfo.src remember these
  311. # equivalences:
  312. # ti <-> smcup string to start programs using cup(termcap)
  313. # te <-> rmcup string to end programs using cup
  314. # so <-> smso begin standout mode
  315. # se <-> rmso exit standout mode
  316. # us <-> smul begin underline mode
  317. # ue <-> rmul exit underline mode
  318. # mb <-> blink turn on blinking
  319. # md <-> bold turn on extra bright (bold) mode
  320. # mr <-> rev turn on reverse video mode
  321. # me <-> sgr0 turn off all atributes
  322. #
  323. # On my terminal, \E[4m looks dim.
  324. ansi-emx|ANSI.SYS color,
  325. blink=\E[5m,
  326. bold=\E[1m,
  327. kmous=\E[M,
  328. rev=\E[7m,
  329. rmcup=\E[0m,
  330. rmso=\E[0m,
  331. rmul@,
  332. sgr0=\E[0m,
  333. smcup=\E[0;37;40m,
  334. smso=\E[7m,
  335. smul@,
  336. use=emx-base,
  337. window|ANSI.SYS window,
  338. blink=\E[5m,
  339. bold=\E[1;37;47m,
  340. rev=\E[1;37;47m,
  341. rmcup=\E[0m,
  342. rmso=\E[0;37;40m,
  343. rmul=\E[0;37;40m,
  344. sgr0=\E[0;37;40m,
  345. smcup=\E[0;37;40m,
  346. smso=\E[1;37;47m,
  347. smul=\E[1;31;47m,
  348. use=emx-base,
  349. os2|OS/2-emx ANSI.SYS,
  350. cub=\E[%p1%dD,
  351. cub1=\E[D,
  352. cud=\E[%p1%dB,
  353. cud1=\E[B,
  354. cuf=\E[%p1%dC,
  355. cuf1=\E[C,
  356. cuu=\E[%p1%dA,
  357. cuu1=\E[A,
  358. rc=\E[u,
  359. sc=\E[s,
  360. use=ansi-emx,
  361. use=mono,
  362. mono|ANSI.SYS mono,
  363. blink=\E[5m,
  364. bold=\E[1m,
  365. rev=\E[7m,
  366. rmcup=\E[0m,
  367. rmso=\E[m,
  368. rmul=\E[m,
  369. sgr0=\E[m,
  370. smcup=\E[0m,
  371. smso=\E[1m,
  372. smul=\E[4m,
  373. use=emx-base,
  374. # same as mono, but use reverse video for standout (nice for Emacs)
  375. rmono|ANSI.SYS reverse mono,
  376. smso=\E[7m,
  377. use=mono,
  378. # same as mono, but use a readable color for underlining
  379. mono2|ANSI.SYS mono2,
  380. rmul=\E[0m,
  381. smul=\E[1;31;40m,
  382. use=mono,
  383. # nice colors for Emacs (white on blue, mode line white on cyan)
  384. ansi-color-2-emx|ANSI.SYS color 2,
  385. rmcup=\E[0m,
  386. rmso=\E[0;37;44m,
  387. rmul=\E[0m,
  388. sgr0=\E[0;37;44m,
  389. smcup=\E[0;37;44m,
  390. smso=\E[1;37;46m,
  391. smul=\E[1;31;40m,
  392. use=ansi-emx,
  393. # nice colors for Emacs (white on black, mode line black on cyan)
  394. ansi-color-3-emx|ANSI.SYS color 3,
  395. rmcup=\E[0m,
  396. rmso=\E[0m,
  397. rmul=\E[0m,
  398. sgr0=\E[0m,
  399. smcup=\E[0m,
  400. smso=\E[30;46m,
  401. smul=\E[1;31;40m,
  402. use=ansi-emx,
  403. #### X terminal emulators
  404. #
  405. # X10/6.6 11/7/86, minus alternate screen, plus (csr)
  406. # (xterm: ":MT:" changed to ":km:"; added <smam>/<rmam> based on init string;
  407. # removed (hs, eslok, tsl=\E[?E\E[?%i%dT, fsl=\E[?F, dsl=\E[?E)
  408. # as these seem not to work -- esr)
  409. x10term|vs100-x10|xterm terminal emulator (X10 window system),
  410. am,
  411. km,
  412. mir,
  413. msgr,
  414. xenl,
  415. xon,
  416. cols#80,
  417. it#8,
  418. lines#65,
  419. bold=\E[1m,
  420. clear=\E[H\E[2J,
  421. csr=\E[%i%p1%d;%p2%dr,
  422. cub1=^H,
  423. cud1=^J,
  424. cuf1=\E[C,
  425. cup=\E[%i%p1%d;%p2%dH,
  426. cuu1=\E[A,
  427. dch=\E[%p1%dP,
  428. dch1=\E[P,
  429. dl=\E[%p1%dM,
  430. dl1=\E[M,
  431. ed=\E[J,
  432. el=\E[K,
  433. home=\E[H,
  434. ht=^I,
  435. il=\E[%p1%dL,
  436. il1=\E[L,
  437. ind=^J,
  438. is2=\E\E[m\E[?7h\E[?1;4l,
  439. kbs=^H,
  440. kcub1=\EOD,
  441. kcud1=\EOB,
  442. kcuf1=\EOC,
  443. kcuu1=\EOA,
  444. kf1=\EOP,
  445. kf2=\EOQ,
  446. kf3=\EOR,
  447. kf4=\EOS,
  448. rev=\E[7m,
  449. ri=\EM,
  450. rmam=\E[?7l,
  451. rmir=\E[4l,
  452. rmkx=\E[?1l\E>,
  453. rmso=\E[m,
  454. rmul=\E[m,
  455. sgr0=\E[m,
  456. smam=\E[?7h,
  457. smir=\E[4h,
  458. smkx=\E[?1h\E=,
  459. smso=\E[7m,
  460. smul=\E[4m,
  461. # X11R6 xterm. This is known good for the XFree86 version under Linux.
  462. # It is *way* more featureful than the stock X consortium entry (has acsc,
  463. # for starters). The <kmous> key is actually the \E[M prefix returned by
  464. # xterm's internal mouse-tracking facility; ncurses will interpret the
  465. # following three bytes of mouse status information.
  466. # From: Eric S. Raymond <esr@snark.thyrsus.com> 14 Dec 1995
  467. xterm-r6|xterm terminal emulator (X11R6 Window System),
  468. am,
  469. km,
  470. mir,
  471. msgr,
  472. xenl,
  473. xon,
  474. cols#80,
  475. it#8,
  476. lines#65,
  477. acsc=++\,\,--..00II``aaffgghhjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
  478. bel=^G,
  479. bold=\E[1m,
  480. clear=\E[H\E[2J,
  481. cr=^M,
  482. csr=\E[%i%p1%d;%p2%dr,
  483. cub=\E[%p1%dD,
  484. cub1=^H,
  485. cud=\E[%p1%dB,
  486. cud1=^J,
  487. cuf=\E[%p1%dC,
  488. cuf1=\E[C,
  489. cup=\E[%i%p1%d;%p2%dH,
  490. cuu=\E[%p1%dA,
  491. cuu1=\E[A,
  492. dch=\E[%p1%dP,
  493. dch1=\E[P,
  494. dl=\E[%p1%dM,
  495. dl1=\E[M,
  496. ed=\E[J,
  497. el=\E[K,
  498. enacs=\E(B\E)0,
  499. home=\E[H,
  500. ht=^I,
  501. ich=\E[%p1%d@,
  502. ich1=\E[@,
  503. il=\E[%p1%dL,
  504. il1=\E[L,
  505. ind=^J,
  506. is2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l,
  507. kbs=^H,
  508. kcub1=\EOD,
  509. kcud1=\EOB,
  510. kcuf1=\EOC,
  511. kcuu1=\EOA,
  512. kend=\EOe,
  513. kent=\EOM,
  514. kf1=\E[11~,
  515. kf10=\E[21~,
  516. kf11=\E[23~,
  517. kf12=\E[24~,
  518. kf13=\E[25~,
  519. kf14=\E[26~,
  520. kf15=\E[28~,
  521. kf16=\E[29~,
  522. kf17=\E[31~,
  523. kf18=\E[32~,
  524. kf19=\E[33~,
  525. kf2=\E[12~,
  526. kf20=\E[34~,
  527. kf3=\E[13~,
  528. kf4=\E[14~,
  529. kf5=\E[15~,
  530. kf6=\E[17~,
  531. kf7=\E[18~,
  532. kf8=\E[19~,
  533. kf9=\E[20~,
  534. kfnd=\E[1~,
  535. khome=\EO\0,
  536. kich1=\E[2~,
  537. kmous=\E[M,
  538. knp=\E[6~,
  539. kpp=\E[5~,
  540. rc=\E8,
  541. rev=\E[7m,
  542. ri=\EM,
  543. rmacs=^O,
  544. rmam=\E[?7l,
  545. rmcup=\E[2J\E[?47l\E8,
  546. rmir=\E[4l,
  547. rmkx=\E[?1l\E>,
  548. rmso=\E[m,
  549. rmul=\E[m,
  550. rs1=^O,
  551. rs2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E<,
  552. sc=\E7,
  553. sgr0=\E[m,
  554. smacs=^N,
  555. smam=\E[?7h,
  556. smcup=\E7\E[?47h,
  557. smir=\E[4h,
  558. smkx=\E[?1h\E=,
  559. smso=\E[7m,
  560. smul=\E[4m,
  561. tbc=\E[3k,
  562. u6=\E[%i%d;%dR,
  563. u7=\E[6n,
  564. u8=\E[?1;2c,
  565. u9=\E[c,
  566. xterm-bold|xterm terminal emulator (X11R6 Window System) standout w/bold,
  567. smso=\E[1m,
  568. use=xterm,
  569. xterms|vs100s|xterm terminal emulator (small screen 24x80),
  570. cols#80,
  571. lines#24,
  572. use=xterm,
  573. # (kterm: this had extension capabilities ":KJ:TY=ascii:" -- esr)
  574. kterm|kterm kanji terminal emulator (X window system),
  575. eslok,
  576. hs,
  577. csr=\E[%i%p1%d;%p2%dr,
  578. dsl=\E[?H,
  579. fsl=\E[?F,
  580. rc=\E8,
  581. sc=\E7,
  582. tsl=\E[?E\E[?%i%dT,
  583. use=xterm,
  584. use=ecma+color,
  585. # See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
  586. xterm-nic|xterm with ich/ich1 suppressed for non-curses programs,
  587. ich@,
  588. ich1@,
  589. use=xterm,
  590. # Should work with the color xterm on the X11R6 contrib tape.
  591. # Assumes the xterm attribute default is black on white.
  592. # From: Eric S. Raymond <esr@snark.thyrsus.com> March 4 1996
  593. xterm-color|xterm with color support,
  594. op=\E[30;47m,
  595. use=xterm,
  596. use=klone+color,
  597. # From: Thomas Dickey <dickey@clark.net> 13 Dec 1995
  598. rxvt|rxvt terminal emulator,
  599. kend=\EOw,
  600. khome=\E[H,
  601. kmous@,
  602. use=xterm,
  603. use=klone+color,
  604. # From: David J. MacKenzie <djm@va.pubnix.com> 20 Apr 1995
  605. # Here's a termcap entry I've been using for xterm_color, which comes
  606. # with BSD/OS 2.0, and the X11R6 contrib tape too I think. Besides the
  607. # color stuff, I also have a status line defined as the window manager
  608. # title bar. [I have translated it to terminfo -- ESR]
  609. xterm-pcolor|xterm with color used for highlights and status line,
  610. hs,
  611. wsl#40,
  612. bold=\E[1m\E[43m,
  613. dsl=\E]0;\007,
  614. fsl=^G,
  615. rev=\E[7m\E[34m,
  616. smso=\E[7m\E[31m,
  617. smul=\E[4m\E[42m,
  618. tsl=\E]0;,
  619. use=xterm,
  620. # HP ships this, except for the pb#9600 which was merged in from BSD termcap.
  621. hpterm|X-hpterm|hp X11 terminal emulator,
  622. am,
  623. da,
  624. db,
  625. mir,
  626. xhp,
  627. cols#80,
  628. lh#2,
  629. lines#24,
  630. lm#0,
  631. lw#8,
  632. nlab#8,
  633. pb#9600,
  634. xmc#0,
  635. bel=^G,
  636. bold=\E&dB,
  637. cbt=\Ei,
  638. clear=\E&a0y0C\EJ,
  639. cr=^M,
  640. cub1=^H,
  641. cud1=\EB,
  642. cuf1=\EC,
  643. cup=\E&a%p1%dy%p2%dC,
  644. cuu1=\EA,
  645. dch1=\EP,
  646. dim=\E&dH,
  647. dl1=\EM,
  648. ed=\EJ$<1>,
  649. el=\EK,
  650. hpa=\E&a%p1%dC,
  651. ht=^I,
  652. hts=\E1,
  653. il1=\EL,
  654. ind=^J,
  655. kbs=^H,
  656. kclr=\EJ,
  657. kctab=\E2,
  658. kcub1=\ED,
  659. kcud1=\EB,
  660. kcuf1=\EC,
  661. kcuu1=\EA,
  662. kdch1=\EP,
  663. kdl1=\EM,
  664. ked=\EJ,
  665. kel=\EK,
  666. kf1=\Ep,
  667. kf2=\Eq,
  668. kf3=\Er,
  669. kf4=\Es,
  670. kf5=\Et,
  671. kf6=\Eu,
  672. kf7=\Ev,
  673. kf8=\Ew,
  674. khome=\Eh,
  675. khts=\E1,
  676. kich1=\EQ,
  677. kil1=\EL,
  678. kind=\ES,
  679. kll=\EF,
  680. knp=\EU,
  681. kpp=\EV,
  682. kri=\ET,
  683. krmir=\ER,
  684. ktbc=\E3,
  685. meml=\El,
  686. memu=\Em,
  687. pfkey=\E&f%p1%dk%p2%l%dL%p2%s,
  688. pfloc=\E&f1a%p1%dk%p2%l%dL%p2%s,
  689. pfx=\E&f2a%p1%dk%p2%l%dL%p2%s,
  690. pln=\E&f%p1%dk%p2%l%dd0L%p2%s,
  691. rev=\E&dB,
  692. ri=\ET,
  693. rmacs=^O,
  694. rmir=\ER,
  695. rmkx=\E&s0A,
  696. rmln=\E&j@,
  697. rmso=\E&d@,
  698. rmul=\E&d@,
  699. sgr=\E&d%?%p7%t%'s'%c%;%p1%p3%|%p6%|%{2}%*%p2%{4}%*%+%p4%+%p5%{8}%*%+%'@'%+%c%?%p9%t%'\016'%c%e%'\017'%c%;,
  700. sgr0=\E&d@,
  701. smacs=^N,
  702. smir=\EQ,
  703. smkx=\E&s1A,
  704. smln=\E&jB,
  705. smso=\E&dJ,
  706. smul=\E&dD,
  707. tbc=\E3,
  708. vpa=\E&a%p1%dY,
  709. # This entry describes an xterm with Sun-style function keys enabled
  710. # via the X resource setting "xterm*sunFunctionKeys:true"
  711. # To understand <kf11>/<kf12> note that L1,L2 and F11,F12 are the same.
  712. # The <kf13>...<kf20> keys are L3-L10. We don't set <kf16=\E[197z>
  713. # because we want it to be seen as <kcpy>.
  714. # The <kf31>...<kf45> keys are R1-R15. We treat some of these in accordance
  715. # with their Sun keyboard labels instead.
  716. # From: Simon J. Gerraty <sjg@zen.void.oz.au> 10 Jan 1996
  717. xterm-sun|xterm with sunFunctionKeys true,
  718. kb2=\E[218z,
  719. kcpy=\E[197z,
  720. kend=\E[220z,
  721. kf1=\E[224z,
  722. kf10=\E[233z,
  723. kf11=\E[192z,
  724. kf12=\E[193z,
  725. kf13=\E[194z,
  726. kf14=\E[195z,
  727. kf15=\E[196z,
  728. kf17=\E[198z,
  729. kf18=\E[199z,
  730. kf19=\E[200z,
  731. kf2=\E[225z,
  732. kf20=\E[201z,
  733. kf3=\E[226z,
  734. kf31=\E[208z,
  735. kf32=\E[209z,
  736. kf33=\E[210z,
  737. kf34=\E[211z,
  738. kf35=\E[212z,
  739. kf36=\E[213z,
  740. kf38=\E[215z,
  741. kf4=\E[227z,
  742. kf40=\E[217z,
  743. kf42=\E[219z,
  744. kf44=\E[221z,
  745. kf5=\E[228z,
  746. kf6=\E[229z,
  747. kf7=\E[230z,
  748. kf8=\E[231z,
  749. kf9=\E[232z,
  750. kfnd=\E[200z,
  751. khlp=\E[196z,
  752. khome=\E[214z,
  753. kich1=\E[2z,
  754. knp=\E[222z,
  755. kpp=\E[216z,
  756. kund=\E[195z,
  757. use=xterm,
  758. xterms-sun|small (80x24) xterm with sunFunctionKeys true,
  759. cols#80,
  760. lines#24,
  761. use=xterm-sun,
  762. # This is for the extensible terminal emulator on the X11R6 contrib tape.
  763. emu|emu native mode,
  764. mir,
  765. msgr,
  766. xon,
  767. colors#15,
  768. cols#80,
  769. it#8,
  770. lines#24,
  771. pairs#64,
  772. vt#200,
  773. acsc=61a\202f\260g2j\213k\214l\215m\216n\217o\220q\222s\224t\225u\226v\227w\230x\231~\244,
  774. bel=^G,
  775. blink=\ES\EW,
  776. bold=\ES\EU,
  777. civis=\EZ,
  778. clear=\EP\EE0;0;,
  779. cnorm=\Ea,
  780. cr=^M,
  781. csr=\Ek%p1%d;%p2%d;,
  782. cub=\Eq-%p1%d;,
  783. cub1=^H,
  784. cud=\Ep%p1%d;,
  785. cud1=\EB,
  786. cuf=\Eq%p1%d;,
  787. cuf1=\ED,
  788. cup=\EE%p1%d;%p2%d;,
  789. cuu=\Ep-%p1%d;,
  790. cuu1=\EA,
  791. dch=\EI%p1%d;,
  792. dch1=\EI1;,
  793. dl=\ER%p1%d;,
  794. dl1=\ER1;,
  795. ech=\Ej%p1%d;,
  796. ed=\EN,
  797. el=\EK,
  798. el1=\EL,
  799. enacs=\0,
  800. home=\EE0;0;,
  801. ht=^I,
  802. hts=\Eh,
  803. il=\EQ%p1%d;,
  804. il1=\EQ1;,
  805. ind=\EG,
  806. is2=\ES\Er0;\Es0;,
  807. kbs=^H,
  808. kcub1=\EC,
  809. kcud1=\EB,
  810. kcuf1=\ED,
  811. kcuu1=\EA,
  812. kdch1=\177,
  813. kent=^M,
  814. kf0=\EF00,
  815. kf1=\EF01,
  816. kf10=\EF10,
  817. kf11=\EF11,
  818. kf12=\EF12,
  819. kf13=\EF13,
  820. kf14=\EF14,
  821. kf15=\EF15,
  822. kf16=\EF16,
  823. kf17=\EF17,
  824. kf18=\EF18,
  825. kf19=\EF19,
  826. kf2=\EF02,
  827. kf20=\EF20,
  828. kf3=\EF03,
  829. kf4=\EF04,
  830. kf5=\EF05,
  831. kf6=\EF06,
  832. kf7=\EF07,
  833. kf8=\EF08,
  834. kf9=\EF09,
  835. kfnd=\Efind,
  836. kich1=\Eins,
  837. knp=\Enext,
  838. kpp=\Eprior,
  839. kslt=\Esel,
  840. oc=\Es0;\Er0;,
  841. rev=\ES\ET,
  842. ri=\EF,
  843. rmacs=\0,
  844. rmir=\EX,
  845. rmso=\ES,
  846. rmul=\ES,
  847. rs2=\ES\Es0;\Er0;,
  848. setab=\Es%i%p1%d;,
  849. setaf=\Er%i%p1%d;,
  850. sgr0=\ES,
  851. smacs=\0,
  852. smir=\EY,
  853. smso=\ES\ET,
  854. smul=\ES\EV,
  855. tbc=\Ej,
  856. ###############################################################################
  857. # Aliases which conflict with terminfo.src
  858. ansi|ANSI.SYS color,
  859. use=ansi-emx,
  860. ansi-color-2|ANSI.SYS color 2,
  861. use=ansi-color-2-emx,
  862. ansi-color-3|ANSI.SYS color 3,
  863. use=ansi-color-3-emx,
  864. xterm|vs100|xterm terminal emulator (X11R6 Window System),
  865. use=xterm-r6,