From owner-svn-src-all@FreeBSD.ORG Thu Sep 29 18:43:06 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1233) id 9CB6B106567A; Thu, 29 Sep 2011 18:43:06 +0000 (UTC) Date: Thu, 29 Sep 2011 18:43:06 +0000 From: Alexander Best To: Edward Tomasz Napiera?a Message-ID: <20110929184306.GB15859@freebsd.org> References: <201109290631.p8T6VgJ3008377@svn.freebsd.org> <20110929121457.GA53600@freebsd.org> <11B87D92-4C1E-4AD9-BEC5-13D28B022FB1@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <11B87D92-4C1E-4AD9-BEC5-13D28B022FB1@FreeBSD.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r225868 - head/bin/ps X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Sep 2011 18:43:06 -0000 On Thu Sep 29 11, Edward Tomasz Napiera?a wrote: > Wiadomo?? napisana przez Alexander Best w dniu 29 wrz 2011, o godz. 14:14: > > On Thu Sep 29 11, Edward Tomasz Napierala wrote: > >> Author: trasz > >> Date: Thu Sep 29 06:31:42 2011 > >> New Revision: 225868 > >> URL: http://svn.freebsd.org/changeset/base/225868 > >> > >> Log: > >> Make ps(1) automatically size its column widths. > > > > cool to see this committed. :) > > > > i think i wrote you about the two spaces between the "TT" and "TIME" field > > some time ago. you said that the "TT" entry can contain a postfix "-". can > > you describe a situation, where this can occur? i've never seen the "TT" field > > contain an entry larger than 2 chars. > > Login via ssh, run "nohup sleep 1000 &", then logout. ahh thanks. maybe, since ps needs to iterate through the whole output at first anyway, it can check if a "TT" entry is postfixed with "-", and if it isn't get rid of the trailing space. cheers. alex > > -- > If you cut off my head, what would I say? Me and my head, or me and my body?