zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: Zsh hackers list <zsh-workers@zsh.org>
Subject: Re: PATCH: real-time signals support
Date: Tue, 27 Feb 2024 18:17:34 -0800	[thread overview]
Message-ID: <CAH+w=7bB_xNkb9OjQqnv5bc+2D9V=gvoiYk+QXVFZohfnzX7qg@mail.gmail.com> (raw)
In-Reply-To: <26831-1709077874.602561@9bQW.VzDm.Uqrt>

On Tue, Feb 27, 2024 at 3:51 PM Oliver Kiddle <opk@zsh.org> wrote:
>
> Bart Schaefer wrote:
> > The main reason is for terminals narrower than 80-ish columns; wider ones, meh.
>
> How about limiting it to a maximum of six columns like so?

Works for me.

> Without the isatty(1) test it can still be piped in column form or you
> can use COLUMNS=1 to force single-column output.

Dandy.

> > Negative signals translate into the absolute value sent to the process
> > group leader, right?
>
> Isn't that negative pids?

Oh, yes, of course.  I suspect a negative signal number would just
produce an EINVAL error.


      reply	other threads:[~2024-02-28  2:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-24 22:01 Oliver Kiddle
2024-02-25 22:44 ` Bart Schaefer
2024-02-27 19:25   ` Oliver Kiddle
2024-02-27 21:12     ` Bart Schaefer
2024-02-27 23:51       ` Oliver Kiddle
2024-02-28  2:17         ` Bart Schaefer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAH+w=7bB_xNkb9OjQqnv5bc+2D9V=gvoiYk+QXVFZohfnzX7qg@mail.gmail.com' \
    --to=schaefer@brasslantern.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).