From owner-cvs-usrbin Mon Jul 14 03:51:44 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id DAA13387 for cvs-usrbin-outgoing; Mon, 14 Jul 1997 03:51:44 -0700 (PDT) Received: from veda.is (veda.is [193.4.230.1]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id DAA13346; Mon, 14 Jul 1997 03:50:59 -0700 (PDT) Received: from ubiq.veda.is (ubiq.veda.is [193.4.230.60]) by veda.is (8.8.5/8.8.5) with ESMTP id KAA07670; Mon, 14 Jul 1997 10:50:48 GMT From: Adam David Received: (from adam@localhost) by ubiq.veda.is (8.8.5/8.8.5) id KAA21385; Mon, 14 Jul 1997 10:50:45 GMT Message-Id: <199707141050.KAA21385@ubiq.veda.is> Subject: Re: cvs commit: src/usr.bin/top machine.c In-Reply-To: <199707140906.CAA01531@freefall.freebsd.org> from Peter Wemm at "Jul 14, 97 02:06:47 am" To: peter@FreeBSD.ORG (Peter Wemm) Date: Mon, 14 Jul 1997 10:50:44 +0000 (GMT) Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrbin@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > 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