diff options
author | Christoph Lohmann <20h@r-36.net> | 2012-09-03 21:50:22 +0200 |
---|---|---|
committer | Christoph Lohmann <20h@r-36.net> | 2012-09-03 21:50:22 +0200 |
commit | cfefa054e80afa22d6948bf997a6818e778801f6 (patch) | |
tree | 71ac00a41e8a0df0190ed44f84faab721d884465 /st.c | |
parent | b11d85c9bef5a49c071553410c3f73c3181c6ece (diff) | |
download | st-cfefa054e80afa22d6948bf997a6818e778801f6.tar.gz st-cfefa054e80afa22d6948bf997a6818e778801f6.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.
Diffstat (limited to 'st.c')
0 files changed, 0 insertions, 0 deletions