Bug 767458 - bash readline no longer see the Alt key as meta
Summary: bash readline no longer see the Alt key as meta
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: bash
Version: 16
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Roman Rakus
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-14 05:56 UTC by Doug Maxey
Modified: 2014-01-13 00:14 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-24 20:04:06 UTC
Type: ---


Attachments (Terms of Use)

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


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