aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Lohmann <20h@r-36.net>2012-09-03 21:50:22 +0200
committerChristoph Lohmann <20h@r-36.net>2012-09-03 21:50:22 +0200
commiteeb26ec3169cd3d98196c7e31fcec1680bb26e9d (patch)
tree71ac00a41e8a0df0190ed44f84faab721d884465
parentb3d8986489e44bb51dcd2637edccf6e1374a0059 (diff)
downloadst-eeb26ec3169cd3d98196c7e31fcec1680bb26e9d.tar.gz
st-eeb26ec3169cd3d98196c7e31fcec1680bb26e9d.tar.bz2
Patch from Roberto Vargas. »Add initialization strings in terminfo«
Taken from the description: When tput init is executed the list of task performed are (taken from terminfo(5)): run the program iprog output is1 is2 set the margins using mgc, smgl and smgr set tabs using tbc and hts print the file if and finally output is3. When reset is executed, a more stronger initialization process is performed, so the terminal can return from an unknown state. rs1, rs2 and rs3 are used in this case instead of using is1, is2 and is3. This patch makes is2 = rs2, resets insert mode and set normal keypad mode. For rs1 it performs a full initilization using ^[c.
-rw-r--r--st.info3
1 files changed, 3 insertions, 0 deletions
diff --git a/st.info b/st.info
index e883319..6c9b098 100644
--- a/st.info
+++ b/st.info
@@ -46,6 +46,7 @@ st| simpleterm,
ind=^J,
indn=\E[%p1%dS,
invis=\E[8m,
+ in2=\E[4l\E>,
it#8,
kbs=\177,
kcub1=\E[D,
@@ -82,6 +83,8 @@ st| simpleterm,
op=\E[39;49m,
pairs#64,
rc=\E8,
+ rs1=\Ec,
+ rs2=\E[4l\E>,
rev=\E[7m,
ri=\EM,
rmacs=\E(B,