From owner-freebsd-standards@FreeBSD.ORG Tue Apr 20 01:21:28 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 2C34E16A4CE for ; Tue, 20 Apr 2004 01:21:28 -0700 (PDT) Received: from ioskeha.hittite.isp.9tel.net (ioskeha.hittite.isp.9tel.net [62.62.156.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B55443D58 for ; Tue, 20 Apr 2004 01:21:25 -0700 (PDT) (envelope-from clefevre-lists@9online.fr) Received: from pc2k (unknown [81.185.56.92]) by ioskeha.hittite.isp.9tel.net (Postfix) with SMTP id 7C0DC17B5B9; Tue, 20 Apr 2004 10:21:54 +0200 (CEST) Message-ID: <019601c426b0$77dc91a0$7890a8c0@dyndns.org> From: "Cyrille Lefevre" To: Date: Tue, 20 Apr 2004 10:21:23 +0200 Organization: ACME MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 cc: Garance A Drosihn cc: Albert Cahalan Subject: ps enhencements (posix syntax, and more) 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: Tue, 20 Apr 2004 08:21:28 -0000 I've finished to cleanup my code and to merge recent changes made by Garance. I've get rid of my -X feature for now, and replaced it with -q (posix mode) and -Q (sunos/tru64 compat mode, aka the return of -g which means -a w/o process group leaders, and sizes displayed in KGM format). A detailled description of what I've made may be found here : http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/65803 some enhancements requires a provided kernel path (cursig, systime, umask and usertime keywords). Of course, I don't expect all of my changes be accepted as-is, however, I hope we will talk about what could be accepted or not, but, please, don't reject all the code for any bad reason and don't be too close. the next step would have to merge NetBSD/OpenBSD full dynamic sizing of fields (to get rid of our current static sizing of most of the fields) as well as to integrate the NetBSD -k keyword. PS : Garance, I've integrated most of your code, except addelem_* and *_list functions. not that I like them or now, but I think that if we merge our code, ps will grow too mutch (you have many functions, where I have only one -- parselist). however, if you wish to preserve your logic, I could get a try, just to see, but not before the next week. also, I get rid of xkeep_implied which isn't necessary. Cyrille Lefevre. -- home: mailto:cyrille.lefevre@laposte.net