X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 	tests=AWL,BAYES_00,SPF_NEUTRAL
X-Spam-Check-By: sourceware.org
Message-ID: <4A21B676.7080001@cornell.edu>
Date: Sat, 30 May 2009 18:43:02 -0400
From: Ken Brown <kbrown@cornell.edu>
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: emacs -nw keypad, tpu-edt.el, and C-h
References: <4A1C9952.8040100@cornell.edu> <AECBDC9D8B31450CA07DD85A423AD033@dc.pp.rl.ac.uk> <4A1D9D05.40407@cornell.edu> <838wkhsm5e.fsf@gnu.org> <4A1E7C50.8020505@cornell.edu> <416096c60905280702m6e4cb748ic305be3592d81c70@mail.gmail.com> <83ws8042o2.fsf@gnu.org> <4A1FD2B7.90506@cornell.edu> <416096c60905290538t1989ba8cq4987a0197c2b61cd@mail.gmail.com> <416096c60905291459y37ac57a2le64d451d8c5e640a@mail.gmail.com> <20090530055318.GA4569@ednor.casa.cgf.cx>
In-Reply-To: <20090530055318.GA4569@ednor.casa.cgf.cx>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.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

On 5/30/2009 1:53 AM, Christopher Faylor wrote:
> However, I have made the change to Cygwin to translate backspace to ^?.
> It will be in the next snapshot.

Thanks!

Now C-h and Backspace work as expected when I run emacs in a Cygwin 
console, provided I do stty erase ^? first.  Am I right in assuming that 
this won't be necessary once the termios default is changed as Andy 
suggested?  I did patch the terminfo database, but that didn't do it.  I 
don't really understand much about how terminals work.

$ tput -T cygwin kbs | cat -v
^?
$ stty -a | grep erase
... erase = ^H ...

Ken

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

