Bug 767458

Summary: bash readline no longer see the Alt key as meta
Product: [Fedora] Fedora Reporter: Doug Maxey <dwm>
Component: bashAssignee: Roman Rakus <rrakus>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: maxamillion, rrakus, tsmetana
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-24 20:04:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Doug Maxey 2011-12-14 05:56:48 UTC
Description of problem:
I have several commands mapped to Meta-whatever, and in the last day or so
the Meta is apparently no longer being passed to readline for command line
editing.  My prefered bind mode is emacs, and this has worked 4eva :)

Version-Release number of selected component (if applicable):
GNU bash, version 4.2.20(1)-release (x86_64-redhat-linux-gnu)

How reproducible:
100%

Steps to Reproduce:
1. add a bash binding that uses Alt as meta, e.g., bind '"\M-b": backward-word' 
2. command line "this is a multiword string"
                                           ^ point
3. press Alt-b to move back a word from the end of the line
  
Actual results:
"this is a multiword stringb"
                            ^

The 'b' is seen without the meta modifier and is inserted at point instead of moving point back.

Expected results:
"this is a multiword stringb"
                     ^ point should be on the start of the last word


Additional info:
The original alternate is to use Esc-b, which still works, along with Ctrl-LeftArrow, which also still works.  Just the Alt-KEY version fails.

Comment 1 Doug Maxey 2011-12-14 05:58:19 UTC
whoops. should look likeExpected results:

"this is a multiword string"
                     ^ point should be on the start of the last word

Comment 2 Doug Maxey 2011-12-24 20:04:06 UTC
OK.  Whatever was wrong has healed itself and haired over. :D