Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: problems with 'rm -i'
- X-seq: zsh-users 625
- From: Zefram <zefram@xxxxxxxxxxxxxxxxx>
- To: mito@xxxxxxxxxxx
- Subject: Re: problems with 'rm -i'
- Date: Mon, 27 Jan 1997 14:17:34 +0000 (GMT)
- Cc: zsh-users@xxxxxxxxxxxxxxx
- In-reply-to: <Mutt.19970127043947.mito@xxxxxxxxxxxx> from "Louis-David Mitterrand" at Jan 27, 97 04:39:47 am
- Sender: zefram@xxxxxxxxxxxxxxxxx
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author