This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bash and the delete key


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.

...

Attachment: DOTinputrc
Description: Binary data

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]