From owner-freebsd-arch@freebsd.org Sat Feb 17 21:43:27 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 AD4C5F126FF for ; Sat, 17 Feb 2018 21:43:27 +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 4085C6E44F for ; Sat, 17 Feb 2018 21:43:27 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: by mailman.ysv.freebsd.org (Postfix) id EE8E7F126F7; Sat, 17 Feb 2018 21:43:26 +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 B44A9F126EE for ; Sat, 17 Feb 2018 21:43:26 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from smtp-out-so.shaw.ca (smtp-out-so.shaw.ca [64.59.136.139]) (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 3AD1F6E447; Sat, 17 Feb 2018 21:43:25 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from spqr.komquats.com ([96.50.22.10]) by shaw.ca with ESMTPA id nAGRel4A3rQkonAGSeabZi; Sat, 17 Feb 2018 14:43:25 -0700 X-Authority-Analysis: v=2.3 cv=RPud4bq+ c=1 sm=1 tr=0 a=jvE2nwUzI0ECrNeyr98KWA==:117 a=jvE2nwUzI0ECrNeyr98KWA==:17 a=kj9zAlcOel0A:10 a=Op4juWPpsa0A:10 a=iKhvJSA4AAAA:8 a=6I5d2MoRAAAA:8 a=1QTDH3R-AAAA:8 a=YxBL1-UpAAAA:8 a=6fDHjQZ3YoCQ3ZK_tLUA:9 a=CjuIK1q_8ugA:10 a=6RRWYvuy9EcA:10 a=odh9cflL3HIXMm4fY7Wr:22 a=IjZwj45LgO3ly-622nXo:22 a=A7PbjfUNzwAiWwc5k9lq:22 a=Ia-lj3WSrqcvXOmTRaiG:22 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTPS id 4CBCF52F; Sat, 17 Feb 2018 13:43:23 -0800 (PST) Received: from slippy.cwsent.com (localhost [127.0.0.1]) by slippy.cwsent.com (8.15.2/8.15.2) with ESMTP id w1HLhMkQ074845; Sat, 17 Feb 2018 13:43:22 -0800 (PST) (envelope-from Cy.Schubert@cschubert.com) Received: from slippy (cy@localhost) by slippy.cwsent.com (8.15.2/8.15.2/Submit) with ESMTP id w1HLhMvb074842; Sat, 17 Feb 2018 13:43:22 -0800 (PST) (envelope-from Cy.Schubert@cschubert.com) Message-Id: <201802172143.w1HLhMvb074842@slippy.cwsent.com> X-Authentication-Warning: slippy.cwsent.com: cy owned process doing -bs X-Mailer: exmh version 2.8.0 04/21/2012 with nmh-1.7 Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: "Rodney W. Grimes" cc: Cy Schubert , Ian Lepore , mike@karels.net, arch@freebsd.org Subject: Re: ps output line length change In-Reply-To: Message from "Rodney W. Grimes" of "Sat, 17 Feb 2018 13:12:18 -0800." <201802172112.w1HLCI2k069334@pdx.rh.CN85.dnsmgr.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 17 Feb 2018 13:43:22 -0800 X-CMAE-Envelope: MS4wfN43G1efeo4Hkw2QIfy1JprpgBr3bSjPWVwTbEdrFAEFycF4ad7AQRQxhdqGIkQVYjl2VImEr5W7onRjV/p0xNoMpXU+vDWkJyz5Lt1XB6/3o0XSEEWk Vk4ndCSOC05vpT6qALR56CfQr20W8V6Nge83qYu3eHrX5iQbbJsum12oGWDwnt1MZMz7uBQxW24eKKySCLHTXvDHw+s8TOMaDRK4Fb9OTS7O4LEFLitYkHuK fBGjJo/YGFKMedGyqEfmHx8fEMKLpdqagHkxItQttS6ILcDUBw07Gxs81VjnRJ7rEk2xhlCZWuqGWt3iV3NQeXrYlelu/2OUD2hEEE+dQ2J126W4MNwG5rCN z8Q8nXqr 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: Sat, 17 Feb 2018 21:43:28 -0000 In message <201802172112.w1HLCI2k069334@pdx.rh.CN85.dnsmgr.net>, "Rodney W. Gri mes" writes: > > In message <1518882702.72050.204.camel@freebsd.org>, Ian Lepore writes: > > > On Fri, 2018-02-16 at 18:03 -0800, Cy Schubert wrote: > > > > In message <201802170046.w1H0kvxN032252@mail.karels.net>, Mike Karels?? > > > > writes: > > > > > > > > > > [...] > > > > Agreed. I also agree scripts that expect wide output without ww are?? > > > > broken. However Linux ps, at least Red Hat, behaves the same. I believe > ?? > > > > the change was made to be more Linux compatible and allow greater?? > > > > portability. > > > > > > > > > > > > > > > > > > > What do people think should be done? > > > > That's a tough one. Break Linux compatibility or break BSD?? > > > > compatibility? > > > > > > > > Generally Linux users use ps -ef which we don't support and columns are > ?? > > > > different so, Linux compatibility is... well just isn't. > > > > > > > > My vote is to revert and have an environment variable with defaults,?? > > > > e.g., PS=--linux or something similar. > > > > > > > > > > > > > > Linux compatibility is good and desirable, right up to the point where > > > it stomps on BSD compatibility. ??I think we should revert to historic > > > behavior. > > > > > > I'm agnostic about whether an env var is a good idea or not. ??I use the > > > env vars for LESS and TOP and love the idea, but hate hate hate the > > > names (I've fought with conflicts on the too-common name TOP multiple > > > times over the years, most recently just last week my env var TOP > > > confused some makefile that had a TOP var in it). ??Could the var be > > > named something like PS_OPTS? > > > > Sure. I'm ok even if there is no Linux compatibility. If we choose an > > environment variable, I'm ok with any name as long as it makes sense. > > > > However Solaris had (I haven't used Solaris since Solaris 9) /usr/ucb > > for BSD compatible utilities. Should we consider something similar for > > linux compatibility? > > We already ahve the whole linuxlator thing, if they want a linux > ps cant they just.. um actually use a linux ps from /compat/linux? > I know ps grovels around in a lot of internals but this would, > imho, be the route to persue a "linux compatible" ps output. Except for linuxy scripts that might be in ports or apps ported to FreeBSD. To argue against myself, that's what porting is. Either way, revert back to BSD compatibility. -- Cheers, Cy Schubert FreeBSD UNIX: Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few.