apply some xterm tweaks in default config also to xterm-* (#474064)

epel9
Miroslav Lichvar 14 years ago
parent 4613f410ec
commit 9e6b4089e5

@ -1,6 +1,17 @@
diff -up screen-4.0.3/etc/etcscreenrc.screenrc screen-4.0.3/etc/etcscreenrc diff -up screen-4.0.3/etc/etcscreenrc.screenrc screen-4.0.3/etc/etcscreenrc
--- screen-4.0.3/etc/etcscreenrc.screenrc 2003-12-05 14:46:13.000000000 +0100 --- screen-4.0.3/etc/etcscreenrc.screenrc 2003-12-05 14:46:13.000000000 +0100
+++ screen-4.0.3/etc/etcscreenrc 2009-09-25 14:20:31.000000000 +0200 +++ screen-4.0.3/etc/etcscreenrc 2009-09-25 14:20:31.000000000 +0200
@@ -36,8 +36,8 @@ vbell_msg " Wuff ---- Wuff!! "
# IC insert multiple chars
# nx terminal uses xon/xoff
-termcap facit|vt100|xterm LP:G0
-terminfo facit|vt100|xterm LP:G0
+termcap facit|vt100|xterm|xterm-* LP:G0
+terminfo facit|vt100|xterm|xterm-* LP:G0
#the vt100 description does not mention "dl". *sigh*
termcap vt100 dl=5\E[M
@@ -55,15 +55,15 @@ terminfo sun 'up=^K:AL=\E[%p1%dL:DL=\E[% @@ -55,15 +55,15 @@ terminfo sun 'up=^K:AL=\E[%p1%dL:DL=\E[%
#xterm understands both im/ic and doesn't have a status line. #xterm understands both im/ic and doesn't have a status line.
#Note: Do not specify im and ic in the real termcap/info file as #Note: Do not specify im and ic in the real termcap/info file as
@ -68,24 +79,31 @@ diff -up screen-4.0.3/etc/screenrc.screenrc screen-4.0.3/etc/screenrc
# Make the output buffer large for (fast) xterms. # Make the output buffer large for (fast) xterms.
#termcapinfo xterm* OL=10000 #termcapinfo xterm* OL=10000
@@ -60,14 +44,14 @@ termcapinfo xterm* OL=100 @@ -59,18 +43,18 @@ termcapinfo xterm* OL=100
# tell screen that xterm can switch to dark background and has function # tell screen that xterm can switch to dark background and has function
# keys. # keys.
termcapinfo xterm 'VR=\E[?5h:VN=\E[?5l' -termcapinfo xterm 'VR=\E[?5h:VN=\E[?5l'
-termcapinfo xterm 'k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~' -termcapinfo xterm 'k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~'
-termcapinfo xterm 'kh=\EOH:kI=\E[2~:kD=\E[3~:kH=\EOF:kP=\E[5~:kN=\E[6~' -termcapinfo xterm 'kh=\EOH:kI=\E[2~:kD=\E[3~:kH=\EOF:kP=\E[5~:kN=\E[6~'
+termcapinfo xterm|xterm-* 'VR=\E[?5h:VN=\E[?5l'
+#termcapinfo xterm 'k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~' +#termcapinfo xterm 'k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~'
+#termcapinfo xterm 'kh=\EOH:kI=\E[2~:kD=\E[3~:kH=\EOF:kP=\E[5~:kN=\E[6~' +#termcapinfo xterm 'kh=\EOH:kI=\E[2~:kD=\E[3~:kH=\EOF:kP=\E[5~:kN=\E[6~'
# special xterm hardstatus: use the window title. # special xterm hardstatus: use the window title.
termcapinfo xterm 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007' -termcapinfo xterm 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007'
+termcapinfo xterm|xterm-* 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007'
#terminfo xterm 'vb=\E[?5h$<200/>\E[?5l' #terminfo xterm 'vb=\E[?5h$<200/>\E[?5l'
-termcapinfo xterm 'vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l' -termcapinfo xterm 'vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l'
+#termcapinfo xterm 'vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l' +#termcapinfo xterm 'vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l'
# emulate part of the 'K' charset # emulate part of the 'K' charset
termcapinfo xterm 'XC=K%,%\E(B,[\304,\\\\\326,]\334,{\344,|\366,}\374,~\337' -termcapinfo xterm 'XC=K%,%\E(B,[\304,\\\\\326,]\334,{\344,|\366,}\374,~\337'
+termcapinfo xterm|xterm-* 'XC=K%,%\E(B,[\304,\\\\\326,]\334,{\344,|\366,}\374,~\337'
# xterm-52 tweaks:
# - uses background color for delete operations
@@ -103,32 +87,12 @@ termcapinfo linux C8 @@ -103,32 +87,12 @@ termcapinfo linux C8
# old rxvt versions also need this # old rxvt versions also need this
# termcapinfo rxvt C8 # termcapinfo rxvt C8

Loading…
Cancel
Save