Lines 113-150
Link Here
|
113 |
# xterm understands both im/ic and doesn't have a status line. |
113 |
# xterm understands both im/ic and doesn't have a status line. |
114 |
# Note: Do not specify im and ic in the real termcap/info file as |
114 |
# Note: Do not specify im and ic in the real termcap/info file as |
115 |
# some programs (e.g. vi) will not work anymore. |
115 |
# some programs (e.g. vi) will not work anymore. |
116 |
termcap xterm hs@:cs=\E[%i%d;%dr:im=\E[4h:ei=\E[4l |
116 |
termcap gnome|xterm hs@:cs=\E[%i%d;%dr:im=\E[4h:ei=\E[4l |
117 |
terminfo xterm hs@:cs=\E[%i%p1%d;%p2%dr:im=\E[4h:ei=\E[4l |
117 |
terminfo gnome|xterm hs@:cs=\E[%i%p1%d;%p2%dr:im=\E[4h:ei=\E[4l |
118 |
|
118 |
|
119 |
# 80/132 column switching must be enabled for ^AW to work |
119 |
# 80/132 column switching must be enabled for ^AW to work |
120 |
# change init sequence to not switch width |
120 |
# change init sequence to not switch width |
121 |
termcapinfo xterm Z0=\E[?3h:Z1=\E[?3l:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l |
121 |
termcapinfo gnome|xterm Z0=\E[?3h:Z1=\E[?3l:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l |
122 |
|
122 |
|
123 |
# Make the output buffer large for (fast) xterms. |
123 |
# Make the output buffer large for (fast) xterms. |
124 |
# termcapinfo xterm* OL=10000 |
124 |
# termcapinfo xterm* OL=10000 |
125 |
termcapinfo xterm* OL=100 |
125 |
termcapinfo gnome|xterm* OL=100 |
126 |
|
126 |
|
127 |
# tell screen that xterm can switch to dark background and has function |
127 |
# tell screen that xterm can switch to dark background and has function |
128 |
# keys. |
128 |
# keys. |
129 |
termcapinfo xterm 'VR=\E[?5h:VN=\E[?5l' |
129 |
termcapinfo gnome|xterm 'VR=\E[?5h:VN=\E[?5l' |
130 |
termcapinfo xterm 'k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~' |
130 |
termcapinfo gnome|xterm 'k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~' |
131 |
termcapinfo xterm 'kh=\EOH:kI=\E[2~:kD=\E[3~:kH=\EOF:kP=\E[5~:kN=\E[6~' |
131 |
termcapinfo gnome|xterm 'kh=\EOH:kI=\E[2~:kD=\E[3~:kH=\EOF:kP=\E[5~:kN=\E[6~' |
132 |
|
132 |
|
133 |
# special xterm hardstatus: use the window title. |
133 |
# special xterm hardstatus: use the window title. |
134 |
termcapinfo xterm 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007' |
134 |
termcapinfo gnome|xterm 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007' |
135 |
|
135 |
|
136 |
#terminfo xterm 'vb=\E[?5h$<200/>\E[?5l' |
136 |
#terminfo xterm 'vb=\E[?5h$<200/>\E[?5l' |
137 |
termcapinfo xterm 'vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l' |
137 |
termcapinfo gnome|xterm 'vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l' |
138 |
|
138 |
|
139 |
# emulate part of the 'K' charset |
139 |
# emulate part of the 'K' charset |
140 |
termcapinfo xterm 'XC=K%,%\E(B,[\304,\\\\\326,]\334,{\344,|\366,}\374,~\337' |
140 |
termcapinfo gnome|xterm 'XC=K%,%\E(B,[\304,\\\\\326,]\334,{\344,|\366,}\374,~\337' |
141 |
|
141 |
|
142 |
# xterm-52 tweaks: |
142 |
# xterm-52 tweaks: |
143 |
# - uses background color for delete operations |
143 |
# - uses background color for delete operations |
144 |
termcapinfo xterm* be |
144 |
termcapinfo gnome|xterm* be |
145 |
|
145 |
|
146 |
# Do not use xterm's alternative window buffer, it breaks scrollback (see bug #61195) |
146 |
# Do not use xterm's alternative window buffer, it breaks scrollback (see bug #61195) |
147 |
termcapinfo xterm|xterms|xs ti@:te=\E[2J |
147 |
termcapinfo gnome|xterm|xterms|xs ti@:te=\E[2J |
148 |
|
148 |
|
149 |
# WYSE TERMINALS |
149 |
# WYSE TERMINALS |
150 |
# =============================================================== |
150 |
# =============================================================== |