Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 140975 - top corrupts screen when sorting on first column
top corrupts screen when sorting on first column
Product: Fedora
Classification: Fedora
Component: procps (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Karel Zak
Brian Brock
: Reopened
Depends On:
  Show dependency treegraph
Reported: 2004-11-27 03:44 EST by Curtis Doty
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-02-05 05:19:43 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Curtis Doty 2004-11-27 03:44:36 EST
With sort column highlighting on when you sort by the first column the
ansi escape char is chopped off instead of the leading space in the
format string. This corupts the display.

This problem was introduced upstream in v3.2.2 with the windowing
feature. And it still persists without my little kludge patch on the
url above.
Comment 1 Karel Zak 2004-11-29 06:29:49 EST
Can you step by step describe your problem (after "top" start what do
you press, ... etc.)? For me it seem right.
Comment 2 Curtis Doty 2004-11-29 06:45:05 EST
Start top from a linux console or xterm. Turn on 'z' color mode and
'x' highlight sort column. Move sort column '<' left until you are
sorting on the first column. Bango!
Comment 3 Karel Zak 2004-11-29 07:47:51 EST
Thanks. Now it seems like real and useful bug report:-) 

It will be fixed in FC4.
Comment 4 Curtis Doty 2007-02-04 18:24:20 EST
This bug was never fixed and still persists today. :-(

And just for reference, my ancient patch
still appears to work.
Comment 5 Karel Zak 2007-02-05 05:19:43 EST
Thanks. Fixed. Update to procps-3.2.7-8.2.fc6 or procps-3.2.7-10 (devel).
Comment 6 Fedora Update System 2007-02-05 12:09:26 EST
procps-3.2.7-8.2.fc6 has been pushed for fc6, which should resolve this issue.  If these problems are still present in this version, then please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.