]> git.armaanb.net Git - st.git/commitdiff
Change Pause to Break in shortcut for serial break
authorRoberto E. Vargas Caballero <k0ga@shike2.com>
Tue, 8 Sep 2015 15:00:20 +0000 (17:00 +0200)
committerRoberto E. Vargas Caballero <k0ga@shike2.com>
Tue, 8 Sep 2015 15:02:15 +0000 (17:02 +0200)
config.def.h
st.1

index c7ce3b4377654fe479f19502c6c50080db179c06..52bf3a46391df3d2c3fc96147cd663f925e02c7e 100644 (file)
@@ -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 f2f3f0e57733014fffce357013f83c3936805f4d..187a7349c83e5daf3fa55ad2c6a2e232bdd2b127 100644 (file)
--- a/st.1
+++ b/st.1
@@ -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