Red Hat Bugzilla – Bug 75888
Vi-mode repeat last command (the '.' command) doesn't work
Last modified: 2007-04-18 12:47:32 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.5 (X11; Linux i686; U;) Gecko/20020809
Description of problem:
The dot command no longer works in bash-2.05b. When editing a command in the
bash history, use of the dot command puts the readline library in a strange
state where many vi bindings don't work as expected.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Run the bash shell
2.Place the shell in vi-mode editing with the 'set -o vi' command
3.Type several commands to add to the history
4.Type <ESC>k and then use k to scroll back some commands
5.Use the insert command ('i') to insert some text into a previous command
7.Use 'l' to move forward within the command
8.Type '.' to repeat the previous insert
Actual Results: A terminal beep is heard and then various commands such as
change-word (cw) no longer work
Expected Results: Previous editing command should work
This bug has been patched by the GNU project. Patch is a available at:
Patch applied in bash-2.05b-6.
An errata has been issued which should help the problem described in this bug report.
This report is therefore being closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files, please follow the link below. You may reopen
this bug report if the solution does not work for you.