Commit Graph

23 Commits

Author SHA1 Message Date
Christoph Lohmann
cfefa054e8 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.
2012-09-03 21:50:22 +02:00
Christoph Lohmann
b11d85c9be Add standout mode. 2012-09-02 19:53:50 +02:00
Roberto E. Vargas Caballero
4cdcc39539 Add vpa terminfo capability
---
 st.info |    2 ++
 1 file changed, 2 insertions(+)
2012-09-02 19:08:52 +02:00
Christoph Lohmann
ff040e9894 Adding setb and setf and a comment about terminfo installation. 2012-08-29 21:13:47 +02:00
Roberto E. Vargas Caballero
c084c06b40 Add TBC sequence
This sequence clears tab stops in the terminal. If the argument is not present
or is zero, then removes the tab stop of the current horizontal position. If
the argument is 3 then removes all the tab stops of the terminal. It was
necessary modify the terminfo entry tbc, because it has \E[2g instead of the
correct \E[3g.

Signed-off-by: Roberto E. Vargas Caballero <k0ga@shike2.com>
---
 st.c    |   12 ++++++++++++
 st.info |    2 +-
 2 files changed, 13 insertions(+), 1 deletion(-)
2012-08-29 19:59:47 +02:00
Aurélien Aptel
f78b793d91 change "op" cap in terminfo entry to xterm/rxvt value. 2011-08-14 17:15:19 +02:00
Aurélien Aptel
189a81caa1 add altscreen escseq alias & caps to terminfo entry. (thx Bert Münnich) 2011-06-08 20:22:38 +02:00
Aurélien Aptel
d59f92d6f1 reverse video mode. (thx Bert Münnich) 2011-06-08 12:40:35 +02:00
Aurélien Aptel
b2db58c2a0 add status bar (window title) to terminfo. (thx Rafa Gallego) 2011-06-01 19:57:48 +02:00
Aurélien Aptel
0107293a44 add mouse report escape to terminfo entry. 2011-05-10 22:54:30 +02:00
Aurélien Aptel
9d5ea14b9d selection clicks, shift+arrow keys, fast(er) redraw, key mask in config.h (thx Magnus Leuthner) 2011-04-22 00:18:53 +02:00
Aurélien Aptel
4d649c2403 fix insert key, terminfo and changed TERM back to st. (thx Ondrej Martinek) 2011-01-23 12:30:01 +01:00
Aurélien Aptel
e8b18dd97b update terminfo entry. 2010-12-08 18:41:55 +01:00
Aurélien Aptel
fd1149866f add new line glitch to terminfo entry. 2010-12-08 18:09:39 +01:00
Aurélien Aptel
273d4ba938 cleaning st.info. added comment in st.c for DECSCNM. 2010-09-03 00:15:43 +02:00
Aurélien Aptel
c43526153f cleaning st.info. fixed cvvis. 2010-09-03 00:00:41 +02:00
Aurélien Aptel
7d325a3797 fixed start/end sequence of gfx. 2010-09-02 20:24:33 +02:00
Aurélien Aptel
42344b7154 started to go through st.info and fix things. 2010-09-01 22:54:07 +02:00
Aurélien Aptel
a79bc96c94 capabilities sorted by capname in st.info. copy acsc from xterm. 2010-09-01 19:47:46 +02:00
Aurélien Aptel
a7922bd1d9 added F1-12 key, fixed DCH and ICH. 2010-08-22 19:46:46 +02:00
Aurélien Aptel
ce3f4fc647 fixed backspace problem, updated terminfo entry and moved TNAME in config.h. 2010-08-19 12:46:54 +02:00
Anselm R Garbe
10e49a0505 applied Devin J Pohly's st color info patches, thanks Devin! 2010-07-24 12:09:14 +01:00
Anselm R Garbe
d58dd3b8bc backport of local changes 2009-05-10 13:17:09 +01:00