X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-3.3 required=5.0 	tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Fredrik Staxeng <fstx+u@update.uu.se>
Subject:  Re: Using emacs in a terminal window
Date:  Thu, 11 Jun 2009 10:22:09 +0200
Lines: 20
Message-ID:  <1m4oun18pa.fsf@Psilocybe.Update.UU.SE>
References:  <4A292BCD.3060901@cornell.edu>
Mime-Version:  1.0
Content-Type:  text/plain; charset=us-ascii
User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)
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

Ken Brown <kbrown@cornell.edu> writes:

>    - xterm: Invoke xterm with -xrm *backarrowKey:false or put
>      'XTerm*backarrowKey: false' in your .Xdefaults file.  Once xterm
>      is started, give the command 'stty erase ^?'.  (These
>      suggestions are only relevant if you invoke emacs with the -nw
>      option in an xterm window or if you have not installed
>      emacs-X11.)

I have used the following for a long time:

XTerm*vt100.translations: #override <Key>BackSpace: string(0x7f)
XTerm*ttyModes: erase ^? intr ^C

I also have "stty erase ^?" in .bashrc


-- 
Fredrik Stax\"ang | rot13: sfgk@hcqngr.hh.fr
This is all you need to know about vi: ESC : q ! RET


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

