Re: [hackers] [st] Remove ^E and ^Y

2020-05-16 Thread Jochen Sprickerhof
Applied, thx. I think one way forward would be: http://st.suckless.org/patches/fix_keyboard_input/ Cheers Jochen * k0ga [2020-05-16 10:46]: Sorry, this patch is for scroll, no for st. On Sat, May 16, 2020 at 09:57:28AM +, Roberto E. Vargas wrote: ^E and ^Y are characters reserved by P

[hackers] [scroll] handle carriage0-return correctly || Jan Klemkow

2020-05-16 Thread git
commit f0e76e5f8c92a00075002087396a37ee94901d34 Author: Jan Klemkow AuthorDate: Sat May 16 23:09:11 2020 +0200 Commit: Jan Klemkow CommitDate: Sat May 16 23:10:14 2020 +0200 handle carriage0-return correctly diff --git a/scroll.c b/scroll.c index 6cb192a..2361046 100644 --- a/scroll

[hackers] [scroll] Remove ^E and ^Y || Roberto E. Vargas

2020-05-16 Thread git
commit 9ff6fdb25513e49abbe3750668b8ee6903326f15 Author: Roberto E. Vargas AuthorDate: Sat May 16 09:57:28 2020 + Commit: Jochen Sprickerhof CommitDate: Sat May 16 23:07:21 2020 +0200 Remove ^E and ^Y ^E and ^Y are characters reserved by POSIX shell in emacs editing m

[hackers] [st] Revert "support REP (repeat) escape sequence" || Hiltjo Posthuma

2020-05-16 Thread git
commit 475a0a36cb4fda1da30f014da65988e99b222876 Author: Hiltjo Posthuma AuthorDate: Sat May 16 18:06:42 2020 +0200 Commit: Hiltjo Posthuma CommitDate: Sat May 16 21:06:13 2020 +0200 Revert "support REP (repeat) escape sequence" This reverts commit e8392b282c2eaa28725241a9612

[hackers] [st] Add rin terminfo capability || Roberto E. Vargas

2020-05-16 Thread git
commit f8afebdfa0cc9a57b22c39c47e9b585f69453eb7 Author: Roberto E. Vargas AuthorDate: Sat May 16 10:42:51 2020 + Commit: Hiltjo Posthuma CommitDate: Sat May 16 14:07:31 2020 +0200 Add rin terminfo capability Tianlin Qu discovered that st is missing rin (scroll back #1 li

[hackers] [st] support REP (repeat) escape sequence || Avi Halachmi (:avih)

2020-05-16 Thread git
commit e8392b282c2eaa28725241a9612804fb55113da4 Author: Avi Halachmi (:avih) AuthorDate: Thu May 14 18:18:07 2020 +0300 Commit: Hiltjo Posthuma CommitDate: Sat May 16 14:08:10 2020 +0200 support REP (repeat) escape sequence The sequence \e[Nb prints the last printed char N (

[hackers] [st] Make shift+wheel behaves as shift+Prev/Next || k0ga

2020-05-16 Thread git
commit bda9c9ffa645ee5e4b2507474ebfa1c5efb889b2 Author: k0ga AuthorDate: Sat May 16 09:48:18 2020 + Commit: Hiltjo Posthuma CommitDate: Sat May 16 12:37:14 2020 +0200 Make shift+wheel behaves as shift+Prev/Next St uses a very good hack where mouse wheel genereates ^Y and

Re: [hackers] [st] Remove ^E and ^Y

2020-05-16 Thread k0ga
Sorry, this patch is for scroll, no for st. On Sat, May 16, 2020 at 09:57:28AM +, Roberto E. Vargas wrote: > ^E and ^Y are characters reserved by POSIX shell in emacs > editing mode for "control of line" and "yank". St is generating > ^E and ^Y as a hack because vi and less uses them for scro

[hackers] [st] Add rin terminfo capability

2020-05-16 Thread Roberto E. Vargas
Tianlin Qu discovered that st is missing rin (scroll back #1 lines). --- st.info | 1 + 1 file changed, 1 insertion(+) diff --git a/st.info b/st.info index e2abc98..08139e5 100644 --- a/st.info +++ b/st.info @@ -158,6 +158,7 @@ st-mono| simpleterm monocolor, rc=\E8, rev=\E[7m,

[hackers] [st] Remove ^E and ^Y

2020-05-16 Thread Roberto E. Vargas
^E and ^Y are characters reserved by POSIX shell in emacs editing mode for "control of line" and "yank". St is generating ^E and ^Y as a hack because vi and less uses them for scroll backward/forward. being the only terminal emulator where mouse wheel can be used with them. A new patch was sent to

[hackers] [st] Make shift+wheel behaves as shift+Prev/Next

2020-05-16 Thread k0ga
St uses a very good hack where mouse wheel genereates ^Y and ^E, that are the same keys that less and vi uses for backward and fordward scrolling. Scroll, as many terminal emulators, use shift+Prev/Next for scrolling, but it is also using ^E and ^Y for scroling, characters that are reserved in the