From: Bart Schaefer <schaefer@brasslantern.com>
To: Ronan Pigott <ronan@rjp.ie>
Cc: zsh-workers@zsh.org
Subject: Re: STTY fails to reset ICRNL / INLCR
Date: Thu, 18 Apr 2024 19:46:37 -0700 [thread overview]
Message-ID: <CAH+w=7aHJTXe5w9vy3omRAJHkF3kMzZyQ+oqgOZ8Fc6jwxR5ow@mail.gmail.com> (raw)
In-Reply-To: <091559e4c5b5cc57f90f7ae21f2c6342502f0f74@rjp.ie>
[-- Attachment #1: Type: text/plain, Size: 748 bytes --]
On Wed, Apr 17, 2024 at 10:13 PM Ronan Pigott <ronan@rjp.ie> wrote:
>
> $ zsh --version
> zsh 5.9 (x86_64-pc-linux-gnu)
> $ uname -r
> 6.8.7-arch1-1
>
I can't reproduce with the current git master.
% echo $ZSH_PATCHLEVEL
zsh-5.9-437-ga66e929
% uname -vr
5.15.0-102-generic #112~20.04.1-Ubuntu SMP Thu Mar 14 14:28:24 UTC 2024
% xxd -ps -l3
0a
0a
0a
% STTY={-icanon,-echo} xxd -ps -l3
0a0a0a
% STTY={-icanon,-echo,icrnl,inlcr} xxd -ps -l3
0d0a0a
% STTY={-icanon,-echo} xxd -ps -l3
0a0a0a
%
The only way I can something similar happen is by running the last two xxd
commands without allowing a prompt to be printed in between. Zsh only
resets the terminal at each new prompt, not at every command exit.
[-- Attachment #2: Type: text/html, Size: 1108 bytes --]
next prev parent reply other threads:[~2024-04-19 2:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-18 5:13 Ronan Pigott
2024-04-19 2:46 ` Bart Schaefer [this message]
2024-04-19 2:53 ` Ronan Pigott
2024-04-19 20:14 ` Ronan Pigott
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=7aHJTXe5w9vy3omRAJHkF3kMzZyQ+oqgOZ8Fc6jwxR5ow@mail.gmail.com' \
--to=schaefer@brasslantern.com \
--cc=ronan@rjp.ie \
--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).