From owner-freebsd-standards@FreeBSD.ORG Fri Oct 15 01:34:12 2004 Return-Path: Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 92B0B16A4CE for ; Fri, 15 Oct 2004 01:34:12 +0000 (GMT) Received: from ims-2.prv.ampira.com (ims-2.ampira.com [66.179.231.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA03C43D2F for ; Fri, 15 Oct 2004 01:34:11 +0000 (GMT) (envelope-from kamalp@kprasad.org) Received: from 203-195-202-195.now-india.net.in ([203.195.202.195] helo=[172.16.3.26]) by ims-2.prv.ampira.com with asmtp (Exim 4.24) id 1CIGyw-0003kg-0e; Thu, 14 Oct 2004 21:34:10 -0400 Message-ID: <416F28F9.107@kprasad.org> Date: Fri, 15 Oct 2004 07:03:45 +0530 From: "Kamal R. Prasad" User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Garance A Drosihn , freebsd-standards@freebsd.org References: <416EA82F.6060102@kprasad.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: ps command X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Oct 2004 01:34:12 -0000 Alright. It looks like you are taking care of it. Are there any other commands/utilities that need significant work for posix compliance? thanks -kamal Garance A Drosihn wrote: > At 9:54 PM +0530 10/14/04, Kamal R. Prasad wrote: > >> >> I see that ps command needs a few additions to be compliant with >> IEEE 1003.1-2001 POSIX std. Please confirm if I can provide a >> patch that contains the following stuff:- >> >> -A, -e : write information about all processes >> -d : write information about all processes except session leaders >> -f : shows command line options , change this to show the fields >> UID PID PPID C STIME TTY TIME CMD >> -l : add the fields F, S >> -g : grouplist : Write information for processes whose session >> leaders are given in grouplist. The application shall ensure >> that the grouplist is a single argument in the form of a >> or comma-separated list. >> -G : grouplist : Write information for processes whose real group >> ID numbers are given in grouplist. The application shall >> ensure that the grouplist is a single argument in the form >> of a or comma-separated list. >> >> I'd appreciate info on who to send the patch to. > > > There is some extensive work done by Cyrille Lefevre, and which > was sent in as a PR. I have incorporated some of that work, and > plan to incorporate more of it. (although probably not in the > exact manner that Cyrille wrote it up). I also have a few updates > of my own for `ps', that I need to clean up and commit. I was > doing work in May and June. In July I got bogged down with some > other matters, and I have not gotten back to `ps' since then, but > I do intend to get back to it once 5.3-release is official. > > At least some of the changes are incompatible with our present `ps' > command, so we can't just throw them in and break the behavior that > FreeBSD users are used to. For instance, `-G' is already in our > version of `ps' which is in the 5.x-branch, due to work done earlier > this year. `-A' is also supported, but it is (deliberately) not > documented. The *code* for `-g' is also in our source, but it is > commented out because it conflicts with the historical definition > of `-g' (which has always been supported in FreeBSD, so many people > are used to typing it). >