delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/05/28/10:03:25

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <4A1E7C50.8020505@cornell.edu>
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> <AECBDC9D8B31450CA07DD85A423AD033 AT dc DOT pp DOT rl DOT ac DOT uk> <4A1D9D05 DOT 40407 AT cornell DOT edu> <838wkhsm5e DOT fsf AT gnu DOT org> <4A1E7C50 DOT 8020505 AT cornell DOT edu>
Date: Thu, 28 May 2009 15:02:35 +0100
Message-ID: <416096c60905280702m6e4cb748ic305be3592d81c70@mail.gmail.com>
Subject: Re: emacs -nw keypad, tpu-edt.el, and C-h
From: Andy Koppe <andy DOT koppe AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

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? =C2=A0I'm spec=
ulating
> again (bad habit), but it seems that the keycodes are being processed bef=
ore
> 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). See here for the whole sorry
saga:

http://www.ibb.net/~anne/keyboard.html

Inevitably, Linux distributions are split on this issue, with Debian
using ^? and Redhat using ^H. Cygwin is in the ^H camp, i.e. all its
terminals send ^H by default. xterm, rxvt, and mintty can be
configured to send ^? instead though, which, as you note, is
particular useful with emacs as it leaves Ctrl+H available as the help
shortcut.

Andy

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019