Oibane <[EMAIL PROTECTED]> writes: > 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?
You need to change the characters those keys are generating, there is nothing you can do inside readline about that. > 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. There are no control characters with these names. The C- modifier just clears the 0x40 bit of the character, thus C-. and C-n map to the same control character. > 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, You have just bound the two character sequences C-\ . and C-\ , to beginning-of-line. > but holding down Ctrl-. or , returns nothing. As long as the terminal does not emit anything distinguishable for these keys it won't change anything. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." _______________________________________________ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash