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 Date: Sat, 15 Feb 2003 09:42:49 -0500 From: Jon LaBadie To: cygwin AT cygwin DOT com Subject: Re: The humble and other editing keys Message-ID: <20030215144249.GA27699@butch.jgcomp.com> References: <028b01c2d4c4$4ff06bb0$0b01a8c0 AT w2k30g> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <028b01c2d4c4$4ff06bb0$0b01a8c0@w2k30g> User-Agent: Mutt/1.3.28i On Fri, Feb 14, 2003 at 11:31:38PM -0800, David Christensen wrote: > 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 key maps to "[3~"? For keys that send an escape sequence I often go into a vi style editor's append mode, press Ctrl-V to "quote" the next char and press the key in question. If the key is not mapped by the tty input driver, this should also work in a posix type shell in vi mode. And cat -v (or vet) may be useful as well. > > > TIA, > > David > > > -- > 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/ > > >>> End of included message <<< -- Jon H. LaBadie jcyg AT jgcomp DOT com JG Computing 4455 Province Line Road (609) 252-0159 Princeton, NJ 08540-4322 (609) 683-7220 (fax) -- 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/