zsh-users
 help / color / mirror / code / Atom feed
From: Zefram <zefram@dcs.warwick.ac.uk>
To: mito@SPRYNet.COM
Cc: zsh-users@math.gatech.edu
Subject: Re: problems with 'rm -i'
Date: Mon, 27 Jan 1997 14:17:34 +0000 (GMT)	[thread overview]
Message-ID: <1192.199701271737@stone.dcs.warwick.ac.uk> (raw)
In-Reply-To: <Mutt.19970127043947.mito@retriever.qc> from "Louis-David Mitterrand" at Jan 27, 97 04:39:47 am

Louis-David Mitterrand wrote:
>Using Debian 1.2, zsh 3.0.2 in an rxvt I've got a strange problem: after
>a while the 'rm -i' (actually it's 'rm' since it is aliased to 'rm -i')
>stops working... That is: it dosen't even prompt me for confirmation of
>removal and dosen't remove anything. 'rm -f' still works though. If I
>restart the terminal it works again for a while. Strange...
>
>I suspect it might be terminal thing because sometimes the removal
>confirmations prompts are printed when I hit <return> but I can't answer
>them, I am put directly at the next shell prompt.

Is it possible that you are executing a shell command that loses the
original stdin?  Something like

exec < /dev/null

would have the effects you describe.  You would still be able to enter
shell commands normally, as zsh reads directly from the terminal,
without using stdin.

-zefram


      reply	other threads:[~1997-01-27 18:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-01-27  4:39 Louis-David Mitterrand
1997-01-27 14:17 ` Zefram [this message]

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=1192.199701271737@stone.dcs.warwick.ac.uk \
    --to=zefram@dcs.warwick.ac.uk \
    --cc=mito@SPRYNet.COM \
    --cc=zsh-users@math.gatech.edu \
    /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).