Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: Allow using STTY= to save terminal state



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