Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 109609

Summary: Problems with bash-3.0-r13 history when using vi style command-line editing.
Product: Gentoo Linux Reporter: Mike Spitzer <mwspitzer>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge info

Description Mike Spitzer 2005-10-17 12:41:53 UTC
Problem only occurs when searching command history using vi-style command line
editing. It finds the right line, but overwrites my shell prompt and a shorter
found line will not completely overwrite a longer line found before it, making
it difficult to read.

i.e.
'esc /'cd might show
cd /home/username/.mozilla
cd /var/mailrname/.mozilla

Reproducible: Always
Steps to Reproduce:
1. In Bash, execute 'set -o vi'
2. Attempt to browse history, as in the Details.




Happens on all my systems running bash-3.0-r13. Backing out to bash-3.0-r12
fixes the problem. All systems are x86 and history works correctly, otherwise.
Comment 1 SpanKY gentoo-dev 2005-10-17 19:07:16 UTC
3.0-r13 contains a bunch of new patches, can you please narrow it down

you also neglected to post `emerge info`
Comment 2 Mike Spitzer 2005-10-18 05:15:22 UTC
Created attachment 70926 [details]
emerge info
Comment 3 Mike Spitzer 2005-10-18 05:19:54 UTC
Comment on attachment 70926 [details]
emerge info

I believe the problem is with the bash-3.0-prompt patch. I'm still looking at
it.
Comment 4 Mike Spitzer 2005-10-18 05:29:09 UTC
When I back out the changes made by patchid bash30-013, the problem goes away.
That's as far as I can take it.
Comment 5 SpanKY gentoo-dev 2005-11-28 20:14:46 UTC
doubtful that's the culprit seeing as how it's been in the bash ebuild for quite
a while (include 3.0-r13)

try editing the for loop and remove these elements:
histtimeformat locale multibyteifs rl-display rl-self-insert
Comment 6 SpanKY gentoo-dev 2005-12-30 02:12:06 UTC
fixed with bash-3.1