[Toybox] CTRL-T in freebsd shell...

Rob Landley rob at landley.net
Sun May 19 12:37:20 PDT 2019


On 5/19/19 11:36 AM, Robert Thompson wrote:
> When you need CTRL-\, you *really* need it...

I haven't had CTRL-\ do anything ctrl-C doesn't this decade, but I'll take your
word for it.

I think this would need to be implemented in the kernel. The tcsetattr page says:

       VSTATUS
              (not in POSIX; not supported under Linux; status  request:  024,
              DC4, Ctrl-T).  Status character (STATUS).  Display status infor‐
              mation at terminal, including state of  foreground  process  and
              amount of CPU time it has consumed.  Also sends a SIGINFO signal
              (not supported on Linux) to the foreground process group.

But the "not implemented" part is kind of a downer. Three's no SIGINFO in
asm-generic/signal.h and they've used all 32 bits (for crazy things like SIGXFSZ
which for some reason isn't the same as -ENOSPC?)

*shrug* I got asked, thought I'd look into it...

Rob



More information about the Toybox mailing list