bash behavior with set -o vi
When bash is in "vi" mode (set -o vi), you can use vi keystrokes to edit the command line. I have found one thing that doesn't work right in SuSE 8.0 that worked as expected in SUSE 7.3. Given the following typed on the command line: ls myfile.zbc you should be able to replace the "z" with "a" by positioning the cursor over the "z" and typing: ra This works fine with SuSE 7.3, but with SuSE 8.0 those keystrokes simply delete the "z" resulting in: ls myfile.bc Both 7.3 and 8.0 report the save version of bash: bash --version GNU bash, version 2.05.0(1)-release (i386-suse-linux) Copyright 2000 Free Software Foundation, Inc. -- Robert C. Paulsen, Jr. robert@paulsenonline.net
* Robert C. Paulsen Jr. (robert@paulsenonline.net) [020521 12:46]:
This works fine with SuSE 7.3, but with SuSE 8.0 those keystrokes simply delete the "z" resulting in:
ls myfile.bc
Both 7.3 and 8.0 report the save version of bash:
Odd. Do you have INPUTRC=/etc/inputrc? Check with echo $INPUTRC If not, try export INPUTRC=/etc/inputrc and see if it works. There's no difference between the 7.3 and 8.0 /etc/inputrc. -- -ckm
On Tue, May 21, 2002 at 01:35:23PM -0700, Christopher Mahmood wrote:
* Robert C. Paulsen Jr. (robert@paulsenonline.net) [020521 12:46]:
This works fine with SuSE 7.3, but with SuSE 8.0 those keystrokes simply delete the "z" resulting in:
ls myfile.bc
Both 7.3 and 8.0 report the save version of bash:
Odd. Do you have INPUTRC=/etc/inputrc? Check with echo $INPUTRC
Yeah, that's set OK already. Does it work for you on 8.0? Side note: upper-case R (for replace multiple chars) does work OK. It's just the lower-case r that has this odd behavior. Also, lower-case r works fine in the vi (vim) editor. -- Robert C. Paulsen, Jr. robert@paulsenonline.net
* Christopher Mahmood (ckm@suse.com) [020521 14:01]:
* Robert C. Paulsen Jr. (robert@paulsenonline.net) [020521 13:57]:
Yeah, that's set OK already. Does it work for you on 8.0?
No, I get the same as you. Let me ask the wizards...
OK, someone confirmed it as a probable bash bug and that it still exists in the current pre-release version. Something to do with a multibyte patch. -- -ckm
participants (2)
-
Christopher Mahmood
-
Robert C. Paulsen Jr.