delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/09/22/20:07:04

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
Date: Mon, 23 Sep 2002 10:06:40 +1000 (EST)
From: luke DOT kendall AT cisra DOT canon DOT com DOT au
Subject: Promoting rxvt (non-X11)
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
Message-Id: <20020923000558.0819858D4@ivory.research.canon.com.au>

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/

- Raw text -


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