X-Recipient: archive-cygwin@delorie.com X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_HOSTKARMA_NO,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org To: cygwin@cygwin.com From: Andrew DeFaria Subject: Backspace Date: Wed, 20 Jun 2012 08:35:32 -0700 Lines: 14 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120426 Thunderbird/13.0 X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.com Have you ever had the backspace key not go backward on character erasing the previous character in Windows programs? Neither have I. This has been bothering me for a while so... I have properly set stty erase ^h and from the bash command line backspace works as expected. But I often find places where this setting is not honored. I have an example. If I type less and at the less prompt I type "/' to find a string, but then make a mistake and hit backspace I get ^? instead. But ^h works. Why? Even the man page for less says that backspace is supposed to delete the character to the left of the cursor but instead I just get ^?. -- Andrew DeFaria Courage is knowing what not to fear. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple