From owner-freebsd-current Sat Jul 5 16:19:44 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id QAA24367 for current-outgoing; Sat, 5 Jul 1997 16:19:44 -0700 (PDT) Received: from lsd.relcom.eu.net (lsd.relcom.eu.net [193.124.23.23]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id QAA24359 for ; Sat, 5 Jul 1997 16:19:34 -0700 (PDT) Received: (from ache@localhost) by lsd.relcom.eu.net (8.8.6/8.8.5) id DAA05616; Sun, 6 Jul 1997 03:19:12 +0400 (MSD) Date: Sun, 6 Jul 1997 03:19:12 +0400 (MSD) From: =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= X-Sender: ache@lsd.relcom.eu.net To: Wolfram Schneider cc: Terry Lambert , davidn@labs.usn.blaze.net.au, current@FreeBSD.ORG Subject: Re: long usernames in top In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On 6 Jul 1997, Wolfram Schneider wrote: > Terry Lambert writes: > > > Better variant will be to calculate maxnamelen at runtime through > > > displayed names only, not through all names from /etc/passwd > > > > Yes. This is what I did for "ps" and "w". The annoying thing > > about top is that the name data is potentially variant on each > > refresh. Plus the thing is being actively maintained by an agency > > other than FreeBSD, so unless the job was done completely, it's > > likely that it would become a FreeBSD-only maintenance nightmare. > > Absolutely correct. > > My 7 line patch did not fix the problem, but makes the life for 99% > of the users easier. How many systems have usernames longer > than 10 characters? Why add some feature and then disable its support with arguments that nobody uses it? I object this half-dancing solution. We should either return to 8 letters usernames, fix top a la 'ps' manner or don't touch it. In all this cases no inormation lost. -- Andrey A. Chernov http://www.nagual.pp.ru/~ache/