Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Feb 2018 16:59:24 -0800
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-arch@freebsd.org
Cc:        Cy Schubert <Cy.Schubert@cschubert.com>, Garance A Drosehn <drosih@rpi.edu>, Mike Karels <mike@karels.net>, "arch@freebsd.org" <arch@freebsd.org>
Subject:   Re: ps output line length change
Message-ID:  <3369243.YQvd3VYPi2@ralph.baldwin.cx>
In-Reply-To: <20180221224715.E0E5410D7@spqr.komquats.com>
References:  <20180221224715.E0E5410D7@spqr.komquats.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday, February 21, 2018 02:47:15 PM Cy Schubert wrote:
> Iirc cem@ committed the original patch. Maybe someone should ask him to revert.

Mike has.  This thread is to determine what the consensus is.

My preference is for the old behavior.

> ---
> Sent using a tiny phone keyboard.
> Apologies for any typos and autocorrect.
> Also, this old phone only supports top post. Apologies.
> 
> Cy Schubert
> <Cy.Schubert@cschubert.com> or <cy@freebsd.org>
> The need of the many outweighs the greed of the few.
> ---
> 
> -----Original Message-----
> From: Garance A Drosehn
> Sent: 21/02/2018 11:52
> To: Mike Karels
> Cc: arch@freebsd.org
> Subject: Re: ps output line length change
> 
> On 16 Feb 2018, at 19:46, Mike Karels wrote:
> 
> > A couple of weeks ago, I sent email on the committers list proposing
> > reversion of r314685 changing the output line length for ps.  In
> > particular, it uses unlimited line length if stdout is not a tty.
> > The previous code used the tty width if any of stdout, stderr, or
> > stdin was a tty.  The change in r314685 has not been shipped in
> > any release yet.
> >
> > The responses to that email all agreed with reversion.  However,
> > there has been some additional discussion in private email.
> > Therefore, I am sending this to arch@.
> 
> I've lost track of how many times I've said this, but I'll say it
> one more:  I think the change should be reverted.  What the code
> currently does is fine, and is flexible enough.  I've written
> many scripts which parse the output of 'ps', and the historical
> behavior has never hampered me.  And I do write scripts which
> have to run on multiple unixes (in fact, most of my work is done
> on systems which are not running FreeBSD).
> 
> 


-- 
John Baldwin



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