From owner-freebsd-arch@FreeBSD.ORG Mon Mar 29 01:04:53 2004 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6076E16A4CE; Mon, 29 Mar 2004 01:04:53 -0800 (PST) Received: from mailhub.fokus.fraunhofer.de (mailhub.fokus.fraunhofer.de [193.174.154.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4611043D2D; Mon, 29 Mar 2004 01:04:52 -0800 (PST) (envelope-from brandt@fokus.fraunhofer.de) Received: from beagle (beagle [193.175.132.100])i2T94lJ10822; Mon, 29 Mar 2004 11:04:47 +0200 (MEST) Date: Mon, 29 Mar 2004 11:04:47 +0200 (CEST) From: Harti Brandt To: Stephen McKay In-Reply-To: <200403290830.i2T8Ujsv006376@dungeon.home> Message-ID: <20040329105719.E13220@beagle.fokus.fraunhofer.de> References: <20040325070120.GA67497@VARK.homeunix.com> <20040328184244.I10175@beagle.fokus.fraunhofer.de> <20040329091900.Y12618@beagle.fokus.fraunhofer.de> <200403290830.i2T8Ujsv006376@dungeon.home> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: "Jacques A. Vidrine" cc: arch@freebsd.org cc: Garance A Drosihn cc: Albert Cahalan Subject: Re: posix ps (was Re: Adding `pgrep' and `pkill' to /usr/bin) X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: harti@freebsd.org List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Mar 2004 09:04:53 -0000 On Mon, 29 Mar 2004, Stephen McKay wrote: SM>On Monday, 29th March 2004, Harti Brandt wrote: SM> SM>>Think of 'ls -o'. -o is taken by posix to mean the same as '-l' but SM>>without showing the group. FreeBSD ls instead takes it to show file flags. SM>>This is a more obvious case where you want the selection. SM> SM>I had promised to leave this debate, having said what I thought needed to SM>be said. But this (and your subsequent message) implies that there are SM>people who want to add $PERSONALITY to many basic FreeBSD utilities, not SM>just in ps. SM> SM>This is a very bad road to take. Far from solving portability difficulties, SM>it guarantees those difficulties into the indefinite future. SM> SM>If we need posix compatibility (and this should be a separate debate), then SM>we take the pain and change the 'ls -o' option. For one release cycle the SM>option still works in the old manner but outputs a warning. In the next SM>major release, it changes to the posix flavour. Bang. Problem solved. SM>Adding a hidden variable just makes things more complicated and guarantees SM>the pain continues forever. People *will* set this variable inappropriately, SM>and it *will* be a source of problems. I'm all with you on this. I said all this under the proposition that we want to keep BSD syntax that conflicts with Posix. Sure, I'd rather simply move to posix. (The only thing I'd want to retain is 'ps ax' :-) SM>PS Should the CC list be truncated now? Ok. After this one :-) harti