delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/08/21/09:17:53

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <3F44C63C.3060203@ianbrandt.com>
Date: Thu, 21 Aug 2003 09:16:44 -0400
From: Ian Brandt <ian AT ianbrandt DOT com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Cygwin <cygwin AT cygwin DOT com>
Subject: Re: Map Backspace to ASCII DEL?
References: <200308211045 DOT LAA11912 AT aps5 DOT ph DOT bham DOT ac DOT uk>
In-Reply-To: <200308211045.LAA11912@aps5.ph.bham.ac.uk>


Dr.D.J.Picton wrote:
[snip]
> I think that rxvt has the functionality which you require.  For example:
> 
> rxvt -backspacekey ^? -deletekey ^h 
> 
> will give you a session in which the backspace key generates ^h and the
> delete key generates ^?.  (It might then be useful to issue stty -erase ^?
> so that you can use the backspace key to delete characters in simple
> terminal input.)
> 
> In the case of emacs, have you tried running it under X11?  In this mode it
> can distinguish between the backspace key (which it interprets as a
> 'delete last character' function) and ^h (which calls the help command).

rxvt is purely an X application though, no?  I'm trying to get this 
going under the Cygwin console.  For X I could use xmodmap which would 
change the binding before it got to rxvt, xterm, emacs, etc.

I in fact often do use X by ssh'ing to a remote system with port 
forwarding.  I use Exceed as my local X server and it has a xmodmap 
equivalent.  It's nice because I can use the mouse for cut/copy/paste, 
but it is somewhat slow.  For a quick session the cygwin terminal would 
be much more efficient, if I could get it to function properly! 
(Besides the backspace problem I'm having issues with running full 
screen applications such as less and emacs -nw. (It seems that some 
terminal capability is not performing as advertised as the screen ends 
up garbled on occasion.  This is my next challenge.)

Regards,

Ian


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