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-457969381869f9f3ecbb462bf40f053f2a748a02.tar.gz
st-457969381869f9f3ecbb462bf40f053f2a748a02.tar.bz2
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 @@
-# unsupported xterm caps are (getting) commented.
-# as soon as they work, uncomment them.
st| simpleterm,
acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
am,
@@ -162,7 +160,6 @@ st| simpleterm,
rmcup=\E[?1049l,
rmir=\E[4l,
rmkx=\E[?1l\E>,
- rmm=\E[?1034l,
rmso=\E[27m,
rmul=\E[m,
rs1=\Ec,
@@ -179,7 +176,6 @@ st| simpleterm,
smcup=\E[?1049h,
smir=\E[4h,
smkx=\E[?1h\E=,
- smm=\E[?1034h,
smso=\E[7m,
smul=\E[4m,
tbc=\E[3g,
@@ -196,3 +192,19 @@ st-256color| simpleterm with 256 colors,
# Nicked from xterm-256color
setab=\E[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m,
setaf=\E[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;m,
+
+st-meta| simpleterm with meta key,
+ use=st,
+ km,
+ rmm=\E[?1034l,
+ smm=\E[?1034h,
+ rs2=\E[4l\E>\E[?1034h,
+ is2=\E[4l\E>\E[?1034h,
+
+st-meta-256color| simpleterm with meta key and 256 colors,
+ use=st-256color,
+ km,
+ rmm=\E[?1034l,
+ smm=\E[?1034h,
+ rs2=\E[4l\E>\E[?1034h,
+ is2=\E[4l\E>\E[?1034h,