X-Recipient: archive-cygwin@delorie.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.4020805@cornell.edu> 	 <AECBDC9D8B31450CA07DD85A423AD033@dc.pp.rl.ac.uk> 	 <4A1D9D05.40407@cornell.edu> <838wkhsm5e.fsf@gnu.org> 	 <4A1E7C50.8020505@cornell.edu> 	 <416096c60905280702m6e4cb748ic305be3592d81c70@mail.gmail.com> 	 <4A1EA704.3040500@cornell.edu> 	 <17393e3e0905280907s4cdf3c4ek9b8896dbba69cb48@mail.gmail.com> 	 <416096c60905281010t7538d5c5secacd14b87139b86@mail.gmail.com> 	 <4A1EE154.2090603@cornell.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.koppe@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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/

