delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/09/23/06:57:54

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
X-Originating-IP: [195.224.233.3]
From: "John Vincent" <jpv50 AT hotmail DOT com>
To: luke DOT kendall AT cisra DOT canon DOT com DOT au, cygwin AT cygwin DOT com
Subject: Re: Promoting rxvt (non-X11)
Date: Mon, 23 Sep 2002 10:57:39 +0000
Mime-Version: 1.0
Message-ID: <F9779xavjrRZ1UbDBRA00000627@hotmail.com>
X-OriginalArrivalTime: 23 Sep 2002 10:57:39.0657 (UTC) FILETIME=[08A61390:01C262F0]

Hi,

Regarding rxvt and ^H verses ^? a better solution
is to start rvxt with a command line that includes
the option -backspacekey ^H rather than use stty.

You can do this in a windows shortcut and also in
a shell alias.

I also have a file in my home directory called .inputrc which
is used to configure the key used by bash, ftp, and some other
programs, I use the following entries (literal text) which mean
I can use the delete key as well as the backspace key, and other
keys, try it and see

"\e[3~": delete-char
"\e[1~": beginning-of-line
"\e[4~": end-of-line
"\e[H": beginning-of-line
"\e[F": end-of-line
"\e[7~": beginning-of-line
"\e[8~": end-of-line
set convert-meta off
set output-meta on

The convert-meta and output-meta settings are used so I
can use the (£) UK pound symbol. I am in the UK and have
a UK keyboard.

I hope this is helpful.

/John Vincent.


>From: luke DOT kendall AT cisra DOT canon DOT com DOT au
>To: cygwin AT cygwin DOT com
>Subject: Promoting rxvt (non-X11)
>Date: Mon, 23 Sep 2002 10:06:40 +1000 (EST)
>
>Suggestion: include a shortcut for rxvt as well as for Cygwin, as part
>of setup.exe?
>
>rxvt is an excellent replacement for the Windows command window -
>except that programs like vi seem to be expecting ^H for backspace,
>whereas the key is actually sending a Del (^?), it seems.
>
>The solution seems simple: just execute stty -erase ^?.
>
>So, I have set up a shortcut for rxvt:
>
>     C:\cygwin\bin\rxvt.exe -sr -sk -title rxvt -e bash --login
>
>and modified my .profile to include:
>
>	if [ "$COLORTERM" = "rxvt-xpm" ]
>	then
>	    stty erase ^?
>	fi
>
>That covers everything except rxvt windows started from the command
>line.  Does anyone know why rxvt has this ^H vs ^? behaviour, and xterm
>doesn't?
>
>luke
>
>
>
>
>
>--
>Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>Bug reporting:         http://cygwin.com/bugs.html
>Documentation:         http://cygwin.com/docs.html
>FAQ:                   http://cygwin.com/faq/




_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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