Browse Source

Change Pause to Break in shortcut for serial break

master
Roberto E. Vargas Caballero 9 years ago
parent
commit
a1ed5071e5
2 changed files with 5 additions and 3 deletions
  1. +1
    -1
      config.def.h
  2. +4
    -2
      st.1

+ 1
- 1
config.def.h 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} },


+ 4
- 2
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
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 .TP
.B Ctrl-Print Screen .B Ctrl-Print Screen
Toggle if st should print to the Toggle if st should print to the


Loading…
Cancel
Save