cygwin : bash doesn't recognize BackSpace
MikeS
msndlr@yahoo.com
Sun Sep 26 17:42:00 GMT 2010
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
More information about the Cygwin
mailing list