Added cs to the list of languages
[midnight-commander.git] / lib / xterm.ti
bloba4a5a36d7681039bca517cd8b2632a25a2f83add
2 # Enhanced xterm terminfo entry
3 # To get correct behaviour under xterm (not rxvt), use enclosed
4 # xterm.ad and add it into X resource database.
5 # Install xterm.ti by typing tic xterm.ti
6
7 xterm-basic|xterm terminal base (X Window System),
8         am, km, mir, msgr, xenl,
9         lines#65, cols#80, it#8,
11 # Not sure about this flag: Erase overstrike with a blank.
12         eo,
14         bel=^G, cr=\r,
15         ind=^J, il1=\E[L,
17 # Clear screen, EOL, EOS, BOL
18         clear=\E[H\E[2J, el=\E[K, ed=\E[J, el1=\E[1K$<3>,
20 # Change scroll region
21         csr=\E[%i%p1%d;%p2%dr,
23 # Cursor motion
25 # Enter insert mode, leave insert mode
26         smir=\E[4h, rmir=\E[4l,
28 # Positions Horizontal and vertical.  Taken from linux console source
29          hpa=\E[%i%p1%dG, vpa=\E[%i%p1%dd,
31 # Scroll text down 
32         ri=\EM,
34 # Set tab stops, clear tab stops, tab character
35 # FIXME: does xterm use \E[3k instead of \E[3g (like vt102)?
36         hts=\EH, tbc=\E[3g, ht=\t,
38 # Make cursor invisible, normal
39         civis=\E[?25l, cnorm=\E[?25h,
41 # Save cursor position, restore cursor position
43         sc=\E7, rc=\E8,
45 # Code for line drawing, enter alternate char set and leave char set
46         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
47         smacs=\E(B\E)U^N,rmacs=\E(B\E)0^O,
48         enacs=\E(B\E)0,
50 # Enter/leave keypad transmit.
51         rmkx=\E[?1l\E>,
52         smkx=\E[?1h\E=,
54 # Delete: chars, lines, 1char, 1line
55         dch=\E[%p1%dP, dl=\E[%p1%dM,
56         dch1=\E[P, dl1=\E[M,
58 # Insert: chars, line, 1 char,
59         ich=\E[%p1%d@, il=\E[%p1%dL,
60         ich1=\E[@, il1=\E[L,
62 # Fonts: bold, reverse, blink, underline (enter/leave), 
63 # standout (enter/leave), Define attribs 1-9
64         bold=\E[1m, rev=\E[7m, 
65         rmul=\E[24m, smul=\E[4m, rmso=\E[m, smso=\E[7m,
67 # Cursor keys, sent by terminal
68         kcuf1=\EOC,    kcuu1=\EOA,    kcud1=\EOB,    kcub1=\EOD,
70 # Move cursor: 1 char, any
71         cuf1=\E[C,     cuu1=\E[A,     cud1=\n,       cub1=\b,
72         cuf=\E[%p1%dC, cuu=\E[%p1%dA, cud=\E[%p1%dB, cub=\E[%p1%dD,
74 # Move cursor to arbitrary position
75         cup=\E[%i%p1%d;%p2%dH,
77 # Misc cursor motion
78         home=\E[H, 
80 # Other nice keys.
81         ka1=\EOq, ka3=\EOs, kb2=\EOr,
82         kc1=\EOp, kc3=\EOn, 
84 # The Function keys.
86         kf0=\E[21~, kf1=\E[11~, kf2=\E[12~,
87         kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, kf6=\E[17~,
88         kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kf10=\E[21~,
89         kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
90         kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
91         kf19=\E[33~, kf20=\E[34~,
93 # Insert, home, end, delete, next page, previous page, backspace, enter
94         kich1=\E[2~, khome=\E[7~, kend=\E[8~,
95         kdch1=\E[3~, knp=\E[6~, kpp=\E[5~,
96         kbs=\b, kent=\EOM, 
98 # Reset terminal, turn off all attributes
99         rs1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H,
100         rs2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E<,
102 # Init terminal
103         is2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l,
105 # Leave/Enter CA-Mode.
106         rmcup=\E[?47l\E8,
107         smcup=\E7\E[?47h,
110 # Xterm with color support.
112 xterm|vs100|xterm terminal emulator (X Window System),
113         use=xterm-basic,        
114         sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t^N%e^O%;,
115         sgr0=\E[m^O,
117 xterm-color|color-xterm|color xterm terminal emulator (X Window System),
118         use=xterm,
119         colors#8, pairs#64,
121 # Set all color pairs to the original ones
122 #       op=\E[37m\E[40m,
123         op=\E[m,
125 # Set foreground color, background color
126         setf=\E[%p1%{30}%+%dm, setb=\E[%p1%{40}%+%dm,