This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
stty erase
- From: "Andrey V. Lukyanov" <land at long dot yar dot ru>
- To: cygwin at cygwin dot com
- Date: Fri, 28 Nov 2003 18:50:27 +0300 (MSK)
- Subject: stty erase
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/