aboutsummaryrefslogtreecommitdiff
path: root/st.info
diff options
context:
space:
mode:
authorRoberto E. Vargas Caballero <k0ga@shike2.com>2013-08-12 15:25:18 +0200
committerRoberto E. Vargas Caballero <k0ga@shike2.com>2013-08-12 16:53:09 +0200
commit457969381869f9f3ecbb462bf40f053f2a748a02 (patch)
treedf313f8d4a54a766ac58a25c62132c43e1c2662e /st.info
parent347a45c35299c94e97c976b6e1df383dc2b8fbda (diff)
downloadst-patched-457969381869f9f3ecbb462bf40f053f2a748a02.tar.bz2
st-patched-457969381869f9f3ecbb462bf40f053f2a748a02.tar.xz
st-patched-457969381869f9f3ecbb462bf40f053f2a748a02.zip
Add terminfo definitions for terminals with meta key
Some programs don't check the value of km and use smm and rmm capabilites, and they cause the terminal change to meta enabled mode even in cases where is not desirable. Allmost all people is using the terminal waiting that meta sends escape, so rmm and smm are not needed. If someone needs meta sets 8 bit he can use the correct terminfo definition in TERM.
Diffstat (limited to 'st.info')
-rw-r--r--st.info20
1 files changed, 16 insertions, 4 deletions
diff --git a/st.info b/st.info
index ff01c80..94fce22 100644
--- a/st.info
+++ b/st.info
@@ -1,5 +1,3 @@
1# unsupported xterm caps are (getting) commented.
2# as soon as they work, uncomment them.
3st| simpleterm, 1st| simpleterm,
4 acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 2 acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
5 am, 3 am,
@@ -162,7 +160,6 @@ st| simpleterm,
162 rmcup=\E[?1049l, 160 rmcup=\E[?1049l,
163 rmir=\E[4l, 161 rmir=\E[4l,
164 rmkx=\E[?1l\E>, 162 rmkx=\E[?1l\E>,
165 rmm=\E[?1034l,
166 rmso=\E[27m, 163 rmso=\E[27m,
167 rmul=\E[m, 164 rmul=\E[m,
168 rs1=\Ec, 165 rs1=\Ec,
@@ -179,7 +176,6 @@ st| simpleterm,
179 smcup=\E[?1049h, 176 smcup=\E[?1049h,
180 smir=\E[4h, 177 smir=\E[4h,
181 smkx=\E[?1h\E=, 178 smkx=\E[?1h\E=,
182 smm=\E[?1034h,
183 smso=\E[7m, 179 smso=\E[7m,
184 smul=\E[4m, 180 smul=\E[4m,
185 tbc=\E[3g, 181 tbc=\E[3g,
@@ -196,3 +192,19 @@ st-256color| simpleterm with 256 colors,
196# Nicked from xterm-256color 192# Nicked from xterm-256color
197 setab=\E[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m, 193 setab=\E[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m,
198 setaf=\E[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;m, 194 setaf=\E[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;m,
195
196st-meta| simpleterm with meta key,
197 use=st,
198 km,
199 rmm=\E[?1034l,
200 smm=\E[?1034h,
201 rs2=\E[4l\E>\E[?1034h,
202 is2=\E[4l\E>\E[?1034h,
203
204st-meta-256color| simpleterm with meta key and 256 colors,
205 use=st-256color,
206 km,
207 rmm=\E[?1034l,
208 smm=\E[?1034h,
209 rs2=\E[4l\E>\E[?1034h,
210 is2=\E[4l\E>\E[?1034h,