[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#3102: top has problems when not on console



rdm@tad.micro.umn.edu writes ("Bug#3102: top has problems when not on console"):
> Package: procps
> Version: 0.99-3
>
> When I come in with a vt100, top puts notations like <3> or <5> at the
> end of each line.

This is a duplicate of one of my bugs ...

> [Aside: when rows and cols are set to 0 it doesn't act very reasonably.
> Reasonable would be refusing to run with a hint to set rows and cols.
> Reasonable would be querying the terminal for its size.  But top displays
> a few lines, indicating that it's functioning ok (except for the trailers
> on those lines) and displays no proceses.]

What it should do if rows and cols are set to 0 is use LINES and
COLUMNS, or failing that, the information from terminfo about the
screen size (which is usually correct in this situation).

Ian.


Reply to: