Subject: Re: bin/12304: top(1) output garbled if header line(s) wider than terminal
To: Matthias Buelow <mkb@mukappabeta.de>
From: Simon Burge <simonb@wasabisystems.com>
List: netbsd-bugs
Date: 03/01/2001 15:19:12
Matthias Buelow wrote:
> Simon Burge <simonb@wasabisystems.com> writes:
>
> >In -current, "Swap" has been changed to "Swp" which is still technically
> >two characters short, but should cover most cases. I'll at least get
>
> ?!! ... *lol*
> Excuse my laughing but tell me that isn't true... that's one of the
> most hilarious workarounds I've ever seen :)
> What if I add another 8 megs swap, will it have to be abbreviated to
> "Sw" then? :)
I guess in the low memory machine case it's worse. For larger memory
machines, a couple of the fields go from wxyzK to xyM or xyzM and so
gain a few spare places...
> >This patch should at least fix the overrun problem for the initial
> >memory status line and all line updates. Does it work ok for you?
>
> Thanks, I'll try it and reply with the results... sorry, a vax takes
> some time for compiling... :)
Heh, cool. I should have tested the patch on my hp300 and not my
laptop :-)
Simon.
--
Simon Burge <simonb@wasabisystems.com>
NetBSD CDs, Support and Service: http://www.wasabisystems.com/