Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jul 1997 10:50:44 +0000 (GMT)
From:      Adam David <adam@veda.is>
To:        peter@FreeBSD.ORG (Peter Wemm)
Cc:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrbin@FreeBSD.ORG
Subject:   Re: cvs commit: src/usr.bin/top machine.c
Message-ID:  <199707141050.KAA21385@ubiq.veda.is>
In-Reply-To: <199707140906.CAA01531@freefall.freebsd.org> from Peter Wemm at "Jul 14, 97 02:06:47 am"

next in thread | previous in thread | raw e-mail | index | archive | help
> peter       1997/07/14 02:06:47 PDT
> 
>   Modified files:
>     usr.bin/top          machine.c 
>   Log:
>   Hack to work around the large username field...  scan for the largest
>   username present on the system at startup and use that for the field width.
>   It's not ideal but (I think) better than it was before.  The width is
>   limited to within 8..16.
>   
>   Revision  Changes    Path
>   1.5       +25 -19    src/usr.bin/top/machine.c

Wasn't it a better idea to keep track of username length for the processes that
top sees?

--
Adam David <adam@veda.is>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707141050.KAA21385>