From: "Daniel Shahaf" <d.s@daniel.shahaf.name>
To: zsh-workers@zsh.org
Subject: Re: PATCH: Allow using STTY= to save terminal state
Date: Fri, 21 Jan 2022 07:11:41 +0000 [thread overview]
Message-ID: <7014d4e4-8918-499e-9051-e6a369d1f158@www.fastmail.com> (raw)
In-Reply-To: <8c7427479b727e50e3ca6167b818ef0153be15e6.camel@ntlworld.com>
Peter Stephenson wrote on Wed, 19 Jan 2022 20:08 +00:00:
> 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@daniel.shahaf.name> 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.
Fair enough.
As to "adds keywords in ambiguous contexts": I haven't proposed any
particular syntax; I only described functionality.
next prev parent reply other threads:[~2022-01-21 7:12 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-18 22:24 Mikael Magnusson
2022-01-18 22:27 ` Bart Schaefer
2022-01-18 23:17 ` Mikael Magnusson
2022-01-19 1:10 ` Bart Schaefer
2022-01-19 14:06 ` Daniel Shahaf
2022-01-19 17:29 ` Bart Schaefer
2022-01-19 20:08 ` Peter Stephenson
2022-01-21 7:11 ` Daniel Shahaf [this message]
2022-01-22 22:44 ` Bart Schaefer
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=7014d4e4-8918-499e-9051-e6a369d1f158@www.fastmail.com \
--to=d.s@daniel.shahaf.name \
--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).