X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Sat, 10 Apr 2010 14:17:00 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: 1.7.3: Backspace key not working in GNU screen. Message-ID: <20100410181700.GA7321@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20100410140811 DOT GA8593 AT ednor DOT casa DOT cgf DOT cx> <20100410161626 DOT GA1904 AT ednor DOT casa DOT cgf DOT cx> <20100410173607 DOT GA3986 AT ednor DOT casa DOT cgf DOT 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 AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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