From owner-cvs-usrbin Tue Jul 15 00:06:16 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id AAA10817 for cvs-usrbin-outgoing; Tue, 15 Jul 1997 00:06:16 -0700 (PDT) Received: from news1.gtn.com (news1.gtn.com [194.77.0.15]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id AAA10733; Tue, 15 Jul 1997 00:05:34 -0700 (PDT) Received: (from uucp@localhost) by news1.gtn.com (8.7.2/8.7.2) with UUCP id IAA20942; Tue, 15 Jul 1997 08:45:49 +0200 (MET DST) Received: (from andreas@localhost) by klemm.gtn.com (8.8.6/8.8.6) id HAA19312; Tue, 15 Jul 1997 07:59:44 +0200 (CEST) Message-ID: <19970715075944.38196@gtn.com> Date: Tue, 15 Jul 1997 07:59:44 +0200 From: Andreas Klemm To: =?iso-8859-1?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= Cc: Adam David , peter@spinner.dialix.com.au, peter@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, cvs-usrbin@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/top machine.c References: <199707141844.SAA21921@ubiq.veda.is> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mutt 0.76 In-Reply-To: =?iso-8859-1?Q?=3CPine=2EBSF=2E3=2E96=2E970714233322=2E8069A-100000=40ls?= =?iso-8859-1?Q?d=2Erelcom=2Eeu=2Enet=3E=3B_from_=E1=CE=C4=D2=C5=CA_=FE?= =?iso-8859-1?Q?=C5=D2=CE=CF=D7_on_Mon=2C_Jul_14=2C_1997_at_11=3A34=3A31P?= =?iso-8859-1?Q?M_+0400?= X-Disclaimer: A free society is one where it is safe to be unpopular X-Operating-System: FreeBSD 3.0-CURRENT SMP Sender: owner-cvs-usrbin@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk On Mon, Jul 14, 1997 at 11:34:31PM +0400, Андрей Чернов wrote: > On Mon, 14 Jul 1997, Adam David wrote: > > > > > > > It's not ideal but (I think) better than it was before. The width is > > > > > > limited to within 8..16. > > > > > > Please back it out. We don't need hacks. If you try to improve situation, > > > please implement run-time scanning through active names to be displayed > > > (not at startup only, but each time) to compute max one. > > > > The only other sane alternative seems to be a config file, where the field > > length is specified. Once a config file is there of course, it could specify > > dynamic behaviour or (old) fixed length. But which behaviour should be the > > default? > > Why config file is ever needed? True dynamic behaviour (not at startup > only but each time displayed) will be enough. What about a command line switch or a command withing top, that allows to select it by the user. to much dynamic isn't wanted during runtime. Default to 8 and let the user decide, if he wants to see more of the UID and less of the process itself. -- Andreas Klemm | klemm.gtn.com - powered by Symmetric MultiProcessor FreeBSD http://www.freebsd.org/~fsmp/SMP/SMP.html http://www.freebsd.org/~fsmp/SMP/benches.html