Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Sat, 7 May 2005 17:52:10 +0200 (MET DST) From: Angelo Graziosi To: cygwin AT cygwin DOT com, corinna-cygwin AT cygwin DOT com Subject: Strange-Dangerous behaviour in Cygwin Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-AntiVirus: checked by Vexira Milter 1.0.6; VAE 6.30.0.2; VDF 6.30.0.161 After upgrading some packages (tetex-3.0.0-3.tar.bz2, man-1.5p-1.tar.bz, doxygen-1.4.2_20050421-1.tar.bz2, yesterday 06 May 2005 and subversion-1.1.4-1.tar.bz2, subversion-devel-1.1.4-1.tar.bz2, _update-info-dir-00232-1.tar.bz2, tzcode-2005h-1.tar.bz2, xemacs-21.4.17-1.tar.bz2, xemacs-tags, xemacs-emacs-common some days before) I discovered the following strange behaviour in bash and xterm (startxwin) shells: Suppose having alias rm='rm -i' alias cp='cp -i -p' alias mv='mv -i' then rm foo.txt writes rm: remove regular file `foo.txt'? Suppose that I does not want to remove it but mistaking I type "y" rm: remove regular file `foo.txt'? y Before the RETURN, I see the error so I correct, with BACKSPACE, "y" in "n": BACKSPACE does not delete "y" as aspected but it only shifts the cursor on "y" and when I type "n" and then RETURN the file foo.txt is REMOVED! Not only BACKSPACE does not remove the previous character (when "rm" is asking to confirm) but I can move the cursor in the window with UP, DOWN, LEFT, RIGHT keys as in a editor!!! Also with "cp" and "mv" there is the same behaviour when these commands ask to confirm something. Trying in a DOS box with "del /P" all works as aspected, i.e. BACKSPACE deletes the previous character. These things happen as Admin. and as User. I am sure that until some days ago all worked fine (I often use rm foo* and then using y/n I select what to remove and what not, and often I make mistake but until now I have never lost importand files because I always have corrected). The system is W2K SP4+Cygwin 1.5.16-1 (only four packages I have not installed: gcc-test-suite,ghostscript native, regex, xwinclip) Thank angelo angelo DOT graziosi AT roma1 DOT infn DOT it -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/