Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Sep 2011 18:43:06 +0000
From:      Alexander Best <arundel@freebsd.org>
To:        Edward Tomasz Napiera?a <trasz@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
Message-ID:  <20110929184306.GB15859@freebsd.org>
In-Reply-To: <11B87D92-4C1E-4AD9-BEC5-13D28B022FB1@FreeBSD.org>
References:  <201109290631.p8T6VgJ3008377@svn.freebsd.org> <20110929121457.GA53600@freebsd.org> <11B87D92-4C1E-4AD9-BEC5-13D28B022FB1@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110929184306.GB15859>