diff options
author | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2015-09-08 17:00:20 +0200 |
---|---|---|
committer | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2015-09-08 17:02:15 +0200 |
commit | a1ed5071e54e4f8ce765c07d5415da7d8cedf618 (patch) | |
tree | 2900e278da4881eccfef8c7cd226e4a48d98c4b6 | |
parent | 3ba9c8fc3f547a5762b3d4a6a16cc794446d76a3 (diff) | |
download | st-patched-a1ed5071e54e4f8ce765c07d5415da7d8cedf618.tar.bz2 st-patched-a1ed5071e54e4f8ce765c07d5415da7d8cedf618.tar.xz st-patched-a1ed5071e54e4f8ce765c07d5415da7d8cedf618.zip |
Change Pause to Break in shortcut for serial break
-rw-r--r-- | config.def.h | 2 | ||||
-rw-r--r-- | st.1 | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/config.def.h b/config.def.h index c7ce3b4..52bf3a4 100644 --- a/config.def.h +++ b/config.def.h | |||
@@ -143,7 +143,7 @@ static Mousekey mshortcuts[] = { | |||
143 | 143 | ||
144 | static Shortcut shortcuts[] = { | 144 | static Shortcut shortcuts[] = { |
145 | /* mask keysym function argument */ | 145 | /* mask keysym function argument */ |
146 | { XK_NO_MOD, XK_Pause, sendbreak, {.i = 0} }, | 146 | { XK_ANY_MOD, XK_Break, sendbreak, {.i = 0} }, |
147 | { ControlMask, XK_Print, toggleprinter, {.i = 0} }, | 147 | { ControlMask, XK_Print, toggleprinter, {.i = 0} }, |
148 | { ShiftMask, XK_Print, printscreen, {.i = 0} }, | 148 | { ShiftMask, XK_Print, printscreen, {.i = 0} }, |
149 | { XK_ANY_MOD, XK_Print, printsel, {.i = 0} }, | 149 | { XK_ANY_MOD, XK_Print, printsel, {.i = 0} }, |
@@ -122,8 +122,10 @@ and all the remaining arguments are used as a command | |||
122 | even without it. | 122 | even without it. |
123 | .SH SHORTCUTS | 123 | .SH SHORTCUTS |
124 | .TP | 124 | .TP |
125 | .B Pause | 125 | .B Break |
126 | Send a break in the serial line | 126 | Send a break in the serial line. |
127 | Break key is obtained in PC keyboards | ||
128 | pressing at the same time control and pause. | ||
127 | .TP | 129 | .TP |
128 | .B Ctrl-Print Screen | 130 | .B Ctrl-Print Screen |
129 | Toggle if st should print to the | 131 | Toggle if st should print to the |