From owner-cvs-usrbin Mon Jul 14 08:17:19 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id IAA26181 for cvs-usrbin-outgoing; Mon, 14 Jul 1997 08:17:19 -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 IAA26126; Mon, 14 Jul 1997 08:16:23 -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 PAA14521; Mon, 14 Jul 1997 15:16:18 GMT From: Adam David Received: (from adam@localhost) by ubiq.veda.is (8.8.5/8.8.5) id PAA21708; Mon, 14 Jul 1997 15:16:16 GMT Message-Id: <199707141516.PAA21708@ubiq.veda.is> Subject: Re: cvs commit: src/usr.bin/top machine.c In-Reply-To: <199707141431.WAA05038@spinner.dialix.com.au> from Peter Wemm at "Jul 14, 97 10:31:52 pm" To: peter@spinner.dialix.com.au (Peter Wemm) Date: Mon, 14 Jul 1997 15:16:15 +0000 (GMT) Cc: peter@FreeBSD.ORG, 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 > > Wasn't it a better idea to keep track of username length for the processes > > that top sees? > > And what if somebody with a 16 character login name logs in? You can't > take a snapshot of what is currently visible and assume that no new uid's > are going to turn up... > > I had considered trying to expand the column on demand when/if a username > longer than 8 characters logs in. Would that make sense? I don't think > it's too hard but it will require more tweaks inside src/contrib/top. Exactly what I was thinking, and maybe shrink to fit when the usage count goes to zero. -- Adam David