summaryrefslogtreecommitdiff
path: root/termcaps
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin@src.gnome.org>2002-05-09 23:54:35 +0000
committerNalin Dahyabhai <nalin@src.gnome.org>2002-05-09 23:54:35 +0000
commit265b32f280c4417ea6c0a1af70bd7859b80f6efb (patch)
tree82635f15e1ebbc4df41b8b4e36609583f5f2b046 /termcaps
parent0f6befd404efad9584311f0bea326034170b83c8 (diff)
Fixes to usage of iconv, from otaylor. Remap characters which are missing
* src/vte.c: Fixes to usage of iconv, from otaylor. Remap characters which are missing in the current font to others in the current font, if possible, from otaylor. Change default emulation to "xterm", cleaning up confusion over what standout really means. Reorganize some internals. Complain when an application sends us a key-press sequence, as if we knew what to do with one of those. * src/vte.c, src/vte.h: Implement vte_terminal_reset(). * src/debug.c, src/debug.h: Added to centralize some debugging settings. * everywhere: Punt the question of whether or not to print debug spew to run-time, suggested by otaylor. * termcaps/xterm: Added.
Diffstat (limited to 'termcaps')
-rw-r--r--termcaps/Makefile.am4
-rw-r--r--termcaps/xterm28
2 files changed, 30 insertions, 2 deletions
diff --git a/termcaps/Makefile.am b/termcaps/Makefile.am
index ce2f1b1..84c6f1f 100644
--- a/termcaps/Makefile.am
+++ b/termcaps/Makefile.am
@@ -1,3 +1,3 @@
-EXTRA_DIST = xterm-color
+EXTRA_DIST = xterm
termcapdir = $(pkgdatadir)/termcap
-termcap_DATA = xterm-color
+termcap_DATA = xterm
diff --git a/termcaps/xterm b/termcaps/xterm
new file mode 100644
index 0000000..2222b20
--- /dev/null
+++ b/termcaps/xterm
@@ -0,0 +1,28 @@
+# This is a cut-down version of the termcap file from my box.
+xterm-xfree86|xterm-new|xterm terminal emulator (XFree86):\
+ :am:km:mi:ms:xn:\
+ :co#80:it#8:li#24:\
+ :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
+ :K1=\EOw:K2=\EOy:K3=\EOu:K4=\EOq:K5=\EOs:LE=\E[%dD:\
+ :RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:\
+ :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:ec=\E[%dX:\
+ :ei=\E[4l:ho=\E[H:im=\E[4h:is=\E[!p\E[?3;4l\E[4l\E>:\
+ :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:\
+ :k7=\E[18~:k8=\E[19~:k9=\E[20~: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=\E[5m:md=\E[1m:\
+ :me=\E[m\017:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[27m:\
+ :sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:te=\E[?1047l\E[?1048l:\
+ :ti=\E[?1048h\E[?1047h:ue=\E[24m:up=\E[A:us=\E[4m:\
+ :vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:
+# xterm-redhat is identical to xterm-xfree86 with the addition of a small
+# VT220-ism regarding the backspace and delete keys; this is mandated by
+# the keyboard configuration section of the Debian Policy Manual.
+xterm-redhat|Red Hat xterm (backspace and delete changed):\
+ :kD=\E[3~:kb=\177:tc=xterm-xfree86:
+# This is the only entry which you should have to customize, since "xterm"
+# is widely used for a variety of incompatible terminal emulations including
+# color_xterm and rxvt.
+xterm|X11 terminal emulator:\
+ :tc=xterm-redhat: