[hackers] [st] Change Pause to Break in shortcut for serial break || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Tue, 8 Sep 2015 17:03:13 +0200 (CEST)

commit a1ed5071e54e4f8ce765c07d5415da7d8cedf618
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Tue Sep 8 17:00:20 2015 +0200
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Tue Sep 8 17:02:15 2015 +0200

    Change Pause to Break in shortcut for serial break

diff --git a/config.def.h b/config.def.h
index c7ce3b4..52bf3a4 100644
--- a/config.def.h
+++ b/config.def.h
_AT_@ -143,7 +143,7 @@ static Mousekey mshortcuts[] = {
 
 static Shortcut shortcuts[] = {
         /* mask keysym function argument */
- { XK_NO_MOD, XK_Pause, sendbreak, {.i = 0} },
+ { XK_ANY_MOD, XK_Break, sendbreak, {.i = 0} },
         { ControlMask, XK_Print, toggleprinter, {.i = 0} },
         { ShiftMask, XK_Print, printscreen, {.i = 0} },
         { XK_ANY_MOD, XK_Print, printsel, {.i = 0} },
diff --git a/st.1 b/st.1
index f2f3f0e..187a734 100644
--- a/st.1
+++ b/st.1
_AT_@ -122,8 +122,10 @@ and all the remaining arguments are used as a command
 even without it.
 .SH SHORTCUTS
 .TP
-.B Pause
-Send a break in the serial line
+.B Break
+Send a break in the serial line.
+Break key is obtained in PC keyboards
+pressing at the same time control and pause.
 .TP
 .B Ctrl-Print Screen
 Toggle if st should print to the
Received on Tue Sep 08 2015 - 17:03:13 CEST

This archive was generated by hypermail 2.3.0 : Tue Sep 08 2015 - 17:12:11 CEST