From owner-freebsd-standards Sat May 25 10:38:27 2002 Delivered-To: freebsd-standards@freebsd.org Received: from smtp.noos.fr (camus.noos.net [212.198.2.70]) by hub.freebsd.org (Postfix) with ESMTP id C1DC637B403 for ; Sat, 25 May 2002 10:38:10 -0700 (PDT) Received: (qmail 15421497 invoked by uid 0); 25 May 2002 17:38:09 -0000 Received: from unknown (HELO gits.gits.dyndns.org) ([212.198.230.194]) (envelope-sender ) by 212.198.2.70 (qmail-ldap-1.03) with SMTP for ; 25 May 2002 17:38:09 -0000 Received: from gits.gits.dyndns.org (q878mwus9eiskjau@localhost [127.0.0.1]) by gits.gits.dyndns.org (8.12.3/8.12.3) with ESMTP id g4PHc8i2022806; Sat, 25 May 2002 19:38:08 +0200 (CEST) (envelope-from root@gits.dyndns.org) Received: (from root@localhost) by gits.gits.dyndns.org (8.12.3/8.12.3/Submit) id g4PHc7Ue022805; Sat, 25 May 2002 19:38:07 +0200 (CEST) (envelope-from root) Message-Id: <200205251738.g4PHc7Ue022805@gits.gits.dyndns.org> Subject: POSIX ps To: freebsd standards , Jens Schweikhardt , "Tim J. Robbins" Date: Sat, 25 May 2002 19:38:07 +0200 (CEST) From: Cyrille Lefevre Reply-To: cyrille.lefevre@laposte.net X-Face: V|+c;4!|B?E%BE^{E6);aI.[< List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I've just discovered the FreeBSD C99 & POSIX Conformance Project. so, I inform you that I've a conformant `ps' I've done last year, but I've not checked yet if everything is really conformant. the switch between the BSD and the SUSV2 syntax (in the time I've made it) is done by the existance of the SUSV2 environment variable or -B / -V switches. also, lists handling is now done using queue(3). ex.: # /usr/src/bin/ps.new/ps -? usage: ps [-aBCfhjlmrSTuvVwx] [-O|-o fmt] [-p pidlist] [-t ttylist] [-U userlist] [-M core] [-N system] [-W swap] ps [-L] # SUSV2=1 /usr/src/bin/ps.new/ps -? usage: ps [-AaBdefjl] [-C cmdlist] [-g pgrplist] [-G grouplist] [-o fmt] [-p pidlist] [-t ttylist] [-u userlist] [-U userlist] [-m core] [-n system] [-w swap] addr args c comm etime group l rgroup s stime have been added to -L. also, last month, I've worked a lot on `sh' to make use of getopt(3), instead of the internal `nextopt' (`argptr' is no longer required), in all builtins which may be `getopt' compliant such as `echo', etc. plus some enhancements such as adding an usage string to all builtins which may have one, etc. and some code cleanup to make it more style(9) compliant. `expr', `getopt' (the old one) and `line' builtins have been added. /bin/echo and the builtin `echo' are now the same (bltin/echo is no more needed). I've also integrated some NetBSD fixes. in the time I'm writting this message, I don't remember all of the changes I've done. the code need to be checked first and I'll make a report about all of them. please, be patient. I'm just asking you to be marqued as `Responsible' of the `ps' project if nobody object it. also, I need to get in touch w/ Tim J. Robbins about `sh' change we both made to avoid duplicated work (humm! my fault :). Cyrille. -- Cyrille Lefevre mailto:cyrille.lefevre@laposte.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message