Package: bash Version: 4.3-11+b1 Severity: normal In a vi-like keyboard paradigm backslash (\) is often used as a leader key for various personal mappings.
Suppose, we have a minimal ~/.inputrc: set editing-mode vi set keymap vi-command "\\tw": transpose-words and ~/.bashrc is empty. It does work as expected (‘\tw’ in vi-normal mode transpose last two words) with interactive programs that utilize readline(3) other than bash(1): lftp(1), python(1) and octave(1). But in bash(1) it does not, instead, it behaves like ‘a’: moves cursor one position right and enters insert mode. That’s why I think that this bug-report belongs to ‘bash’ package, not ‘libreadline6’. It also works correctly if I duplicate mappings specially for bash(1) via ‘bind’ built-in: $ bind -m vi '"\\tw": transpose-words' So the problem can be workarounded easily, but anyway it exists. --- System information. --- Architecture: amd64 Kernel: Linux 3.2.0-4-amd64 Debian Release: 8.0 990 testing www.deb-multimedia.org 990 testing security.debian.org 990 testing ftp.ru.debian.org 500 unstable ftp.ru.debian.org 500 trusty ppa.launchpad.net 500 stable deb.i2p2.no 500 oneiric ppa.launchpad.net 1995 oneiric ppa.launchpad.net 1 experimental ftp.ru.debian.org --- Package information. --- Depends (Version) | Installed ===========================-+-============ base-files (>= 2.1.12) | 8 debianutils (>= 2.15) | 4.4+b1 Recommends (Version) | Installed ===================================-+-================ bash-completion (>= 20060301-0) | 1:2.1-4 Suggests (Version) | Installed =======================-+-=========== bash-doc | 4.3-11 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org