Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 6510

Summary: set -o vi in /etc/bashrc or /etc/profile doesn't work
Product: [Retired] Red Hat Linux Reporter: moof
Component: bashAssignee: Cristian Gafton <gafton>
Severity: medium Docs Contact:
Priority: low    
Version: 6.0   
Target Milestone: ---   
Target Release: ---   
Hardware: alpha   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-02-01 20:27:34 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 moof 1999-10-29 18:43:31 UTC
If you use the command "set -o vi" in /etc/bashrc or
in /etc/profile, then command-line editing doesn't work.
If you try and use one of the VI command to scroll through
the history list such as ESC-k k k, you just get a beep.
If you remove the "set -o vi" command from /etc/bashrc
and /etc/profile, and then type in the command from the
command line, then it works fine.

When the command is in the rc file, and you type "set -o
emacs" at the command line, then the emacs mode works.  If
you then attempt to switch to vi mode "set -o vi," then
command-line editing fails.

Comment 1 Cristian Gafton 2000-02-01 20:27:59 UTC
*** This bug has been marked as a duplicate of 6084 ***