From owner-freebsd-arch@freebsd.org Tue Feb 20 14:17:03 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 2069CF0571E for ; Tue, 20 Feb 2018 14:17:03 +0000 (UTC) (envelope-from etnapierala@gmail.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 A4B09790DC for ; Tue, 20 Feb 2018 14:17:02 +0000 (UTC) (envelope-from etnapierala@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 66011F0571A; Tue, 20 Feb 2018 14:17:02 +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 41E11F05718 for ; Tue, 20 Feb 2018 14:17:02 +0000 (UTC) (envelope-from etnapierala@gmail.com) Received: from mail-ua0-x232.google.com (mail-ua0-x232.google.com [IPv6:2607:f8b0:400c:c08::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D6732790DA; Tue, 20 Feb 2018 14:17:01 +0000 (UTC) (envelope-from etnapierala@gmail.com) Received: by mail-ua0-x232.google.com with SMTP id i15so8414662uak.3; Tue, 20 Feb 2018 06:17:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=GVSUbwYCybS6DwrWMFiMsfZ9w3OInjDb/0aKanW6qYc=; b=FFMILo0kaUDbCGBAVZNczw36LQZCSro10qyUDB4n/VKtIiDUmJnn6ywAjFRraEqpnd OWyFkxUSqbp8I9cNPjLNnzOEXgzYEEmuwe1kZa1VfyjmaYi4puM3XD5Kb2xd+vjeHB0A TJvGlh0vTkAx3e89AuJWksSMOp3JoBVOpbKklaBciBLDcZxR9V9e/vdxUpGbNa1uvzuJ 3hGcuJNCLK/lRXSO31kEaVaguXK2xxlh9MdyB0nqL3cB8IL2Ux19CFAKqAF+e4BEjLLn vLr54vXg/YsiCo3v+49wr1Jc5DZJ1C+5YQJ4rAvw0JSx34cHWfAfPDcSs4aDVQJEnMO0 KN6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=GVSUbwYCybS6DwrWMFiMsfZ9w3OInjDb/0aKanW6qYc=; b=iMKU7fXv0HSVg+6mbXVNEttp6mOZghDRtQdqw1Bvos7GA3C22+XZrgepiCa48CoNfS 94gp83DIksL8Tib+hSzBB7/q+aDWLe8bZ/1QVmtRn/Q0vW6fCFj4g+lK0DtvoGsqRRyX e4TxafF5fePn0hVCR+7IQN3Nok/lYwl0JIxjPk/c4MVVAcrzHoIx/GvJCyd+2VLiKZ4p IGIXMmOs15OZc52Eh3u2Lgu2pzIG/6voXw2n3gKTpTQi2B5ApQ+MytKdohru04QRa5n5 4ioGjxEF/tsvwaKugdCF4wdmY08gb/gDuBig/gR2H/f+HxlYBonoDq1MBnhbj/HoXG1I ZMBA== X-Gm-Message-State: APf1xPDDE6hzPrtAzOFpmvBhQt1RaW13NiN7GCWpWcWTav2rPSEDAW03 HG8xMrDuE9ap8wdETeC4tSnmTLLyt8WDNUiFltc= X-Google-Smtp-Source: AH8x2245ibDDeFQtxmuSm31sc3Hb0xXQzOndDK7gsOD95kIJAMGDTghplPSZ1P3R7bid2pqp/qBjC5t7ONk19feUTCw= X-Received: by 10.176.79.150 with SMTP id m22mr10883229uah.131.1519136221431; Tue, 20 Feb 2018 06:17:01 -0800 (PST) MIME-Version: 1.0 Sender: etnapierala@gmail.com Received: by 10.176.7.2 with HTTP; Tue, 20 Feb 2018 06:17:01 -0800 (PST) In-Reply-To: <201802172112.w1HLCI2k069334@pdx.rh.CN85.dnsmgr.net> References: <201802172106.w1HL6hP3045437@slippy.cwsent.com> <201802172112.w1HLCI2k069334@pdx.rh.CN85.dnsmgr.net> From: Edward Napierala Date: Tue, 20 Feb 2018 14:17:01 +0000 X-Google-Sender-Auth: s1WMAdn-yLIScVbKs9a5mo0ZFBc Message-ID: Subject: Re: ps output line length change To: "Rodney W. Grimes" Cc: Cy Schubert , arch@freebsd.org, mike@karels.net, Ian Lepore Content-Type: text/plain; charset="UTF-8" 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: Tue, 20 Feb 2018 14:17:03 -0000 2018-02-17 21:12 GMT+00:00 Rodney W. Grimes < freebsd-rwg@pdx.rh.cn85.dnsmgr.net>: > > 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. > Or install sysutils/coreutils and use the gls(1) - GNU version of ls(1), the same that's used with Linux - built as a native FreeBSD binary.