delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/01/28/19:49:30

X-Spam-Check-By: sourceware.org
Message-ID: <43DC1112.9020302@byu.net>
Date: Sat, 28 Jan 2006 17:49:22 -0700
From: Eric Blake <ebb9 AT byu DOT net>
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
MIME-Version: 1.0
To: Angelo Graziosi <Angelo DOT Graziosi AT roma1 DOT infn DOT it>
CC: cygwin AT cygwin DOT com
Subject: Re: Regression with base-files-3.7-1 ?
References: <Pine DOT OSF DOT 4 DOT 21 DOT 0601281610210 DOT 12413-100000 AT ax0rm1 DOT roma1 DOT infn DOT it>
In-Reply-To: <Pine.OSF.4.21.0601281610210.12413-100000@ax0rm1.roma1.infn.it>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Angelo Graziosi on 1/28/2006 8:28 AM:
> 
>    rm -i foo.txt <return>
>    
>    rm: remove regular file `foo.txt'? y <backspace> n <return>
> 
> 
> With <backspace> the cursor should remove 'y' at which place should
> appears 'n'.

Sounds like an stty setting mismatch to me.  If your backspace is not
mapped to the terminals' erase, then rm sees the three-character literal
string "y\177n" rather than the one-character string "n".  POSIX requires
that rm must parse a leading "y" in the response as yes, even if followed
by a backspace leaked through by improper terminal settings.

At any rate, I'm glad that you seemed to resolve it, according to your
followup message.

- --
Life is short - so eat dessert first!

Eric Blake             ebb9 AT byu DOT net
volunteer cygwin coreutils maintainer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFD3BES84KuGfSFAYARApyLAJ0Sd9/6R0Q6TB/DKvMR7j2ipW45EQCePUci
DAPkUKhG1eyEuHXyLn3t+2Y=
=esTN
-----END PGP SIGNATURE-----

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019