delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/11/21/02:16:52

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: <000701c2912d$d22fd0a0$6fc82486@medschool.dundee.ac.uk>
Reply-To: <fergus AT bonhard DOT uklinux DOT net>
From: <fergus AT bonhard DOT uklinux DOT net>
To: <cygwin AT cygwin DOT com>
Cc: <jtiller AT sjm DOT com>, <fergus AT bonhard DOT uklinux DOT net>
Subject: Re: Another less/rxvt prob: Not interpreting <backspace>?
Date: Thu, 21 Nov 2002 07:15:49 -0000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

> The suggested solution was:
> stty erase ^H
> I modifed that to fit my situation and tried:
> stty erase ^?
...
> This might have unexpected side effects in other
> programs, but at least not in bash which puts the
> tty into raw mode (by way of readline).
...
> Anybody know if I should expect untoward consequences
> by putting 'stty erase ^?' in my .bash_profile?

If you are not totally happy about the 'stty erase blah' approach to solving
your problem, you could try adding the switch '-backspacekey ^H' to your
rxvt command line, so that it reads <something like>

C:\Cygwin\bin\rxvt.exe -geometry 80x58+0+0 -tn cygwin -backspacekey ^H -e
/bin/bash --login -i

(I've got ^H not ^?.) This works fine for me in all contexts including the
one mentioned by you (editing a search string) and I haven't got the phrase
'stty anything' in .bash_profile (or .bashrc or ...).

Fergus


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