delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/05/28/17:14:47

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: <4A1EE154.2090603@cornell.edu>
References: <4A168F2B DOT 4020805 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> <416096c60905280702m6e4cb748ic305be3592d81c70 AT mail DOT gmail DOT com> <4A1EA704 DOT 3040500 AT cornell DOT edu> <17393e3e0905280907s4cdf3c4ek9b8896dbba69cb48 AT mail DOT gmail DOT com> <416096c60905281010t7538d5c5secacd14b87139b86 AT mail DOT gmail DOT com> <4A1EE154 DOT 2090603 AT cornell DOT edu>
Date: Thu, 28 May 2009 22:14:24 +0100
Message-ID: <416096c60905281414v292e9f06pa19ef3294415e1de@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

> Sorry, I guess I haven't been expressing myself very well. =C2=A0I wasn't
> suggesting any particular course of action, and I certainly don't want to
> break other applications.

No worries. I was just trying to explain why the proper and obvious
fix of switching the backspace defaults to ^? might be problematic.

Having said that, I don't actually know of any applications that would
be affected by this. Any interactive terminal app that's meant to be
portable has to be able to deal with either backspace setting (usually
by reading the setting from the terminal using tcgetattr). I suspect
though that problem cases do exist, most likely among native Windows
console programs or custom apps developed for a particular Unix
flavour. And then there's the problem that the Cygwin console can't be
changed to ^?.


> This difference does *not* occur in the one linux system that I have acce=
ss
> to (which happens to be Redhat linux). =C2=A0If I log into the console on=
 that
> machine and start emacs (with no window system running), C-h is help and
> <backspace> is DEL.

http://www.ibb.net/~anne/keyboard.html thinks that the Linux console
always sends ^? for backspace. Might be Redhat has different keycodes
for console and the likes of xterm then, or perhaps they did actually
switch to ^? as the default. Does anyone know?


> It would be nice if we could get emacs on cygwin to work the same way it
> does on other platforms. =C2=A0If it can't be done without breaking other=
 things,
> so be it. =C2=A0In that case, as I said before, I'll try to change the sp=
lash
> screen to say that F1 is the help key (when emacs is started in a context
> where C-h doesn't function as the help key). =C2=A0It might actually be a=
n emacs
> bug that this doesn't happen automatically

I think that would be a good and pragmatic solution to this.

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