Change Pause to Break in shortcut for serial break

This commit is contained in:
Roberto E. Vargas Caballero 2015-09-08 17:00:20 +02:00
parent 3ba9c8fc3f
commit a1ed5071e5
2 changed files with 5 additions and 3 deletions

View File

@ -143,7 +143,7 @@ static Mousekey mshortcuts[] = {
static Shortcut shortcuts[] = { static Shortcut shortcuts[] = {
/* mask keysym function argument */ /* 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} }, { ControlMask, XK_Print, toggleprinter, {.i = 0} },
{ ShiftMask, XK_Print, printscreen, {.i = 0} }, { ShiftMask, XK_Print, printscreen, {.i = 0} },
{ XK_ANY_MOD, XK_Print, printsel, {.i = 0} }, { XK_ANY_MOD, XK_Print, printsel, {.i = 0} },

6
st.1
View File

@ -122,8 +122,10 @@ and all the remaining arguments are used as a command
even without it. even without it.
.SH SHORTCUTS .SH SHORTCUTS
.TP .TP
.B Pause .B Break
Send a break in the serial line Send a break in the serial line.
Break key is obtained in PC keyboards
pressing at the same time control and pause.
.TP .TP
.B Ctrl-Print Screen .B Ctrl-Print Screen
Toggle if st should print to the Toggle if st should print to the