-----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 [EMAIL PROTECTED] 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/