annotate etc/e/eterm-color.ti @ 103300:8fdb15180912

* frames.texi (Text Terminal Colors): Multi-tty is already implemented, but tty-local colors are not.
author Chong Yidong <cyd@stupidchicken.com>
date Thu, 28 May 2009 13:30:46 +0000
parents 6f0c6046d7ac
children ffb29f8afea3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
66253
ea87e52cf6da * e/eterm-color.ti: Change the terminal name to eterm-color.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 66244
diff changeset
1 eterm-color|Emacs term.el terminal emulator term-protocol-version 0.96,
75988
6f0c6046d7ac Add comment on lack of copyright.
Glenn Morris <rgm@gnu.org>
parents: 68203
diff changeset
2 #
6f0c6046d7ac Add comment on lack of copyright.
Glenn Morris <rgm@gnu.org>
parents: 68203
diff changeset
3 # The code here is forced by the interface, and is not subject to
6f0c6046d7ac Add comment on lack of copyright.
Glenn Morris <rgm@gnu.org>
parents: 68203
diff changeset
4 # copyright, constituting the only possible expression of the algorithm
6f0c6046d7ac Add comment on lack of copyright.
Glenn Morris <rgm@gnu.org>
parents: 68203
diff changeset
5 # in this format.
6f0c6046d7ac Add comment on lack of copyright.
Glenn Morris <rgm@gnu.org>
parents: 68203
diff changeset
6 #
66470
e6a6732d08c3 (el1): Undo 2005-10-23 change.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 66365
diff changeset
7 # When updating this file, etc/e/eterm-color should be regenerated by
e6a6732d08c3 (el1): Undo 2005-10-23 change.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 66365
diff changeset
8 # running "make e/eterm-color" in the etc directory.
e6a6732d08c3 (el1): Undo 2005-10-23 change.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 66365
diff changeset
9 # Any change to this file should be done at the same time with a
e6a6732d08c3 (el1): Undo 2005-10-23 change.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 66365
diff changeset
10 # corresponding change to the TERMCAP evironment variable in term.el.
e6a6732d08c3 (el1): Undo 2005-10-23 change.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 66365
diff changeset
11 # Comments in term.el specify where each of these capabilities is implemented.
66244
94ef888e540c Renamed eterm to eterm-color and eterm.ti to eterm-color.ti.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
12 colors#8,
94ef888e540c Renamed eterm to eterm-color and eterm.ti to eterm-color.ti.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
13 cols#80,
94ef888e540c Renamed eterm to eterm-color and eterm.ti to eterm-color.ti.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
14 lines#24,
94ef888e540c Renamed eterm to eterm-color and eterm.ti to eterm-color.ti.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
15 pairs#64,
94ef888e540c Renamed eterm to eterm-color and eterm.ti to eterm-color.ti.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
16 am,
94ef888e540c Renamed eterm to eterm-color and eterm.ti to eterm-color.ti.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
17 mir,
94ef888e540c Renamed eterm to eterm-color and eterm.ti to eterm-color.ti.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
18 xenl,
94ef888e540c Renamed eterm to eterm-color and eterm.ti to eterm-color.ti.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
19 bel=^G,
94ef888e540c Renamed eterm to eterm-color and eterm.ti to eterm-color.ti.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
20 bold=\E[1m,
94ef888e540c Renamed eterm to eterm-color and eterm.ti to eterm-color.ti.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
21 clear=\E[H\E[J,
94ef888e540c Renamed eterm to eterm-color and eterm.ti to eterm-color.ti.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
22 cr=\r,
94ef888e540c Renamed eterm to eterm-color and eterm.ti to eterm-color.ti.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
23 csr=\E[%i%p1%d;%p2%dr,
94ef888e540c Renamed eterm to eterm-color and eterm.ti to eterm-color.ti.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
24 cub1=\b,
94ef888e540c Renamed eterm to eterm-color and eterm.ti to eterm-color.ti.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
25 cub=\E[%p1%dD,
94ef888e540c Renamed eterm to eterm-color and eterm.ti to eterm-color.ti.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
26 cud1=\n,
94ef888e540c Renamed eterm to eterm-color and eterm.ti to eterm-color.ti.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
27 cud=\E[%p1%dB,
94ef888e540c Renamed eterm to eterm-color and eterm.ti to eterm-color.ti.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
28 cuf1=\E[C,
94ef888e540c Renamed eterm to eterm-color and eterm.ti to eterm-color.ti.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
29 cuf=\E[%p1%dC,
94ef888e540c Renamed eterm to eterm-color and eterm.ti to eterm-color.ti.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
30 cup=\E[%i%p1%d;%p2%dH,
94ef888e540c Renamed eterm to eterm-color and eterm.ti to eterm-color.ti.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
31 cuu1=\E[A,
94ef888e540c Renamed eterm to eterm-color and eterm.ti to eterm-color.ti.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
32 cuu=\E[%p1%dA,
94ef888e540c Renamed eterm to eterm-color and eterm.ti to eterm-color.ti.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
33 dch1=\E[P,
94ef888e540c Renamed eterm to eterm-color and eterm.ti to eterm-color.ti.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
34 dch=\E[%p1%dP,
94ef888e540c Renamed eterm to eterm-color and eterm.ti to eterm-color.ti.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
35 dl1=\E[M,
94ef888e540c Renamed eterm to eterm-color and eterm.ti to eterm-color.ti.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
36 dl=\E[%p1%dM,
94ef888e540c Renamed eterm to eterm-color and eterm.ti to eterm-color.ti.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
37 ed=\E[J,
66470
e6a6732d08c3 (el1): Undo 2005-10-23 change.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 66365
diff changeset
38 el1=\E[1K,
66244
94ef888e540c Renamed eterm to eterm-color and eterm.ti to eterm-color.ti.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
39 el=\E[K,
94ef888e540c Renamed eterm to eterm-color and eterm.ti to eterm-color.ti.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
40 home=\E[H,
94ef888e540c Renamed eterm to eterm-color and eterm.ti to eterm-color.ti.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
41 ht=\t,
94ef888e540c Renamed eterm to eterm-color and eterm.ti to eterm-color.ti.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
42 ich=\E[%p1%d@,
94ef888e540c Renamed eterm to eterm-color and eterm.ti to eterm-color.ti.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
43 il1=\E[L,
94ef888e540c Renamed eterm to eterm-color and eterm.ti to eterm-color.ti.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
44 il=\E[%p1%dL,
94ef888e540c Renamed eterm to eterm-color and eterm.ti to eterm-color.ti.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
45 ind=\n,
94ef888e540c Renamed eterm to eterm-color and eterm.ti to eterm-color.ti.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
46 invis=\E[8m,
94ef888e540c Renamed eterm to eterm-color and eterm.ti to eterm-color.ti.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
47 kbs=^?,
94ef888e540c Renamed eterm to eterm-color and eterm.ti to eterm-color.ti.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
48 kcub1=\EOD,
94ef888e540c Renamed eterm to eterm-color and eterm.ti to eterm-color.ti.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
49 kcud1=\EOB,
94ef888e540c Renamed eterm to eterm-color and eterm.ti to eterm-color.ti.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
50 kcuf1=\EOC,
94ef888e540c Renamed eterm to eterm-color and eterm.ti to eterm-color.ti.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
51 kcuu1=\EOA,
94ef888e540c Renamed eterm to eterm-color and eterm.ti to eterm-color.ti.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
52 kdch1=\E[3~,
94ef888e540c Renamed eterm to eterm-color and eterm.ti to eterm-color.ti.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
53 kend=\E[4~,
94ef888e540c Renamed eterm to eterm-color and eterm.ti to eterm-color.ti.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
54 khome=\E[1~,
68203
78ee72a03306 * e/eterm-color.ti: Re-enable the ri entry. Add kich1.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 67888
diff changeset
55 kich1=\E[2~,
66244
94ef888e540c Renamed eterm to eterm-color and eterm.ti to eterm-color.ti.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
56 knp=\E[6~,
94ef888e540c Renamed eterm to eterm-color and eterm.ti to eterm-color.ti.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
57 kpp=\E[5~,
94ef888e540c Renamed eterm to eterm-color and eterm.ti to eterm-color.ti.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
58 op=\E[39;49m,
94ef888e540c Renamed eterm to eterm-color and eterm.ti to eterm-color.ti.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
59 rc=\E8,
94ef888e540c Renamed eterm to eterm-color and eterm.ti to eterm-color.ti.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
60 rev=\E[7m,
68203
78ee72a03306 * e/eterm-color.ti: Re-enable the ri entry. Add kich1.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 67888
diff changeset
61 ri=\EM,
66244
94ef888e540c Renamed eterm to eterm-color and eterm.ti to eterm-color.ti.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
62 rmir=\E[4l,
94ef888e540c Renamed eterm to eterm-color and eterm.ti to eterm-color.ti.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
63 rmso=\E[27m,
94ef888e540c Renamed eterm to eterm-color and eterm.ti to eterm-color.ti.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
64 rmul=\E[24m,
94ef888e540c Renamed eterm to eterm-color and eterm.ti to eterm-color.ti.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
65 rs1=\Ec,
94ef888e540c Renamed eterm to eterm-color and eterm.ti to eterm-color.ti.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
66 sc=\E7,
94ef888e540c Renamed eterm to eterm-color and eterm.ti to eterm-color.ti.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
67 setab=\E[%p1%{40}%+%dm,
94ef888e540c Renamed eterm to eterm-color and eterm.ti to eterm-color.ti.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
68 setaf=\E[%p1%{30}%+%dm,
94ef888e540c Renamed eterm to eterm-color and eterm.ti to eterm-color.ti.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
69 sgr0=\E[m,
94ef888e540c Renamed eterm to eterm-color and eterm.ti to eterm-color.ti.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
70 smir=\E[4h,
94ef888e540c Renamed eterm to eterm-color and eterm.ti to eterm-color.ti.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
71 smul=\E[4m,
94ef888e540c Renamed eterm to eterm-color and eterm.ti to eterm-color.ti.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
72 smso=\E[7m,
94ef888e540c Renamed eterm to eterm-color and eterm.ti to eterm-color.ti.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
73 # smcup=\E[?47h,
94ef888e540c Renamed eterm to eterm-color and eterm.ti to eterm-color.ti.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
74 # rmcup=\E[?47l,
94ef888e540c Renamed eterm to eterm-color and eterm.ti to eterm-color.ti.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
75 # rs2 may need to be added