Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: From: To: Cc: , Subject: Re: Another less/rxvt prob: Not interpreting ? Date: Thu, 21 Nov 2002 07:15:49 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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 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/