delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/06/20/11:36:24

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com
From: Andrew DeFaria <Andrew AT DeFaria DOT com>
Subject: Backspace
Date: Wed, 20 Jun 2012 08:35:32 -0700
Lines: 14
Message-ID: <jrsqk5$n02$1@dough.gmane.org>
Mime-Version: 1.0
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 AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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 <filename> 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 <http://defaria.com>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019