delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/08/21/12:45:23

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: <200308211644.RAA01916@aps5.ph.bham.ac.uk>
Date: Thu, 21 Aug 2003 17:42:58 +0100 (BST)
From: "Dr.D.J.Picton" <dave AT aps5 DOT ph DOT bham DOT ac DOT uk>
Reply-To: "Dr.D.J.Picton" <dave AT aps5 DOT ph DOT bham DOT ac DOT uk>
Subject: Re: Map Backspace to ASCII DEL?
To: cygwin AT cygwin DOT com
MIME-Version: 1.0

> From: Ian Brandt <ian at ianbrandt dot com> 
> To: Cygwin <cygwin at cygwin dot com> 
> Date: Thu, 21 Aug 2003 09:16:44 -0400 
> Subject: Re: Map Backspace to ASCII DEL? 
> References: <200308211045 DOT LAA11912 AT aps5 DOT ph DOT bham DOT ac DOT uk> 


>Dr.D.J.Picton wrote:
>[snip]

>    I think that rxvt has the functionality which you require. For example:
>
>    rxvt -backspacekey ^? -deletekey ^h 

[snip]

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

Actually, rxvt has a native Windows mode (which will run if DISPLAY is unset),
although it probably requires some of the X11R6 .dll files to run.  So you
could try using rxvt in place of a standard console by changing cygwin.bat
to do:

rxvt -backspacekey ^? -deletekey ^h -e bash --login &

The only problem I noticed was the small font (which you can change by pressing
the '+' key on the keypad in conjunction with the shift key) and the
fact that the DISPLAY variable is set (which could be fixed with an /etc/profile
hack.)

hack). 


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