Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: Allow using STTY= to save terminal state
- X-seq: zsh-workers 49700
- From: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: PATCH: Allow using STTY= to save terminal state
- Date: Wed, 19 Jan 2022 20:08:52 +0000
- Archived-at: <https://zsh.org/workers/49700>
- In-reply-to: <CAH+w=7bib3OFt9DFT3zgWxVQSYQeKkXe7dbTA6wrm3p_cBYExQ@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <20220118222414.2507-1-mikachu@gmail.com> <CAH+w=7ZMm7PHmB551JNWWYbruah9LKpdmfiwzfrEGJ5M+U0Q3g@mail.gmail.com> <CAHYJk3ThwU2VmRgySUBH3YxAi-cOjAXrhNVXZJxox70vRF7eXA@mail.gmail.com> <20220119140617.GC4371@tarpaulin.shahaf.local2> <CAH+w=7bib3OFt9DFT3zgWxVQSYQeKkXe7dbTA6wrm3p_cBYExQ@mail.gmail.com>
On Wed, 2022-01-19 at 09:29 -0800, Bart Schaefer wrote:
> On Wed, Jan 19, 2022 at 6:07 AM Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx> wrote:
> >
> > So perhaps we need some syntactic sugar for "wrap a command with
> > a well-known pair of before/after modifiers".
>
> Not every problem deserves a generalized solution. This sort of thing
> can already be done with function wrappers, wanders pretty far afield
> from shell syntax, and adds keywords in ambiguous contexts.
Yes, I think Mikael's tiny change would be a good addition.
The STTY parameter is not something crying out for generalisation.
pws
Messages sorted by:
Reverse Date,
Date,
Thread,
Author