fe3fb82d29Applying the patch of mar771 right.
Christoph Lohmann
2012-12-10 15:02:32 +01:00
fdce8bba1aApplying the change of the Del key assingment. Thanks Martti Kühne!
Christoph Lohmann
2012-12-09 21:39:02 +01:00
2548bb0fa9Add support for End key - Shift + End : Delete until end of line. - Control + End : Delete until end of screen.
Roberto E. Vargas Caballero
2012-11-25 22:13:29 +01:00
d5994b43caAdd support for End key
Roberto E. Vargas Caballero
2012-11-25 22:13:29 +01:00
db6bdddc29Add support for Supr key Del : Delete character under cursor. Shift + Del : Delete the line under cursor. Ctrl + Del: Delete the full screen. --- config.def.h | 16 ++++++++++++---- st.info | 2 ++ 2 files changed, 14 insertions(+), 4 deletions(-)
Roberto E. Vargas Caballero
2012-11-25 22:13:24 +01:00
7c34ff1703Add support for Supr key
Roberto E. Vargas Caballero
2012-11-25 22:13:24 +01:00
4dc8c57dc6Add support for insert key Insert key stands for a key which allows enter or leaves insert mode, so let it generates the correct sequence to change between these modes:
Roberto E. Vargas Caballero
2012-11-25 22:13:19 +01:00
3c99be68e8Add support for insert key
Roberto E. Vargas Caballero
2012-11-25 22:13:19 +01:00
948d0d3ed6Fix value of ka1 terminfo capability ka1 stands for upper left of keypad, so the correct value is the one generated by Home in application keypad mode. --- st.info | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Roberto E. Vargas Caballero
2012-11-25 22:13:13 +01:00
e7904128c6Fix value of ka1 terminfo capability
Roberto E. Vargas Caballero
2012-11-25 22:13:13 +01:00
7b0f539f16Add a notice in the config.def.h file how to obtain the syntax for xft/fontcache.
Christoph Lohmann
2012-11-25 15:59:16 +01:00
61b20f4bc1Add a notice in the config.def.h file how to obtain the syntax for
Christoph Lohmann
2012-11-25 15:59:16 +01:00
c0664ce6e2The style inquisition was here.
Christoph Lohmann
2012-11-25 09:23:34 +01:00
373a8f5628The style inquisition was here.
Christoph Lohmann
2012-11-25 09:23:34 +01:00
6c3792bc08Add key for toogling numlock handling Keypad will generate keycodes when keypad application mode is enabled. It can cause problems with some programs like vi, which operates in such mode.
Roberto E. Vargas Caballero
2012-11-25 09:23:02 +01:00
172f65436cAdd key for toogling numlock handling
Roberto E. Vargas Caballero
2012-11-25 09:23:02 +01:00
3e8ac4642cFixing the calculation of the base tty pixel size.
Christoph Lohmann
2012-11-21 20:38:15 +01:00
b26df1d0d3Fixing the calculation of the base tty pixel size.
Christoph Lohmann
2012-11-21 20:38:15 +01:00
d5ce1d8267Restoring the Alt + Backspace functionality. Thanks Brandon Invergo!
Christoph Lohmann
2012-11-19 17:22:32 +01:00
cf04354e06Restoring the Alt + Backspace functionality. Thanks Brandon Invergo!
Christoph Lohmann
2012-11-19 17:22:32 +01:00
3af3fa75e6Add application cursor sequences for Home The commit 'Fixing some key issues with mc' fix the problem where mc didn't recognize home key because the generated code and the terminfo entry were different (terminfo khome = \E[1~ but generates \033[H).
Roberto E. Vargas Caballero
2012-11-16 11:32:17 +01:00
55087ec2c7Add application cursor sequences for Home
Roberto E. Vargas Caballero
2012-11-16 11:32:17 +01:00
73f1c46926Fixing some key issues with mc. Thanks nsz!
Christoph Lohmann
2012-11-16 05:43:00 +01:00
1cbe56026bFixing some key issues with mc. Thanks nsz!
Christoph Lohmann
2012-11-16 05:43:00 +01:00
1eb03cdc28Getbuttoninfo is always used the same and just a helper function. Shrinking it a bit. Thanks nsz!
Christoph Lohmann
2012-11-15 21:42:58 +01:00
440a19a662Getbuttoninfo is always used the same and just a helper function. Shrinking it
Christoph Lohmann
2012-11-15 21:42:58 +01:00
0df350cd0bRemove unused fields in cursor_movement
Roberto E. Vargas Caballero
2012-11-15 20:57:33 +01:00
861c18f5bcRemoving my debug fprintf().
Christoph Lohmann
2012-11-15 20:25:16 +01:00
1cea02be8dRemoving my debug fprintf().
Christoph Lohmann
2012-11-15 20:25:16 +01:00
1ab9dcfd4bOptimizing the key lookup to the X11 function key. It is still possible to remap other keys.
Christoph Lohmann
2012-11-15 20:19:35 +01:00
2b6521f5d2Optimizing the key lookup to the X11 function key. It is still possible to
Christoph Lohmann
2012-11-15 20:19:35 +01:00
12541fda56Making all function keys accessible.
Christoph Lohmann
2012-11-15 20:03:18 +01:00
927d8fb459Making all function keys accessible.
Christoph Lohmann
2012-11-15 20:03:18 +01:00
75fca06968Adding support for XK_F35.
Christoph Lohmann
2012-11-15 20:00:46 +01:00
a29ab30f25Adding support for XK_F35.
Christoph Lohmann
2012-11-15 20:00:46 +01:00
62639e4b33Fix Shift + Insert shortcut This patch apply the same code for shortcuts that it is used now for defined keys. So it is possible use now XK_NO_MOD and XK_ANY_MOD for defining shortcuts. --- st.c | 35 ++++++++++++++++++++--------------- 1 file changed, 20 insertions(+), 15 deletions(-)
Roberto E. Vargas Caballero
2012-11-15 19:01:16 +01:00
abc2ba7abbChanging the TODO to the current state.
Christoph Lohmann
2012-11-15 16:36:48 +01:00
cc86d148cbChanging the TODO to the current state.
Christoph Lohmann
2012-11-15 16:36:48 +01:00
8a2e12bc8bFixing the return and keypad enter sent characters. Terminals produce \r. And some minor style changes.
Christoph Lohmann
2012-11-15 16:26:50 +01:00
d5640c7729Fixing the return and keypad enter sent characters. Terminals produce \r. And
Christoph Lohmann
2012-11-15 16:26:50 +01:00
6d5f5e0967Import the patch of Eckehard Berns to add insert mode. Thanks!
Christoph Lohmann
2012-11-15 16:21:23 +01:00
801ea034b6Import the patch of Eckehard Berns to add insert mode. Thanks!
Christoph Lohmann
2012-11-15 16:21:23 +01:00
9b35e8f544The crlf mode was reversed.
Christoph Lohmann
2012-11-15 15:57:01 +01:00
e87d21bb3dThe crlf mode was reversed.
Christoph Lohmann
2012-11-15 15:57:01 +01:00
6d608c98e5Fixing Return in non-crlf mode.
Christoph Lohmann
2012-11-15 15:54:34 +01:00
e7bb14e03eFixing Return in non-crlf mode.
Christoph Lohmann
2012-11-15 15:54:34 +01:00
c88ca5b743Use XK_ANY_MOD instead of XK_NO_MOD in key definition Usually terminal emulators don't generate any sequence for a combination they don't have registered, for example Shift + Next, but st behavior previous to the keyboard patch generates the sequence without the modifier, in this example Next. This patch uses the XK_ANY_MOD in order to get this same behaviour. --- config.def.h | 114 ++++++++++++++++++++++++++++++---------------------------- 1 file changed, 59 insertions(+), 55 deletions(-)
Roberto E. Vargas Caballero
2012-11-15 15:36:20 +01:00
4389f2eb1bUse XK_ANY_MOD instead of XK_NO_MOD in key definition
Roberto E. Vargas Caballero
2012-11-15 15:36:20 +01:00
d475b4b060Fix XK_NO_MOD and XK_ANY_MOD behavior XK_NO_MOD match a key without modifiers and XK_ANY_MOD match a key does not matter what modifiers are pressed to. Like they are mask the best value for XK_ANY_MOD is all the bits to 1, so the and with any state will be equal to the state. This also imply that is necessary check the case for XK_NO_MOD (no modifiers at all) with some modifier in state, and the inverse (some mask different to XK_ANY_MOD or XK_NO_MOD and no modifiers in state). --- st.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-)
Roberto E. Vargas Caballero
2012-11-15 15:36:13 +01:00
88bb76c1bcFix XK_NO_MOD and XK_ANY_MOD behavior
Roberto E. Vargas Caballero
2012-11-15 15:36:13 +01:00
bcbd832110Fix tab key When Shift + Tab is pressed X server send the event XK_ISO_Left_Tab with ShiftMask, so this is the entry we need in config.def.h
Roberto E. Vargas Caballero
2012-11-14 11:14:29 +01:00
16ccf344deFix tab key
Roberto E. Vargas Caballero
2012-11-14 11:14:29 +01:00
d244b4f3e7Fixing the tab key, when no mask is wanted.
Christoph Lohmann
2012-11-14 06:37:24 +01:00
461aac159cFixing the tab key, when no mask is wanted.
Christoph Lohmann
2012-11-14 06:37:24 +01:00