Bug 114101 - inputrc fails to recognize certain bindings
Summary: inputrc fails to recognize certain bindings
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: bash
Version: 1
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-01-22 17:07 UTC by Kyle Bateman
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version: 2.05b-36
Clone Of:
Environment:
Last Closed: 2004-01-22 17:37:45 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Patch to fix this bug (1.12 KB, patch)
2004-01-22 17:08 UTC, Kyle Bateman
no flags Details | Diff

Description Kyle Bateman 2004-01-22 17:07:29 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007

Description of problem:
Bash does not properly process certain definitions from .inputrc which
bind a C-A-key to an action (for example C-A-j) can not be rebound. 
The only way to get it to recognize the bindings in .inputrc is to
reparse the file again (C-x, C-r) after bash has started.

The bug has been found by Chet (bash maintainer) and fixed.  I'm just
including the patch to see if it can get into the rpms.  I'll attach
the patch from Chet.

The fix will be in bash next release after 2.05b.


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. bind C-A-j to any new action in .inputrc
2. start bash
3. the binding doesn't work
4. reparse setup file (C-x, C-r)
5. now the binding works
    

Additional info:

Comment 1 Kyle Bateman 2004-01-22 17:08:28 UTC
Created attachment 97174 [details]
Patch to fix this bug

Comment 2 Tim Waugh 2004-01-22 17:37:45 UTC
Thanks.  Please try bash-2.05b-36.

Comment 3 E. Choroba 2005-01-13 10:54:29 UTC
Similar bug appears again in GNU bash, version 3.00.14(1)-release
(i386-redhat-linux-gnu), in this case I am not able to redefine \C-w,
neither can I bind it using the builtin "bind". \C-x,\C-r helps, but
only for a short while - once I hit enter (and a new readline is
started), the key is again bound to unix-word-rubout. I guess version
3.* should be a descendant of 2.* so maybe the bug has a different reason.

Comment 4 Tim Waugh 2005-01-13 11:11:59 UTC
Your tty settings have C-w as a special character.  See bug #139384.


Note You need to log in before you can comment on or make changes to this bug.