bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

help me with readline key binding problem


From: Oibane
Subject: help me with readline key binding problem
Date: Sun, 21 Jan 2007 18:10:39 +0900 (JST)

Hi. Could someone help me with .inputrc? Some keys don't get assigned. 
I'd like to use Ctrl-., Ctrl-, , and Ctrl-'.

My bash is 3.1, on Linux, and run inside xterm:
$ bash --version
GNU bash, version 3.1.16(1)-release (i686-pc-linux-gnu)
Copyright (C) 2005 Free Software Foundation, Inc.

First Ctrl-'. A line in my .inputrc reads:
"\C-\'": beginning-of-line
It's surely bound according to bind -p, ok, but pressing Ctrl-' results 
in ', a plain single quote, in xterm, and nothing in linux console. 
(My keyboard does not need shift for apostrophe.) What should I do?

The other two are more peculiar. Putting
"\C-.":beginning-of-line
"\C-,":beginning-of-line
and beginning-of-line gets bound instead to Ctrl-n, Ctrl-l, respectively.

Was it wrong, because not escaped? But when I write
"\C-\.":beginning-of-line
"\C-\,":beginning-of-line
bind -p returns the carbon copy of these two lines, 
but holding down Ctrl-. or , returns nothing.

Thank you beforehand.

Best regards,
Oibane




reply via email to

[Prev in Thread] Current Thread [Next in Thread]