stty erase

Andrey V. Lukyanov land@long.yar.ru
Fri Nov 28 19:56:00 GMT 2003


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/



More information about the Cygwin mailing list