www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/07/25/18:13:01

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: <5.1.0.14.2.20020725151051.01f8f3c0@pop3.cris.com>
X-Sender: rrschulz AT pop3 DOT cris DOT com
Date: Thu, 25 Jul 2002 15:14:10 -0700
To: derbyshire AT globalserve DOT net, cygwin AT cygwin DOT com
From: Randall R Schulz <rrschulz AT cris DOT com>
Subject: Re: bash and the delete key
In-Reply-To: <3D403CE3.17956.467EDE3A@localhost>
Mime-Version: 1.0

--=====================_120713078==_
Content-Type: text/plain; charset="us-ascii"; format=flowed

Paul,

Add this line to your "$HOME/.inputrc" file:

   "\M-[3~":   delete-char


This escape sequence happens to be shared by RXVT and the console.

To see where there are differences between RXVT and console, you can loot 
at the attached ".inputrc" file, which is the one I use.


Randall Schulz
Mountain View, CA USA


At 15:01 2002-07-25, Paul Derbyshire wrote:
>Cygwin's bash seems not to interpret the delete key correctly. The
>backspace key nukes the character behind the cursor, as expected. The
>del key doesn't nuke the character ahead of the curser however. It
>inserts a tilde instead. I assume this is something related to either
>a bash setting or a terminal setting, but I ran out of clues (read:
>relevant information in obvious places in the bash man page) without
>fixing it a while back.
>
>...

--=====================_120713078==_
Content-Type: application/octet-stream; name="DOTinputrc"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="DOTinputrc"

CiMgc2V0IGNvbXBsZXRpb24taWdub3JlLWNhc2Ugb24KIyBzZXQgc2hvdy1hbGwtaWYtYW1iaWd1
b3VzIG9uCgoKIyBDb25zb2xlOgojCUYx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ascii

--
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/
--=====================_120713078==_--

- Raw text -


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