delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/05/27/10:11:13

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,TW_CG,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
In-Reply-To: <20100527140301.GC21583@ednor.casa.cgf.cx>
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>
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
Subject: Re: cygwin : bash doesn't recognize BackSpace
X-KeepSent: B3F5231E:AB378878-85257730:004DDAF1; type=4; name=$KeepSent
Message-ID: <OFB3F5231E.AB378878-ON85257730.004DDAF1-85257730.004DEAD8@lnotes-gw.ent.nwie.net>
From: RISINGP1 AT nationwide DOT com
Date: Thu, 27 May 2010 10:11:04 -0400
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

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 DOT koppe AT gmail DOT 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.)

- Phil




From:
Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To:
cygwin AT cygwin DOT com
Date:
05/27/2010 10:03 AM
Subject:
Re: cygwin  : bash doesn't recognize BackSpace
Sent by:
cygwin-owner AT cygwin DOT com



On Thu, May 27, 2010 at 05:49:53PM +0400, Andrei Dmitriev wrote:
>Dave Korn wrote:
>>On 27/05/2010 11:48, Andrei Dmitriev wrote:
>>>after I installed the cygwin on May 19 the bash console don't recognize
>>>*********BACKSPACE***** and continue to follow to the right each time I
>>>press BACKSPACE.  Although, seem it actually erases the chars from the
>>>left (ENTER says nothing - so I concluded the command is empty).
>>>
>>
>>MKS tools are interfering with Cygwin, because of these environment
>>variable settings:
>>>
>>>TERM = 'nutc'
>>>TERMCAP = 'D:\PROGRA~1\MKSTOO~1\etc\termcap'
>>>TERMINFO = 'D:\PROGRA~1\MKSTOO~1\usr\lib\terminfo'
>>
>>You need to remove them from the environment, and should set your PATH
>>so it doesn't have both Cygwin and MKS at the same time.
>>
>Ok, I removed mks from my path but the problem persists.

It sounds like you only did half of what you need to.  You need to
remove the other environment variables too.  Setting TERM=nutc is
obviously incorrect for cygwin, as is pointing to non-cygwin vesions of
TERMCAP and TERMINFO.

cgf

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





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