[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
.inputrc keybindings behave unexpectedly
From: |
Tim Waugh |
Subject: |
.inputrc keybindings behave unexpectedly |
Date: |
Fri, 10 Dec 2004 13:14:52 +0000 |
User-agent: |
Mutt/1.4.1i |
Configuration Information [Automatically generated, do not change]:
Machine: i386
OS: linux-gnu
Compiler: i386-redhat-linux-gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i386'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i386-redhat-linux-gnu'
-DCONF_VENDOR='redhat' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL
-DHAVE_CONFIG_H -I. -I. -I./include -I./lib -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O2 -g -pipe -D_FORTIFY_SOURCE=2 -m32 -march=i386
-mtune=pentium4
uname output: Linux gene.surrey.redhat.com 2.6.9-1.667 #1 Tue Nov 2 14:41:25
EST 2004 i686 i686 i386 GNU/Linux
Machine Type: i386-redhat-linux-gnu
Bash Version: 3.0
Patch Level: 16
Release Status: release
Description:
In the man page for bash, it says that the Meta-key combinations
can be bound in two ways: either
Meta-<key>: function
or
"\M-<key>": function
The first works, but the second doesn't.
Repeat-By:
For example, try putting the following in .inputrc:
Meta-p: history-search-backward
then run bash, and type
bind -q history-search-backward
For me it says:
history-search-backward can be invoked via "?".
If I try the other form:
"\M-p": history-search-backward
I get:
history-search-backward can be invoked via "\M-p".
Original bug report:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=114060
Tim.
*/
pgpYixbIxgCPt.pgp
Description: PGP signature
- .inputrc keybindings behave unexpectedly,
Tim Waugh <=