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: 1.7.3: Backspace key not working in GNU screen.


On Sat, Apr 10, 2010 at 01:36:07PM -0400, Christopher Faylor wrote:
>On Sat, Apr 10, 2010 at 12:16:26PM -0400, Christopher Faylor wrote:
>>On Sat, Apr 10, 2010 at 05:00:30PM +0100, Andy Koppe wrote:
>>>The issue only affects the specific case of 'screen' running in the
>>>console without 'tty' in the CYGWIN settings: the backspace key sends
>>>^@ instead of what's set in the console's stty settings.  Yes, I assume
>>>it's a Cygwin bug.
>>
>>Since setting CYGWIN=tty is pretty much equivalent to running under a
>>pty I'd say that it could actually be a screen bug.
>
>Nope, you're right.  It's a Cygwin bug.  I'm fixing it now.

I'm not 100% sure that this is the right fix but the new snapshot at
least works around the problem.

The problem is that screen explicitly sets VERASE to 0.  I believe that
it does that to mean "there is really no erase character since I'm
handling that".  That should not cause Cygwin to send a null character.
I think it should probably just send the default \177 character.

So that is the change I've made.

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


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