Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 80296 - procps top(1) breaks terminal when sorting first column
Summary: procps top(1) breaks terminal when sorting first column
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-01 00:42 UTC by Andreas Kling
Modified: 2005-02-01 15:28 UTC (History)
1 user (show)

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


Attachments
Patch for procps-3.2.5 (procps-3.2.5-col1sort.patch,886 bytes, patch)
2005-02-01 00:46 UTC, Andreas Kling
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Kling 2005-02-01 00:42:48 UTC
When sorting processes by the leftmost column in 'top', the escape sequence used to highlight the column is chopped off and breaks the terminal.

Curtis Doty posted a fix[1] for it on the procps mailing list in november last year, but it has yet to appear in a release.

[1] http://sourceforge.net/mailarchive/forum.php?thread_id=6042978&forum_id=12454

Reproducible: Always
Steps to Reproduce:
1. 'top'
2. 'x'
3. '<' over and over until you hit the spot.
Comment 1 Andreas Kling 2005-02-01 00:46:02 UTC
Created attachment 50103 [details, diff]
Patch for procps-3.2.5

Curtis's patch redone for procps-3.2.5, should you decide to update the
package.
Comment 2 SpanKY gentoo-dev 2005-02-01 15:28:01 UTC
thanks, added 3.2.5 to portage along with your attached patch !