From: Tanaka Akira <akr@jaist.ac.jp>
To: zsh-workers@sunsite.auc.dk
Subject: Re: forwarded bug report
Date: 04 Jun 1999 22:15:34 +0900 [thread overview]
Message-ID: <rsq1zfsds3t.fsf@crane.jaist.ac.jp> (raw)
In-Reply-To: Peter Stephenson's message of "Fri, 04 Jun 1999 11:40:04 +0200"
In article <9906040940.AA31818@ibmth.df.unipi.it>,
Peter Stephenson <pws@ibmth.df.unipi.it> writes:
> I suppose closing it is better than redirecting it from /dev/null, since
> then you get an error message which will warn the user that something
> happened which shouldn't have --- although a bit cryptic: cat gives me
> cat: cannot stat
> Are there cases where this is bad?
I think also that closing stdin is right behavior to show that reading
from stdin is an error in completion. But it is bit more riskey than
redirecting stdin from /dev/null.
At least, on SunOS 4.1.4, following command produces strange result.
(some-file is opend as file descriptor 0 and comm confuses.)
comm some-file - <&-
However, intentional read from stdin like above may not appear in
copmletion.
--
Tanaka Akira
next prev parent reply other threads:[~1999-06-04 13:15 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-06-04 9:54 Sven Wischnowsky
1999-06-04 9:40 ` Peter Stephenson
1999-06-04 13:15 ` Tanaka Akira [this message]
1999-06-04 10:33 ` Bart Schaefer
-- strict thread matches above, loose matches on Subject: below --
1999-05-31 13:12 Sven Wischnowsky
1999-05-31 13:05 ` Peter Stephenson
1999-05-31 13:42 ` Andrej Borsenkow
1999-05-31 14:38 ` Tanaka Akira
1999-05-31 18:33 ` Bart Schaefer
1999-05-31 11:40 Peter Stephenson
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=rsq1zfsds3t.fsf@crane.jaist.ac.jp \
--to=akr@jaist.ac.jp \
--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).