From owner-cvs-all@FreeBSD.ORG Tue Apr 15 01:48:26 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4671137B405; Tue, 15 Apr 2003 01:48:26 -0700 (PDT) Received: from smtp02.syd.iprimus.net.au (smtp02.syd.iprimus.net.au [210.50.76.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A02943FAF; Tue, 15 Apr 2003 01:48:25 -0700 (PDT) (envelope-from tim@robbins.dropbear.id.au) Received: from dilbert.robbins.dropbear.id.au (210.50.33.167) by smtp02.syd.iprimus.net.au (7.0.012) id 3E8A1600002E45FF; Tue, 15 Apr 2003 18:48:23 +1000 Received: by dilbert.robbins.dropbear.id.au (Postfix, from userid 1000) id E4EBEC90D; Tue, 15 Apr 2003 18:48:15 +1000 (EST) Date: Tue, 15 Apr 2003 18:48:15 +1000 From: Tim Robbins To: Greg 'groggy' Lehey Message-ID: <20030415184815.A11784@dilbert.robbins.dropbear.id.au> References: <200304121039.h3CAduH7079324@repoman.freebsd.org> <20030415050607.GF8718@wantadilla.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20030415050607.GF8718@wantadilla.lemis.com>; from grog@FreeBSD.org on Tue, Apr 15, 2003 at 02:36:07PM +0930 cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/bin/ps keyword.c print.c ps.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Apr 2003 08:48:26 -0000 On Tue, Apr 15, 2003 at 02:36:07PM +0930, Greg 'groggy' Lehey wrote: > On Saturday, 12 April 2003 at 3:39:56 -0700, Tim J. Robbins wrote: > > tjr 2003/04/12 03:39:56 PDT > > > > FreeBSD src repository > > > > Modified files: > > bin/ps keyword.c print.c ps.h > > Log: > > Display residency and sleep times (re and sl fields) larger than 127 as 127. > > This is what the manual page says ps should do, and what OpenBSD and NetBSD do. > > Why is this a Good Thing? Two reasons: it makes the output of "ps -v" less ugly, and it makes the code consistent with the documentation. It's a waste of information though. What do you suggest instead? Dynamically resizing the column width to fit the number would be one alternative. Tim