X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Date: Fri, 29 May 2009 13:35:41 +0300 From: Eli Zaretskii Subject: Re: emacs -nw keypad, tpu-edt.el, and C-h In-reply-to: <416096c60905280702m6e4cb748ic305be3592d81c70@mail.gmail.com> To: cygwin AT cygwin DOT com Message-id: <83ws8042o2.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 8BIT References: <4A168F2B DOT 4020805 AT cornell DOT edu> <4A1BD971 DOT 70808 AT cornell DOT edu> <83bppfskbt DOT fsf AT gnu DOT org> <4A1C5831 DOT 6030008 AT cornell DOT edu> <99716858969849F89D65A4015B9948F7 AT HEPNTLTIM3> <4A1C9952 DOT 8040100 AT cornell DOT edu> <4A1D9D05 DOT 40407 AT cornell DOT edu> <838wkhsm5e DOT fsf AT gnu DOT org> <4A1E7C50 DOT 8020505 AT cornell DOT edu> <416096c60905280702m6e4cb748ic305be3592d81c70 AT mail DOT gmail DOT com> 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 > Date: Thu, 28 May 2009 15:02:35 +0100 > From: Andy Koppe > > Ken Brown: > > A separate issue that has arisen in this thread is that when emacs runs > > in a cygwin terminal [*], it sees C-h as DEL instead of as the help key. > > Can someone familiar with cygwin terminals help with this?  I'm speculating > > again (bad habit), but it seems that the keycodes are being processed before > > they reach emacs, so that C-h becomes indistinguishable from the Backspace > > key. > > Careful, you're straying into a pseudo-religious warzone here. :) > > There's an ancient and pointless argument about whether the Backspace > key should send ^H (0x08) or ^? (0x7F). Actually, this holy war can be bypassed, without sacrificing Emacs correctly working on a console. What the console should send for that is the function key. Emacs already takes care of converting this to DEL. The following is from a native Windows build of Emacs 23 running under -nw in the Windows standard "Command Prompt" window: DEL (translated from ) runs the command delete-backward-char This message was caused by typing "C-h c" and then pressing the backspace key. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/