From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24533 invoked by alias); 10 Apr 2010 18:17:06 -0000 Received: (qmail 24523 invoked by uid 22791); 10 Apr 2010 18:17:05 -0000 X-Spam-Check-By: sourceware.org Received: from pool-173-76-55-5.bstnma.fios.verizon.net (HELO cgf.cx) (173.76.55.5) by sourceware.org (qpsmtpd/0.83/v0.83-20-g38e4449) with ESMTP; Sat, 10 Apr 2010 18:17:02 +0000 Received: from ednor.cgf.cx (ednor.casa.cgf.cx [192.168.187.5]) by cgf.cx (Postfix) with ESMTP id 7E76A13C061 for ; Sat, 10 Apr 2010 14:17:00 -0400 (EDT) Received: by ednor.cgf.cx (Postfix, from userid 201) id 7332C2B352; Sat, 10 Apr 2010 14:17:00 -0400 (EDT) Date: Sat, 10 Apr 2010 18:17:00 -0000 From: Christopher Faylor To: cygwin@cygwin.com Subject: Re: 1.7.3: Backspace key not working in GNU screen. Message-ID: <20100410181700.GA7321@ednor.casa.cgf.cx> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <20100410140811.GA8593@ednor.casa.cgf.cx> <20100410161626.GA1904@ednor.casa.cgf.cx> <20100410173607.GA3986@ednor.casa.cgf.cx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100410173607.GA3986@ednor.casa.cgf.cx> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2010-04/txt/msg00488.txt.bz2 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