I have just installed Cygwin on Windows XP.

Immediately I noticed the wrong behavior of the backspace key.

As it proved, it was caused by the fact that terminfo for cygwin defined

        kbs=^H

whereas /etc/profile had the line

        stty erase '^?'

I think it would be better to put this line in /etc/profile instead:

        stty erase `tput kbs`

Then the erase character will always match the backspace key ("kbs") in
current terminal description.






Regards


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

Reply via email to