From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: Re: 3.1.7-pre-2
Date: Tue, 2 May 2000 13:45:39 +0200 (MET DST) [thread overview]
Message-ID: <200005021145.NAA02660@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: "Bart Schaefer"'s message of Mon, 1 May 2000 02:52:27 +0000
Bart Schaefer wrote:
> On Apr 30, 4:45pm, Bart Schaefer wrote:
> } Subject: Re: 3.1.7-pre-1 for the workers
> }
> } I have a couple of issues that came up after the prerelease to resolve.
> }
> } The "read -q" bug that Sven patched in 10727.
>
> So ... 10727 makes this work:
>
> zsh -c "read -q '?Can you see this? '" < /dev/null
>
> But the following still sends the prompt to the redirected stderr, which
> seems wrong to me:
>
> zsh -c "read -q '?Can you see this? '" < /dev/null >& /dev/null
>
> The goal is to read from the tty only after also prompting there. Patch
> follows for consideration; I have not committed it, pending commentary.
> The first hunk is the interesting one: It seems to me there's never any
> longer a reason to send the prompt to stderr, but I may be missing some
> case where ZLE is active and yet SHTTY == -1. (?)
Actually, I was tempted to do the same when I sent the patch, then
tried to act minimally invasive or something like that -- and couldn't
think of the example you gave.
> The other two hunks just avoid a redundant close().
Oops. If you commit the patch... there is similar code in bin_vared()
in zle_main.c. Implemented by the same idiot. Ahem.
Bye
Sven
--
Sven Wischnowsky wischnow@informatik.hu-berlin.de
next reply other threads:[~2000-05-02 11:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-05-02 11:45 Sven Wischnowsky [this message]
-- strict thread matches above, loose matches on Subject: below --
2000-04-26 18:43 3.1.7-pre-1 for the workers Peter Stephenson
2000-04-27 1:11 ` Oliver Kiddle
2000-04-27 9:23 ` Bart Schaefer
2000-04-28 15:51 ` Oliver Kiddle
2000-04-30 16:45 ` Bart Schaefer
2000-04-30 21:13 ` 3.1.7-pre-2 Peter Stephenson
2000-05-01 2:52 ` 3.1.7-pre-2 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=200005021145.NAA02660@beta.informatik.hu-berlin.de \
--to=wischnow@informatik.hu-berlin.de \
--cc=zsh-workers@sunsite.auc.dk \
/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).