X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SARE_MSGID_LONG45,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: <q2q49e721a81004081307q2db70190p176cd745b2a78388@mail.gmail.com> References: <u2v49e721a81004081305q61e00044hba10b82e6900aa3d AT mail DOT gmail DOT com> <q2q49e721a81004081307q2db70190p176cd745b2a78388 AT mail DOT gmail DOT com> Date: Sat, 10 Apr 2010 10:31:36 +0100 Received: by 10.239.152.211 with SMTP id w19mr101351hbb.150.1270891896194; Sat, 10 Apr 2010 02:31:36 -0700 (PDT) Message-ID: <m2n416096c61004100231je0fea482s7a9a7d2e82cd2792@mail.gmail.com> Subject: Re: 1.7.3: Backspace key not working in GNU screen. From: Andy Koppe <andy DOT koppe AT gmail DOT com> To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: <cygwin.cygwin.com> List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com> List-Archive: <http://sourceware.org/ml/cygwin/> List-Post: <mailto:cygwin AT cygwin DOT com> List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Al G.: > using GNU screen (4.00.03) and trying to backspace by > hitting the backspace key results in nothing happening. The cursor > doesn't move, the character isn't erased and the command remains the > same (if you hit Enter whatever your typo was gets the usual error). Uh oh, this is most likely due to the change for allowing the backspace keycode to be set using 'stty erase' (which I'd suggested). I can reproduce the problem from 1.7.2 onwards. The backspace key is sending ^@ (i.e. 0x00), same as previously happened with CYGWIN=tty in 1.7.1 snapshots. So it looks like the termios structure that the keyboard handling reads isn't getting initialised in this case. Workarounds: Add 'set CYGWIN=tty' to Cygwin.bat (or wherever you're starting your session from), or use one of the other terminals. Andy -- 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