delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/09/26/10:10:23

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=3.2 required=5.0 tests=BAYES_05,DKIM_ADSP_CUSTOM_MED,FORGED_YAHOO_RCVD,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RCVD_NUMERIC_HELO,SPF_HELO_PASS,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: MikeS <msndlr AT yahoo DOT com>
Subject: Re: cygwin : bash doesn't recognize BackSpace
Date: Sun, 26 Sep 2010 13:30:28 +0000 (UTC)
Lines: 37
Message-ID: <loom.20100926T152528-213@post.gmane.org>
References: <4BFE4DF6 DOT 4080302 AT yandex DOT ru> <4BFE5B77 DOT 9050005 AT gmail DOT com> <4BFE7881 DOT 4050306 AT yandex DOT ru> <20100527140301 DOT GC21583 AT ednor DOT casa DOT cgf DOT cx> <OFB3F5231E DOT AB378878-ON85257730 DOT 004DDAF1-85257730 DOT 004DEAD8 AT lnotes-gw DOT ent DOT nwie DOT net> <4BFE9CE8 DOT 2060504 AT cygwin DOT com>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
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

Larry Hall (Cygwin <reply-to-list-only-lh <at> cygwin.com> writes:

> 
> On 5/27/2010 10:11 AM, RISINGP1 <at> nationwide.com wrote:
> > I was having trouble with the backspace key, but it was with pdksh, so I
> > don't know if this will work for you, but it is worth a try...
> >
> > Andy Koppe<andy.koppe <at> gmail.com>  wrote:
> >
> >> From the cygwin-1.7.5 release announcement:
> >
> > - Support DEC Backarrow Key Mode escape sequences (ESC [ ? 67 h,
> >   ESC [ ? 67 l) in Windows console.
> >
> > (The first one switches to ^H. You'll need to set stty erase accordingly.)
> 
> That's a different issue.  The OP's problem is a conflict with MKS,
> particularly with environment variables both MKS and Cygwin use to define a
> working terminal setting.
> 

I have both MKS and cygwin. The following command: export TERM=cygwin 
fixed backspace issue.
Before:
$ env |grep TERM
TERM=nutc
TERMCAP=C:\PROGRA~1\MKSTOO~1\etc\termcap
TERMINFO=C:\PROGRA~1\MKSTOO~1\usr\lib\terminfo

After:
$ env |grep TERM
TERM=cygwin
TERMCAP=C:\PROGRA~1\MKSTOO~1\etc\termcap
TERMINFO=C:\PROGRA~1\MKSTOO~1\usr\lib\terminfo





--
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