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 49696
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Cc: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: PATCH: Allow using STTY= to save terminal state
- Date: Wed, 19 Jan 2022 00:17:10 +0100
- Archived-at: <https://zsh.org/workers/49696>
- In-reply-to: <CAH+w=7ZMm7PHmB551JNWWYbruah9LKpdmfiwzfrEGJ5M+U0Q3g@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <20220118222414.2507-1-mikachu@gmail.com> <CAH+w=7ZMm7PHmB551JNWWYbruah9LKpdmfiwzfrEGJ5M+U0Q3g@mail.gmail.com>
On 1/18/22, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> On Tue, Jan 18, 2022 at 2:25 PM Mikael Magnusson <mikachu@xxxxxxxxx> wrote:
>>
>> A person in IRC had issues with a command (fastlane) changing some random
>> stty settings [...]
>> it would be nice to be able to do this without having to specify a random
>> stty setting to actually change when starting the command
>
> Umm, isn't this what "ttyctl -f" is for? What have I missed?
I remembered about STTY= existing, and its documentation does not
reference ttyctl (in fact nothing references ttyctl except for the
ttyctl entry). That said, running ttyctl -f and ttyctl -u around a
command is a bit more work than simply prepending STTY= (which
currently just causes the stty help text to be printed, which doesn't
seem very useful).
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author