This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]