Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Feb 2018 14:45:55 -0500
From:      "Garance A Drosehn" <drosih@rpi.edu>
To:        "Mike Karels" <mike@karels.net>
Cc:        arch@freebsd.org
Subject:   Re: ps output line length change
Message-ID:  <2280A28D-A54B-417B-B72D-38EE2F4EE521@rpi.edu>
In-Reply-To: <201802170046.w1H0kvxN032252@mail.karels.net>
References:  <201802170046.w1H0kvxN032252@mail.karels.net>

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

-- 
Garance Alistair Drosehn                =     drosih@rpi.edu
Senior Systems Programmer               or   gad@FreeBSD.org
Rensselaer Polytechnic Institute;             Troy, NY;  USA



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2280A28D-A54B-417B-B72D-38EE2F4EE521>