The following mapping in ~/.inputrc stopped working when "upgrading" to app-shells/bash-3.0-r11: "\C-w": backward-kill-word (different word boundaries (e.g. / . ) than the default whitespace. Other mappings seem to be applied correctly. The BASH 'bind' command also fails mapping "\C-w". Only trick to make it work isto re-read setup in BASH by using CTRL-x,CTRL-r manually. Reproducible: Always Steps to Reproduce: 1. Add to ~/.inputrc this line : "\C-w": backward-kill-word 2. start new bash shell (bash-3.0-r11) 3. check that CTRL-w does not behave correctly: backward-kill-word bahaves as backward-delete-word. 4. "type" CTRL-x CTRL-r (re-read config) and check that CTRL-w now behaves as it should Actual Results: binding CRTL-w to backward-kill-word, makes it delete backwards, considering only whitespaces as word boundaries (the default i think). Expected Results: binding CTRL-w to backward-kill-word, should make CTRL-w delete backwards considering whitespace _and_ ! , . : ; / (possibly more) as word boundaries. Well ~/.inputrc _is_ in fact read by bash since a lot of bindings do work, only the 'backward-kill-word' seems to cause the problem, and it can be resolved by re-reading the settings by issuing CTRL-x CTRL-r from bash - interactively.
what version of bash did you upgrade from ? in other words, what version used to work ? does bash-3.1 work properly ?
bash-3.1 works as documented: backward-word (M-b) Move back to the start of the current or previous word. Words are composed of alphanumeric characters (letters and digits). backward-kill-word (M-Rubout) Kill the word behind point. Word boundaries are the same as those used by backward-word.