diff options
author | Nalin Dahyabhai <nalin@src.gnome.org> | 2002-05-01 15:40:13 +0000 |
---|---|---|
committer | Nalin Dahyabhai <nalin@src.gnome.org> | 2002-05-01 15:40:13 +0000 |
commit | 92d904d5dd39221b2ab942c2cc59056a50b357cc (patch) | |
tree | cb3b8cc5dfd5b88d6d805597010f94a7614ada6f /termcaps | |
parent | 4461f119849629f1ecca1003e78113d8cc3aa8fc (diff) |
Try @pkgdatadir@/termcap/$TERM when reading termcap files. This fixes thevte_0_3_2
* src/vte.c: Try @pkgdatadir@/termcap/$TERM when reading termcap files. This fixes the app on systems with no /etc/termcap, and also speeds up loads and reduces memory consumption for xterm-color at the expense of making on-the-fly emulation changes impossible. Don't xor reverse with itself when drawing characters (this broke when snapshotting was added).
* termcaps/Makefile.am, termcaps/xterm-color: include a default termcap for xterm-color.
* src/termcap.c src/termcap.h: make _find_boolean return a gboolean instead of an int.
Diffstat (limited to 'termcaps')
-rw-r--r-- | termcaps/Makefile.am | 3 | ||||
-rw-r--r-- | termcaps/xterm-color | 27 |
2 files changed, 30 insertions, 0 deletions
diff --git a/termcaps/Makefile.am b/termcaps/Makefile.am new file mode 100644 index 0000000..ce2f1b1 --- /dev/null +++ b/termcaps/Makefile.am @@ -0,0 +1,3 @@ +EXTRA_DIST = xterm-color +termcapdir = $(pkgdatadir)/termcap +termcap_DATA = xterm-color diff --git a/termcaps/xterm-color b/termcaps/xterm-color new file mode 100644 index 0000000..f0b0840 --- /dev/null +++ b/termcaps/xterm-color @@ -0,0 +1,27 @@ +# This is a cut-down version of the termcap file from my box. + +xterm-color|generic "ANSI" color xterm (X Window System):\ + :Co#8:NC@:pa#64:\ + :AB=\E[4%dm:AF=\E[3%dm:op=\E[m:tc=xterm-r6: + +xterm-r6|xterm-old|xterm X11R6 version:\ + :am:km:mi:ms:xn:\ + :co#80:it#8:li#24:\ + :@7=\E[4~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\ + :F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:\ + :F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:\ + :Km=\E[M:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:\ + :bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\ + :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:eA=\E)0:\ + :ei=\E[4l:ho=\E[H:im=\E[4h:\ + :is=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>:k1=\EOP:\ + :k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:k7=\E[18~:\ + :k8=\E[19~:k9=\E[20~:k;=\E[21~:kD=\177:kI=\E[2~:kN=\E[6~:\ + :kP=\E[5~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kh=\E[1~:kl=\EOD:\ + :kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:mb@:md=\E[1m:me=\E[m:\ + :ml=\El:mr=\E[7m:mu=\Em:nd=\E[C:rc=\E8:\ + :rs=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>:sc=\E7:\ + :se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:te=\E[2J\E[?47l\E8:\ + :ti=\E7\E[?47h:u6=\E[%i%d;%dR:u7=\E[6n:u8=\E[?1;2c:\ + :u9=\E[c:ue=\E[m:up=\E[A:us=\E[4m: + |