st

simple terminal

git clone https://9o.is/git/st.git

commit 9b02b12863f7e8824d4335c4d96a1b66b4549f45
parent b7fe49a5f55996d9c21db3ee81510cc2f60ea845
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Tue,  8 Sep 2015 17:00:20 +0200

Change Pause to Break in shortcut for serial break

Diffstat:
Mconfig.def.h | 2+-
Mst.1 | 6++++--
2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/config.def.h b/config.def.h @@ -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 @@ -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