delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/06/11/04:22:50

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com
From: Fredrik Staxeng <fstx+u AT update DOT uu DOT 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 DOT 3060901 AT cornell DOT edu>
Mime-Version: 1.0
User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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 <kbrown AT cornell DOT 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 AT hcqngr DOT hh DOT 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/

- Raw text -


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