From owner-freebsd-hackers Thu May 22 05:02:54 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id FAA17213 for hackers-outgoing; Thu, 22 May 1997 05:02:54 -0700 (PDT) Received: from mail.nacamar.de (mail.nacamar.de [194.162.162.200]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id FAA17208 for ; Thu, 22 May 1997 05:02:45 -0700 (PDT) Received: from newsfeed (newsfeed.nacamar.de [194.162.162.196]) by mail.nacamar.de (8.8.5/8.8.5) with SMTP id OAA17381; Thu, 22 May 1997 14:02:37 +0200 (CEST) Message-Id: <3.0.1.32.19970522140236.00aea750@mail.nacamar.de> X-Sender: petzi@mail.nacamar.de X-Mailer: Windows Eudora Pro Version 3.0.1 (32) Date: Thu, 22 May 1997 14:02:36 +0200 To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch), hackers@FreeBSD.ORG From: Michael Beckmann Subject: Re: Slight problems after upgrade 2.2.1 -> 2.2.2 In-Reply-To: <19970521220115.OG57138@uriah.heep.sax.de> References: <3.0.1.32.19970521205601.00cfd590@mail.nacamar.de> <3.0.1.32.19970521205601.00cfd590@mail.nacamar.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk At 22:01 21.05.97 +0200, J Wunsch wrote: >As Michael Beckmann wrote: > >> following an upgrade from 2.2.1 to 2.2.2, I have observed a minor problem >> with the top utility. It truncates the the processes to 6 characters: > >That's because it has been prepared for eventually upcoming support of >16-char usernames. (It's already been in -current for some time now.) > >The better way would be to dynamically calculate the required size. And then you'd have to recalculate all the time, because a new process can be started at any time under a long User ID.... It would be nicer and if top would use the actual size of the terminal. It truncates the process names on the right even though I have a terminal with 132 columns. Other system performance utilities like systat or vmstat don't use the actual window size either. Michael