| delorie.com/archives/browse.cgi | search |
| 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: | <055c01c2d4c5$43b9a180$ab7886d9@webdev> |
| Reply-To: | "Elfyn McBratney" <cygwin AT cygwin DOT com> |
| From: | "Elfyn McBratney" <elfyn-cygwin AT exposure DOT org DOT uk> |
| To: | "cygwin" <cygwin AT cygwin DOT com>, |
| "David Christensen" <dpchrist AT holgerdanske DOT com> | |
| References: | <028b01c2d4c4$4ff06bb0$0b01a8c0 AT w2k30g> |
| Subject: | Re: The humble <DEL> and other editing keys |
| Date: | Sat, 15 Feb 2003 07:38:41 -0000 |
| MIME-Version: | 1.0 |
| X-Priority: | 3 |
| X-MSMail-Priority: | Normal |
| X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2800.1106 |
> Elfyn McBratney wrote on 14 Feb 2003 18:18:47 -0000 > > In bash you can add the following > > > > # DEL key in bash > > "\e[3~": delete-char > > > > to your ~/.inputrc or your /etc/inputrc file to get a functioning DEL > > ke. > > Thanks! I've been wondering about that for far too long. :-) > > > BTW I read the readline portion of "man bash" and was able to figure > out the "~/.inputrc", "\e", ":", "delete-char" parts, but how did you > figure out that the <Del> key maps to "[3~"? Searching "man bash" and > "man readline" for "[3~" and subsets didn't seem to do the trick, nor > did "apropos escape" or Google "[3~"... I've known that for ages and when i forget I refer to this little charm. As if I couldn't just look at my .inputrc ;-) <http://www.ibb.net/~anne/keyboard/keyboard.html> And a search on google for "bash .inputrc" comes up with loads of decent'ish pages. Regards, Elfyn McBratney elfyn AT exposure DOT org DOT uk www.exposure.org.uk -- 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |