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: <5.1.0.14.2.20021022214820.02bf4008@pop3.cris.com> X-Sender: rrschulz AT pop3 DOT cris DOT com Date: Tue, 22 Oct 2002 21:58:39 -0700 To: cygwin AT cygwin DOT com From: Randall R Schulz Subject: Re: Help with special bash key bindings ("Ctrl+Left", "Ctrl+Right", etc.) In-Reply-To: <000001c27a4c$2d6fccc0$63ac9044@mzghome> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Milan, Most everything you need to know is in the READLINE section of the BASH manual "page" ("man bash" or "pinfo bash"). The only interesting oversight that I'm aware of is the "paste-from-clipboard" action which will, as the name suggests, past the first line of the clipboard (up to but not including the first newline) into the current input line. Key bindings for the arrow keys don't carry information about the control key, but they are modified by the ALT key. You might want to experiment with the "od" command to see what sequences are produced by different keys (Fn, arrow keys, the insert, home... cluster). Note, too, that different sequences result for _some_ of the keys in console vs. RXVT windows (given that fact, I'd avoid assuming that xterm matches either of them exactly, though it might--I don't know). Good luck. Randall Schulz Mountain View, CA USA At 21:25 2002-10-22, Milan Gardian wrote: >Hi, > >could anybody please help me with setup of my bash (readline) .inputrc >file - I'd like to bind the following keys to the following actions >(usual Windows editor associations): > >?: kill-word # Ctrl-Del >?: backward-word # Ctrl-Left (left is "\e[D") >?: forward-word # Ctrl-Right (left is "\e[C") > >Thanks for any suggestions! > >Cheers, > >Milan -- 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/