This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cygwin : bash doesn't recognize BackSpace


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@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.)

- Phil




From:
Christopher Faylor <cgf-use-the-mailinglist-please@cygwin.com>
To:
cygwin@cygwin.com
Date:
05/27/2010 10:03 AM
Subject:
Re: cygwin  : bash doesn't recognize BackSpace
Sent by:
cygwin-owner@cygwin.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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]