Bug 83331
| Summary: | non-ASCII characters corrupt history | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Public Beta | Reporter: | Michael Schwendt <bugs.michael> |
| Component: | bash | Assignee: | Tim Waugh <twaugh> |
| Status: | CLOSED ERRATA | QA Contact: | Ben Levenson <benl> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | phoebe | CC: | mitr |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2003-02-12 15:24:38 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Michael Schwendt
2003-02-02 18:45:11 UTC
I see the same thing here. Fixed package is 2.05b-17, which will shortly appear in rawhide. Please verify that it fixes the problem for you. Can't confirm. $ rpm -q bash bash-2.05b-17 New observation and test-cases (for both virtual console and xterm and en_US.UTF-8 this time): First command-line must be longer than second one (at least one character, even white-space). In the following, replace each 'X' with a special character (as before), e.g. I used "cent symbol" . No prompt in these examples: sleep 1 ls X Then CURSOR_UP two times, CURSOR_DOWN one time, CURSOR_UP one time, and so on. Or: sleep #XX CURSOR_UP two times, CURSOR_DOWN one time, CURSOR_UP one time, and so on. Or: #echo #XX CURSOR_UP two times, CURSOR_DOWN one time, CURSOR_UP one time, and so on. Oops, patch wasn't actually applied. Fixed in bash-2.05b-18. First test-case from Comment #3 still holds true. And another test-case: ls blubbdiblubb ls blah¢¢foo where in the second line I used two cent symbols between "blah" and "foo", then CURSOR_UP two times, CURSOR_DOWN one time, CURSOR_UP one time, and so on. Always the same pattern. Fixed package is bash-2.05b-20. Confirmed. 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. http://rhn.redhat.com/errata/RHBA-2003-140.html |