Re: [PATCH 0/7] TTY Keyboard Status Request

2019-06-12 Thread Pavel Machek
Hi! > > > If any of isig, icanon and iexten is disabled on the tty, the signal is > > > not sent. > > > > As expected. > > > > > Any application that wants to handle raw terminal input events itself, > > > e.g. vim, mutt, libreadline, anything ncurses-based, etc., has to turn > > > off the

Re: [PATCH 0/7] TTY Keyboard Status Request

2019-06-10 Thread Rob Landley
On 6/9/19 3:56 PM, Arseny Maslennikov wrote: > This is similar to SIGWINCH, which is default-ignored as well: if the > terminal width/height changes (like when a terminal emulator window is > resized), its foreground pgrp gets a surprise signal as well, and the > processes that don't care about

Re: [PATCH 0/7] TTY Keyboard Status Request

2019-06-10 Thread Rob Landley
On 6/5/19 3:18 AM, Arseny Maslennikov wrote: > This patch series introduces TTY keyboard status request, a feature of > the n_tty line discipline that reserves a character in struct termios > (^T by default) and reacts to it by printing a short informational line > to the terminal and sending a

Re: [PATCH 0/7] TTY Keyboard Status Request

2019-06-09 Thread Arseny Maslennikov
On Sun, Jun 09, 2019 at 09:51:32PM +0200, Pavel Machek wrote: > Hi! > > > > > This patch series introduces TTY keyboard status request, a feature of > > > > the n_tty line discipline that reserves a character in struct termios > > > > (^T by default) and reacts to it by printing a short

Re: [PATCH 0/7] TTY Keyboard Status Request

2019-06-09 Thread Pavel Machek
Hi! > > > This patch series introduces TTY keyboard status request, a feature of > > > the n_tty line discipline that reserves a character in struct termios > > > (^T by default) and reacts to it by printing a short informational line > > > to the terminal and sending a Unix signal to the tty's

Re: [PATCH 0/7] TTY Keyboard Status Request

2019-06-09 Thread Arseny Maslennikov
On Sun, Jun 09, 2019 at 07:41:39PM +0200, Pavel Machek wrote: > Hi! > > > This patch series introduces TTY keyboard status request, a feature of > > the n_tty line discipline that reserves a character in struct termios > > (^T by default) and reacts to it by printing a short informational line >

Re: [PATCH 0/7] TTY Keyboard Status Request

2019-06-09 Thread Pavel Machek
Hi! > This patch series introduces TTY keyboard status request, a feature of > the n_tty line discipline that reserves a character in struct termios > (^T by default) and reacts to it by printing a short informational line > to the terminal and sending a Unix signal to the tty's foreground >

[PATCH 0/7] TTY Keyboard Status Request

2019-06-05 Thread Arseny Maslennikov
This patch series introduces TTY keyboard status request, a feature of the n_tty line discipline that reserves a character in struct termios (^T by default) and reacts to it by printing a short informational line to the terminal and sending a Unix signal to the tty's foreground process group. The