From owner-freebsd-arch@freebsd.org Wed Feb 21 22:47:29 2018 Return-Path: Delivered-To: freebsd-arch@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 95D8FF07EEF for ; Wed, 21 Feb 2018 22:47:29 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 310DC775E2 for ; Wed, 21 Feb 2018 22:47:29 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: by mailman.ysv.freebsd.org (Postfix) id DB500F07EE6; Wed, 21 Feb 2018 22:47:28 +0000 (UTC) Delivered-To: arch@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B402EF07EE5 for ; Wed, 21 Feb 2018 22:47:28 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from smtp-out-no.shaw.ca (smtp-out-no.shaw.ca [64.59.134.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 45E0E775E1 for ; Wed, 21 Feb 2018 22:47:27 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from spqr.komquats.com ([96.50.22.10]) by shaw.ca with ESMTPA id odASeTgGUU5pnodATeDVM6; Wed, 21 Feb 2018 15:47:20 -0700 X-Authority-Analysis: v=2.3 cv=Tai4SyYh c=1 sm=1 tr=0 a=jvE2nwUzI0ECrNeyr98KWA==:117 a=jvE2nwUzI0ECrNeyr98KWA==:17 a=Op4juWPpsa0A:10 a=YxBL1-UpAAAA:8 a=6I5d2MoRAAAA:8 a=HZ-2u7k9vecDSnEffJ8A:9 a=iQ5819FEJirKHH-r:21 a=EB6xFrfuShcN0tnh:21 a=CjuIK1q_8ugA:10 a=4CuRDvcBKcFxYpiQTpsA:9 a=l227UVPgiwdiHz01:21 a=OQJIPcPUHl2ddLWS:21 a=u8IPemfICKrfH9PA:21 a=_W_S_7VecoQA:10 a=Ia-lj3WSrqcvXOmTRaiG:22 a=IjZwj45LgO3ly-622nXo:22 Received: from [25.80.3.80] (unknown [24.114.39.120]) by spqr.komquats.com (Postfix) with ESMTPSA id E0E5410D7; Wed, 21 Feb 2018 14:47:15 -0800 (PST) MIME-Version: 1.0 From: Cy Schubert Subject: RE: ps output line length change Date: Wed, 21 Feb 2018 14:47:15 -0800 To: Garance A Drosehn , Mike Karels CC: "arch@freebsd.org" Message-Id: <20180221224715.E0E5410D7@spqr.komquats.com> X-CMAE-Envelope: MS4wfFvbw5G7/ineU/bWus0duG1ypcp3fCGGRwMVFiAMxxFL6t50wzOMkzozR7Ru8oFv+oHFyDr9aRXFnV99/MebrRQhCrdcveq1LsOBwH+PneCcT51pp42c caUIBKeWORov6iPL6v1QxB3qA7exrEr9WD4BhSyD0oV/SZXoRSb1wmZxIEGdWBFCAvQVtwk9PMWlqKpwsux4sXSDBmnP27B00JSWaJ137WhGIzU5WS9xL23f Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Feb 2018 22:47:29 -0000 Iirc cem@ committed the original patch. Maybe someone should ask him to rev= ert. --- Sent using a tiny phone keyboard. Apologies for any typos and autocorrect. Also, this old phone only supports top post. Apologies. Cy Schubert or 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). --=20 Garance Alistair Drosehn =3D drosih@rpi.edu Senior Systems Programmer or gad@FreeBSD.org Rensselaer Polytechnic Institute; Troy, NY; USA _______________________________________________ freebsd-arch@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-arch To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"