summaryrefslogtreecommitdiff
path: root/st.info
Commit message (Collapse)AuthorAgeFilesLines
* Add missed key definitionsRoberto E. Vargas Caballero2012-11-131-3/+67
| | | | | | | | | | | | | | | | | | | | | | | | | This patch adds the keys for the keypad (in both modes, application mode or ansi mode) and function keys. It uses the same convention than xterm and instead of using the XK_Fxx values it generates them using F1-F12 and modifiers. For example: F1 -> ^[OP F1 + Shift = F13 -> ^[[1;2P F1 + Control = F25 -> ^[[1;5P F1 + Mod2 = F37 -> ^[[1;6P F1 + Mod1 = F49 -> ^[[1;3P F1 + Mod3 = F61 -> ^[[1;4P It is also important notice than the terminfo capability kIC (shifted insert key) only can be generated using the keypad keyboard, because the shorcut for selection paste is using the same combination. After this path the number of elements in the Key array becomes high, and maybe a sequencial search is not enough efficient now. --- TODO | 6 +--- config.def.h | 102 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++- st.info | 70 ++++++++++++++++++++++++++++++++++++++-- 3 files changed, 169 insertions(+), 9 deletions(-)
* Add control and meta combinations for arrow keysRoberto E. Vargas Caballero2012-11-131-4/+4
| | | | | | | | | | | | | | | Since there isn't any terminfo capability for control and meta modifiers for arrows keys it is necessary use the same that almost terminal emulators use, because there are a lot of programs which have these codes hardcoded. This cause also that shift combinations are also changed, but in this case this is not a problem since there are terminfo capabilities for them. After this patch shift-up and shift-down continue not working in emacs with TERM=st, but they work with TERM=xterm, so it is possible some other changes are necessary in the terminfo entry. --- config.def.h | 16 ++++++++++++---- st.info | 8 ++++---- 2 files changed, 16 insertions(+), 8 deletions(-)
* Fix arrow keys terminfo capabilitiesRoberto E. Vargas Caballero2012-11-131-4/+4
| | | | | | | | | | | | | | Usually the arrow keys generate the ANSI sequence which terminal will understand like a movement, so it is not necessary any dealing for them, the program can not know if the sequence is generate for a echo key or directly from the program. If you need really know if the key was pressed then you need activate the keypad mode where the keys will generate a special code for each keypad key. The terminfo capabilities kcub1, kcud1, kcuf1 and kcuu1 are used for this keypad code, not for the sequence generate in the ansi mode. --- st.info | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
* Fix keypad mode and cursor modeRoberto E. Vargas Caballero2012-11-131-2/+2
| | | | | | | | | | | | Keypad mode is used for detecting when keys in the auxiliary keypad are pressed, while cursor mode is used for detecting when a cursor is pressed, but they are different modes. St was mixing both modes and DECPAM and DECPNM modified the cursor mode, and this was incorrect. --- st.c | 5 +++-- st.info | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-)
* Enabling enacs and adding compatibility to xterm and urxvt for alternativeChristoph Lohmann2012-09-251-0/+1
| | | charsets.
* Implement italic font support.Christoph Lohmann2012-09-051-4/+6
|
* Enable keypad set and unset commands.Christoph Lohmann2012-09-051-0/+2
|
* Disable BCE again.Christoph Lohmann2012-09-051-1/+1
|
* Updating the TODO and enabling BCE.Christoph Lohmann2012-09-041-1/+1
|
* Fixing a type in in2 in the st.info.Christoph Lohmann2012-09-031-1/+1
|
* Patch from Roberto Vargas. »Add initialization strings in terminfo«Christoph Lohmann2012-09-031-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Add standout mode.Christoph Lohmann2012-09-021-2/+2
|
* Add vpa terminfo capabilityRoberto E. Vargas Caballero2012-09-021-0/+2
| | | | | --- st.info | 2 ++ 1 file changed, 2 insertions(+)
* Adding setb and setf and a comment about terminfo installation.Christoph Lohmann2012-08-291-0/+2
|
* Add TBC sequenceRoberto E. Vargas Caballero2012-08-291-1/+1
| | | | | | | | | | | | | 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(-)
* change "op" cap in terminfo entry to xterm/rxvt value.Aurélien Aptel2011-08-141-1/+1
|
* add altscreen escseq alias & caps to terminfo entry. (thx Bert Münnich)Aurélien Aptel2011-06-081-0/+2
|
* reverse video mode. (thx Bert Münnich)Aurélien Aptel2011-06-081-0/+1
|
* add status bar (window title) to terminfo. (thx Rafa Gallego)Aurélien Aptel2011-06-011-0/+3
|
* add mouse report escape to terminfo entry.Aurélien Aptel2011-05-101-0/+1
|
* selection clicks, shift+arrow keys, fast(er) redraw, key mask in config.h ↵Aurélien Aptel2011-04-221-0/+4
| | | | (thx Magnus Leuthner)
* fix insert key, terminfo and changed TERM back to st. (thx Ondrej Martinek)Aurélien Aptel2011-01-231-1/+2
|
* update terminfo entry.Aurélien Aptel2010-12-081-0/+7
|
* add new line glitch to terminfo entry.Aurélien Aptel2010-12-081-0/+1
|
* cleaning st.info. added comment in st.c for DECSCNM.Aurélien Aptel2010-09-031-2/+6
|
* cleaning st.info. fixed cvvis.Aurélien Aptel2010-09-031-2/+13
|
* fixed start/end sequence of gfx.Aurélien Aptel2010-09-021-2/+2
|
* started to go through st.info and fix things.Aurélien Aptel2010-09-011-0/+3
|
* capabilities sorted by capname in st.info. copy acsc from xterm.Aurélien Aptel2010-09-011-13/+13
|
* added F1-12 key, fixed DCH and ICH.Aurélien Aptel2010-08-221-0/+12
|
* fixed backspace problem, updated terminfo entry and moved TNAME in config.h.Aurélien Aptel2010-08-191-1/+8
|
* applied Devin J Pohly's st color info patches, thanks Devin!Anselm R Garbe2010-07-241-6/+6
|
* backport of local changesAnselm R Garbe2009-05-101-0/+54