Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 109609 - Problems with bash-3.0-r13 history when using vi style command-line editing.
Summary: Problems with bash-3.0-r13 history when using vi style command-line editing.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-17 12:41 UTC by Mike Spitzer
Modified: 2005-12-30 02:12 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge info (emerge.info,1.74 KB, text/plain)
2005-10-18 05:15 UTC, Mike Spitzer
Details

Note You need to log in before you can comment on or make changes to this bug.
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