Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Fri, 28 Nov 2003 18:50:27 +0300 (MSK) From: "Andrey V. Lukyanov" To: cygwin AT cygwin DOT com Subject: stty erase Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-NETIS-MailScanner-Information: Please contact NETIS Telecom for more information (+7 0852 797709) X-NETIS-MailScanner: Found to be clean X-NETIS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-2.2, required 5, AWL 0.00, BAYES_20 -2.60, USER_AGENT_PINE 0.00) Note-from-DJ: This may be spam 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/