From owner-freebsd-standards Sun Jul 21 12:28: 3 2002 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 8E8A137B405 for ; Sun, 21 Jul 2002 12:28:01 -0700 (PDT) Received: from mail5.ksc.th.com (mail5.ksc.th.com [203.155.0.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5EEDF43E42 for ; Sun, 21 Jul 2002 12:28:00 -0700 (PDT) (envelope-from easytoberich01@yahoo.com) Received: from ksc.th.com ([203.107.241.168]) by mail5.ksc.th.com (8.12.1/8.12.0) with SMTP id g6LILZBu010927 for ; Mon, 22 Jul 2002 02:27:58 +0700 Message-Id: <200207211927.g6LILZBu010927@mail5.ksc.th.com> Date: Mon, 22 Jul 2002 02:29:59 To: standards@FreeBSD.org From: easytoberich01@yahoo.com (chancetoberich) Subject: สำหรับผู้ที่ต้องการโอกาสในการเปลี่ยนแปลงชีวิต Sender: owner-freebsd-standards@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG !!!!! Part-Time Job!! สำหรับนักเรียน นักศึกษา และผู้ทำงานประจำ คุณต้องการงานแบบนี้บ้างไหม…?? -งาน parttime ทำงานที่บ้านได้ ถ้าคุณใช้ Internet เป็น -ทำงานเพียงวันละ 2-3 ชม. -รายได้ 5,000 – 15,000 บาท ถ้าคุณเป็นคนหนึ่งที่ทำงานประจำหรือยังไม่มีงานทำ นักศึกษาที่กำลังศึกษาอยู่ ผู้ว่างงาน หรือผู้ที่ยังพอมีเวลาว่างจากงานประจำ มีคุณสมบัติเบื้องต้นดังนี้ 1. มีทัศนคติที่ดี 2. พร้อมที่จะเรียนรู้ เนื่องจากเป็นระบบใหม่จึงต้องให้มีการอบรมให้ตามความเหมาะสม 3. ต้องการที่จะทำงานอย่างจริงจัง อยากที่จะเปลี่ยนฐานะทางการเงินของตนเอง และอยากมีรายได้จากการทำงานตรงนี้จริงๆ ทุกอย่างเป็นไปได้ ใน http://www.geocities.com/getchances2000/ อย่า !…………….. เป็นแค่เพียงคนที่นั่งรอโอกาส To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message From owner-freebsd-standards Sun Jul 21 17:16:52 2002 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 4B79137B400 for ; Sun, 21 Jul 2002 17:16:51 -0700 (PDT) Received: from smtp.noos.fr (racine.noos.net [212.198.2.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5083843E31 for ; Sun, 21 Jul 2002 17:16:50 -0700 (PDT) (envelope-from root@gits.dyndns.org) Received: (qmail 4380137 invoked by uid 0); 22 Jul 2002 00:16:48 -0000 Received: from unknown (HELO gits.gits.dyndns.org) ([212.198.229.153]) (envelope-sender ) by 212.198.2.71 (qmail-ldap-1.03) with SMTP for ; 22 Jul 2002 00:16:48 -0000 Received: from gits.gits.dyndns.org (aldbtb3d85aa1m5b@localhost [127.0.0.1]) by gits.gits.dyndns.org (8.12.5/8.12.5) with ESMTP id g6M0GlRK066654 for ; Mon, 22 Jul 2002 02:16:47 +0200 (CEST) (envelope-from root@gits.dyndns.org) Received: (from root@localhost) by gits.gits.dyndns.org (8.12.5/8.12.5/Submit) id g6M0GlQa066653 for freebsd-standards@FreeBSD.org; Mon, 22 Jul 2002 02:16:47 +0200 (CEST) (envelope-from root) Date: Mon, 22 Jul 2002 02:16:46 +0200 From: Cyrille Lefevre To: freebsd standards Subject: ANSI C links Message-ID: <20020722001646.GA66625@gits.dyndns.org> Mail-Followup-To: Cyrille Lefevre , freebsd standards Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.99i Organization: ACME 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, just found this very interresting page : http://www.lysator.liu.se/c/index.html hope this help ? 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 From owner-freebsd-standards Mon Jul 22 11:15:45 2002 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 E3DFD37B400 for ; Mon, 22 Jul 2002 11:15:43 -0700 (PDT) Received: from numeri.campus.luth.se (numeri.campus.luth.se [130.240.197.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id D9F5A43E5E for ; Mon, 22 Jul 2002 11:15:42 -0700 (PDT) (envelope-from k@numeri.campus.luth.se) Received: (from k@localhost) by numeri.campus.luth.se (8.11.6/8.11.6) id g6MIFfu29826 for standards@freebsd.org; Mon, 22 Jul 2002 20:15:41 +0200 (CEST) (envelope-from k) Date: Mon, 22 Jul 2002 20:15:41 +0200 From: Johan Karlsson To: standards@freebsd.org Subject: add option '-t tty' to biff(1)/mesg(1) Message-ID: <20020722201541.B23363@numeri.campus.luth.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-standards@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi I'm planing to add an option '-t tty' to biff and mesg. See PRs 13072/13073 for details. I would like to know if this will violate any of the standards we are trying to conform to. mesg(1) is covered by POSIX according to http://people.FreeBSD.org/~schweikh/posix-utilities.html but there is no -t option. biff(1) does not seem to be in POSIX. Is there any other such nice summary for other standards that I can look at? Unless I get good reason not to I will propose this addition of -t on -arch the comming days. Take care /Johan -- Johan Karlsson mailto:johan@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message From owner-freebsd-standards Mon Jul 22 13:42: 4 2002 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 3138C37B400; Mon, 22 Jul 2002 13:41:57 -0700 (PDT) Received: from bremen.shuttle.de (bremen.shuttle.de [194.95.249.251]) by mx1.FreeBSD.org (Postfix) with ESMTP id E566243E5E; Mon, 22 Jul 2002 13:41:55 -0700 (PDT) (envelope-from schweikh@schweikhardt.net) Received: from bremen.shuttle.de (localhost [127.0.0.1]) by bremen.shuttle.de (Postfix) with ESMTP id 1AE3F17D4F; Mon, 22 Jul 2002 22:41:54 +0200 (CEST) Received: (from uucp@localhost) by bremen.shuttle.de (8.12.3/8.12.3/Debian -4) with UUCP id g6MKfrG3022809; Mon, 22 Jul 2002 22:41:53 +0200 Received: from hal9000.schweikhardt.net (localhost [127.0.0.1]) by hal9000.schweikhardt.net (8.12.5/8.12.5) with ESMTP id g6MKO6Eu020503; Mon, 22 Jul 2002 22:24:06 +0200 (CEST) (envelope-from schweikh@hal9000.schweikhardt.net) Received: (from schweikh@localhost) by hal9000.schweikhardt.net (8.12.5/8.12.3/Submit) id g6MKO5r5020502; Mon, 22 Jul 2002 22:24:05 +0200 (CEST) Date: Mon, 22 Jul 2002 22:24:05 +0200 From: Jens Schweikhardt To: Johan Karlsson Cc: standards@freebsd.org Subject: Re: add option '-t tty' to biff(1)/mesg(1) Message-ID: <20020722222405.A8193@schweikhardt.net> References: <20020722201541.B23363@numeri.campus.luth.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020722201541.B23363@numeri.campus.luth.se> User-Agent: Mutt/1.3.22.1i Sender: owner-freebsd-standards@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Johan, On Mon, Jul 22, 2002 at 08:15:41PM +0200, Johan Karlsson wrote: # Hi # # I'm planing to add an option '-t tty' to # biff and mesg. See PRs 13072/13073 for details. # # I would like to know if this will violate any # of the standards we are trying to conform to. In general, adding options is okay with respect to standards conformance. In fact, new options are a significant part of the added value of a conforming system. If POSIX forbade additional options, any vendor's system would look alike, and you - as a customer - would go for the cheapest (hm, FreeBSD comes to mind, not so bad an idea :-) # mesg(1) is covered by POSIX according to # http://people.FreeBSD.org/~schweikh/posix-utilities.html # but there is no -t option. As long as the options don't conflict and there is consensus about the usefulness you are okay. Note that the options on this page are only the POSIX mandated ones -- FreeBSD may already have more than those. # biff(1) does not seem to be in POSIX. # # Is there any other such nice summary for other # standards that I can look at? # # Unless I get good reason not to I will propose # this addition of -t on -arch the comming days. Go ahead. Regards, Jens -- Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core dumped) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message From owner-freebsd-standards Mon Jul 22 14:50:42 2002 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 C411837B40E; Mon, 22 Jul 2002 14:50:35 -0700 (PDT) Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id D5FD043E67; Mon, 22 Jul 2002 14:50:34 -0700 (PDT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: from khavrinen.lcs.mit.edu (localhost [IPv6:::1]) by khavrinen.lcs.mit.edu (8.12.3/8.12.5) with ESMTP id g6MLoXqw042601 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Mon, 22 Jul 2002 17:50:34 -0400 (EDT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.12.3/8.12.3/Submit) id g6MLoXZI042598; Mon, 22 Jul 2002 17:50:33 -0400 (EDT) (envelope-from wollman) Date: Mon, 22 Jul 2002 17:50:33 -0400 (EDT) From: Garrett Wollman Message-Id: <200207222150.g6MLoXZI042598@khavrinen.lcs.mit.edu> To: Jens Schweikhardt Cc: Johan Karlsson , standards@FreeBSD.ORG Subject: Re: add option '-t tty' to biff(1)/mesg(1) In-Reply-To: <20020722222405.A8193@schweikhardt.net> References: <20020722201541.B23363@numeri.campus.luth.se> <20020722222405.A8193@schweikhardt.net> Sender: owner-freebsd-standards@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG < said: > As long as the options don't conflict and there is consensus about the > usefulness you are okay. Note that the options on this page are only the > POSIX mandated ones -- FreeBSD may already have more than those. But also keep in mind that POSIX may, at some future date, standardize a different function using the same option letter. The `-W' option is reserved for implementation use, but is rather cumbersome to use in practice. (That's where SysV cc's `-Wl,', `-Wp,', etc., options came from.) It's possible to pre-empt this process somewhat by making sure FreeBSD extensions are at least standardizable, so that if someone proposes a `-Q' option to some utility, we can come back and say, ``We already have that feature and called it `-b' which is much more logical.'' -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message From owner-freebsd-standards Tue Jul 23 5:39:12 2002 Delivered-To: freebsd-standards@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8434337B400; Tue, 23 Jul 2002 05:39:11 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 385ED43E3B; Tue, 23 Jul 2002 05:39:11 -0700 (PDT) (envelope-from tjr@FreeBSD.org) Received: from freefall.freebsd.org (tjr@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6NCdBJU055983; Tue, 23 Jul 2002 05:39:11 -0700 (PDT) (envelope-from tjr@freefall.freebsd.org) Received: (from tjr@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6NCdAfp055979; Tue, 23 Jul 2002 05:39:10 -0700 (PDT) Date: Tue, 23 Jul 2002 05:39:10 -0700 (PDT) From: "Tim J. Robbins" Message-Id: <200207231239.g6NCdAfp055979@freefall.freebsd.org> To: wollman@lcs.mit.edu, tjr@FreeBSD.org, freebsd-standards@FreeBSD.org Subject: Re: standards/40669: command command does not support `-p' option Sender: owner-freebsd-standards@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Synopsis: command command does not support `-p' option State-Changed-From-To: open->patched State-Changed-By: tjr State-Changed-When: Tue Jul 23 05:35:20 PDT 2002 State-Changed-Why: sh's builtin `command' command has been corrected and the -p option has been implemented. http://www.freebsd.org/cgi/query-pr.cgi?pr=40669 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message From owner-freebsd-standards Tue Jul 23 10:48: 6 2002 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 1FAEB37B400 for ; Tue, 23 Jul 2002 10:48:05 -0700 (PDT) Received: from numeri.campus.luth.se (numeri.campus.luth.se [130.240.197.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1776343E42 for ; Tue, 23 Jul 2002 10:48:04 -0700 (PDT) (envelope-from k@numeri.campus.luth.se) Received: (from k@localhost) by numeri.campus.luth.se (8.11.6/8.11.6) id g6NHm2D54800 for standards@freebsd.org; Tue, 23 Jul 2002 19:48:02 +0200 (CEST) (envelope-from k) Date: Tue, 23 Jul 2002 19:48:02 +0200 From: Johan Karlsson To: standards@freebsd.org Subject: repeated options to mean different thing Message-ID: <20020723194802.C50574@numeri.campus.luth.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-standards@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi In PR 40709 I suggested to use to use -v to mean be verbose (current behaivour) and repeated -v (e.g chmod -v -v 777 file, or chmod -vv 777 file) to mean be very verbose. tcpdump uses a variant of this where -v mean be verbose and -vv mean be even more verbose. Sheldon told me to ask here if this goes against POSIX or some other standard. So, is the use of repeated options prohibited by POSIX? Or is this a stupid idea from some other standards point of view? Take care /Johan -- Johan Karlsson mailto:johan@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message From owner-freebsd-standards Tue Jul 23 11:42:57 2002 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 6124E37B400; Tue, 23 Jul 2002 11:42:55 -0700 (PDT) Received: from bremen.shuttle.de (bremen.shuttle.de [194.95.249.251]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4FF3543E42; Tue, 23 Jul 2002 11:42:54 -0700 (PDT) (envelope-from schweikh@schweikhardt.net) Received: from bremen.shuttle.de (localhost [127.0.0.1]) by bremen.shuttle.de (Postfix) with ESMTP id EE20E17D35; Tue, 23 Jul 2002 20:42:50 +0200 (CEST) Received: (from uucp@localhost) by bremen.shuttle.de (8.12.3/8.12.3/Debian -4) with UUCP id g6NIgoa9022279; Tue, 23 Jul 2002 20:42:50 +0200 Received: from hal9000.schweikhardt.net (localhost [127.0.0.1]) by hal9000.schweikhardt.net (8.12.5/8.12.5) with ESMTP id g6NIgPEu038766; Tue, 23 Jul 2002 20:42:25 +0200 (CEST) (envelope-from schweikh@hal9000.schweikhardt.net) Received: (from schweikh@localhost) by hal9000.schweikhardt.net (8.12.5/8.12.3/Submit) id g6NIgPA8038765; Tue, 23 Jul 2002 20:42:25 +0200 (CEST) Date: Tue, 23 Jul 2002 20:42:25 +0200 From: Jens Schweikhardt To: Johan Karlsson Cc: standards@freebsd.org Subject: Re: repeated options to mean different thing Message-ID: <20020723204225.A38605@schweikhardt.net> References: <20020723194802.C50574@numeri.campus.luth.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020723194802.C50574@numeri.campus.luth.se> User-Agent: Mutt/1.3.22.1i Sender: owner-freebsd-standards@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Johan, On Tue, Jul 23, 2002 at 07:48:02PM +0200, Johan Karlsson wrote: # Hi # # In PR 40709 I suggested to use to use -v to mean # be verbose (current behaivour) and repeated -v # (e.g chmod -v -v 777 file, or chmod -vv 777 file) # to mean be very verbose. # # tcpdump uses a variant of this where -v mean be verbose # and -vv mean be even more verbose. # # Sheldon told me to ask here if this goes against POSIX # or some other standard. # # So, is the use of repeated options prohibited by POSIX? You can find the gory details in the POSIX Utility Syntax Guidelines, http://www.opengroup.org/onlinepubs/007904975/basedefs/xbd_chap12.html#tag_12_02 # Or is this a stupid idea from some other standards point of # view? I'd say multiple -v becomes clumsy once you have more than three levels of verbosity. Why not use -v level or even -v bitmask in cases where you don't have to be backwards compatible (i.e. if a utility has had -v as a single letter option it's a bad idea to turn it into an option taking a level arg. Breaks older scripts.) Regards, Jens -- Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core dumped) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message From owner-freebsd-standards Tue Jul 23 12:20: 8 2002 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 7EE4E37B400; Tue, 23 Jul 2002 12:20:00 -0700 (PDT) Received: from numeri.campus.luth.se (numeri.campus.luth.se [130.240.197.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C30743E4A; Tue, 23 Jul 2002 12:19:59 -0700 (PDT) (envelope-from k@numeri.campus.luth.se) Received: (from k@localhost) by numeri.campus.luth.se (8.11.6/8.11.6) id g6NJJuk56314; Tue, 23 Jul 2002 21:19:56 +0200 (CEST) (envelope-from k) Date: Tue, 23 Jul 2002 21:19:56 +0200 From: Johan Karlsson To: Jens Schweikhardt Cc: standards@freebsd.org, sheldonh@freebsd.org Subject: Re: repeated options to mean different thing Message-ID: <20020723211956.D50574@numeri.campus.luth.se> References: <20020723194802.C50574@numeri.campus.luth.se> <20020723204225.A38605@schweikhardt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020723204225.A38605@schweikhardt.net>; from schweikh@schweikhardt.net on Tue, Jul 23, 2002 at 08:42:25PM +0200 Sender: owner-freebsd-standards@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi Jens, On Tue, Jul 23, 2002 at 20:42 (+0200) +0000, Jens Schweikhardt wrote: > On Tue, Jul 23, 2002 at 07:48:02PM +0200, Johan Karlsson wrote: > # In PR 40709 I suggested to use to use -v to mean > # be verbose (current behaivour) and repeated -v > # (e.g chmod -v -v 777 file, or chmod -vv 777 file) > # to mean be very verbose. > # > # So, is the use of repeated options prohibited by POSIX? > > You can find the gory details in the POSIX Utility Syntax Guidelines, > http://www.opengroup.org/onlinepubs/007904975/basedefs/xbd_chap12.html#tag_12_02 As far as I can tell from the guidelines, POSIX does not mind using repeated options to mean different things. According to item 2 on http://www.opengroup.org/onlinepubs/007904975/basedefs/xbd_chap12.html#tag_12_01 "If an option that does not have option-arguments is repeated, the results are undefined, unless otherwise stated." This sentence makes me think it is ok to have repeated options. Thanks for the link. > > # Or is this a stupid idea from some other standards point of > # view? > > I'd say multiple -v becomes clumsy once you have more than three levels > of verbosity. Why not use -v level or even -v bitmask in cases where you > don't have to be backwards compatible (i.e. if a utility has had -v as a > single letter option it's a bad idea to turn it into an option taking a > level arg. Breaks older scripts.) In this case, where I want to use it, -v already exists and therefore we should not change that. Also, in this case there would only be two levels of verbosity and hence according to your reasoning it would be ok to use -v -v. Thanks for the info. /Johan -- Johan Karlsson mailto:johan@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message From owner-freebsd-standards Wed Jul 24 8:27:51 2002 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 ECD2137B400 for ; Wed, 24 Jul 2002 08:27:49 -0700 (PDT) Received: from mgw-x2.nokia.com (mgw-x2.nokia.com [131.228.20.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B75943E31 for ; Wed, 24 Jul 2002 08:27:48 -0700 (PDT) (envelope-from Ext-Jukka.Ukkonen@nokia.com) Received: from esvir03nok.nokia.com (esvir03nokt.ntc.nokia.com [172.21.143.35]) by mgw-x2.nokia.com (Switch-2.2.1/Switch-2.2.0) with ESMTP id g6OFSJi09880 for ; Wed, 24 Jul 2002 18:28:19 +0300 (EET DST) Received: from esebh001.NOE.Nokia.com (unverified) by esvir03nok.nokia.com (Content Technologies SMTPRS 4.2.5) with ESMTP id for ; Wed, 24 Jul 2002 18:27:46 +0300 Received: from esisa06nok.ntc.nokia.com ([172.21.180.146]) by esebh001.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.4905); Wed, 24 Jul 2002 18:27:46 +0300 Received: from nokia.com (localhost [127.0.0.1]) by esisa06nok.ntc.nokia.com (8.11.6+Sun/8.11.6) with ESMTP id g6OFRjA18949 for ; Wed, 24 Jul 2002 18:27:46 +0300 (EEST) Message-ID: <3D3EC771.A897FC96@nokia.com> Date: Wed, 24 Jul 2002 18:27:45 +0300 From: "Jukka A. Ukkonen" Organization: Mawit Ltd. X-Mailer: Mozilla 4.76 [en] (X11; U; SunOS 5.8 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: standards@freebsd.org Subject: mlockall() & munlockall() Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 24 Jul 2002 15:27:46.0353 (UTC) FILETIME=[A964E210:01C23326] Sender: owner-freebsd-standards@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi! Have the POSIX real-time extensions mlockall() & munlockall() been already included in FreeBSD-5.x? Unless they are, maybe they deserve to be added while adding features for conformance with other POSIX systems. OpenBSD has supported these functions since version 2.9, but I did not find them mentioned in FreeBSD-5.0 manual pages. -- Cheers, // jau A computer, to print out a fact, will divide, multiply, and subtract. But this output can be no more than debris, if the input was short of exact. -- Gigo To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message From owner-freebsd-standards Sat Jul 27 6: 0:12 2002 Delivered-To: freebsd-standards@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C477E37B401 for ; Sat, 27 Jul 2002 06:00:07 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 01B5243E6E for ; Sat, 27 Jul 2002 06:00:05 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6RD05JU040455 for ; Sat, 27 Jul 2002 06:00:05 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6RD05SZ040454; Sat, 27 Jul 2002 06:00:05 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B82A037B400 for ; Sat, 27 Jul 2002 05:53:02 -0700 (PDT) Received: from www.freebsd.org (www.FreeBSD.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E35543E31 for ; Sat, 27 Jul 2002 05:53:02 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.4/8.12.4) with ESMTP id g6RCr1OT003395 for ; Sat, 27 Jul 2002 05:53:01 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.4/8.12.4/Submit) id g6RCr1Gw003394; Sat, 27 Jul 2002 05:53:01 -0700 (PDT) Message-Id: <200207271253.g6RCr1Gw003394@www.freebsd.org> Date: Sat, 27 Jul 2002 05:53:01 -0700 (PDT) From: Henrik Tunedal To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: standards/41043: Incorrect date format in Swedish locale. Sender: owner-freebsd-standards@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >Number: 41043 >Category: standards >Synopsis: Incorrect date format in Swedish locale. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-standards >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Jul 27 06:00:05 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Henrik Tunedal >Release: FreeBSD 4.6-RELEASE >Organization: >Environment: >Description: The date format in the Swedish locale is incorrect. Sweden uses ISO 8601 compliant dates. It is set to %d.%m.%Y, but should be %Y-%m-%d. >How-To-Repeat: >Fix: Change line 40 in /usr/share/locale/sv_SE.ISO8859-1/LC_TIME to %Y-%m-%d. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message From owner-freebsd-standards Sat Jul 27 9:13:36 2002 Delivered-To: freebsd-standards@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E022E37B400; Sat, 27 Jul 2002 09:13:35 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 939CF43E31; Sat, 27 Jul 2002 09:13:35 -0700 (PDT) (envelope-from mike@FreeBSD.org) Received: from freefall.freebsd.org (mike@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6RGDZJU080398; Sat, 27 Jul 2002 09:13:35 -0700 (PDT) (envelope-from mike@freefall.freebsd.org) Received: (from mike@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6RGDZs1080394; Sat, 27 Jul 2002 09:13:35 -0700 (PDT) Date: Sat, 27 Jul 2002 09:13:35 -0700 (PDT) From: Mike Barcroft Message-Id: <200207271613.g6RGDZs1080394@freefall.freebsd.org> To: mike@FreeBSD.org, freebsd-standards@FreeBSD.org, ache@FreeBSD.org Subject: Re: standards/41043: Incorrect date format in Swedish locale. Sender: owner-freebsd-standards@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Synopsis: Incorrect date format in Swedish locale. Responsible-Changed-From-To: freebsd-standards->ache Responsible-Changed-By: mike Responsible-Changed-When: Sat Jul 27 09:13:00 PDT 2002 Responsible-Changed-Why: Over to locale maintainer. http://www.freebsd.org/cgi/query-pr.cgi?pr=41043 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message From owner-freebsd-standards Sat Jul 27 10: 9:57 2002 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 2F11337B400 for ; Sat, 27 Jul 2002 10:09:56 -0700 (PDT) Received: from 21322530218.direct.eti.at (21322530218.direct.eti.at [213.225.30.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3520843E4A for ; Sat, 27 Jul 2002 10:09:49 -0700 (PDT) (envelope-from tilman@arved.de) Received: from sauna.arved.de (sauna.arved.de [192.168.2.4]) by 21322530218.direct.eti.at (8.11.6/8.11.6) with ESMTP id g6RHB6j43139 for ; Sat, 27 Jul 2002 19:11:06 +0200 (CEST) (envelope-from tilman@arved.de) Received: from sauna.arved.de (sauna.arved.de [127.0.0.1]) by sauna.arved.de (8.12.5/8.12.5) with ESMTP id g6RH9nIN033786 for ; Sat, 27 Jul 2002 19:09:49 +0200 (CEST) (envelope-from tilman@arved.de) Received: (from tilman@localhost) by sauna.arved.de (8.12.5/8.12.5/Submit) id g6RH9lop033785; Sat, 27 Jul 2002 19:09:47 +0200 (CEST) X-Authentication-Warning: sauna.arved.de: tilman set sender to tilman@arved.de using -f Date: Sat, 27 Jul 2002 19:09:45 +0200 From: Tilman Linneweh To: freebsd-standards@freebsd.org Subject: lrint* ? Message-Id: <20020727190945.4d9d0c53.tilman@arved.de> X-Mailer: Sylpheed version 0.8.0 (GTK+ 1.2.10; i386-portbld-freebsd4.6) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; boundary="=.1S3KZwUfOYIkxm" Sender: owner-freebsd-standards@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --=.1S3KZwUfOYIkxm Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hello list, During porting a Program, I noticed that there are no lrint* functions in libm. AFAI googled, lrint* Functions are part of C99. So i think this should be put on the TODO list of the C99-project. regards arved --=.1S3KZwUfOYIkxm Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9QtPbfCLDn4B6xToRAjJcAJ9bO4GdMq8IhxSkRzToBkH/HerJawCgiXip FdE2OMJNKHowvuy7mWPahXo= =Fpch -----END PGP SIGNATURE----- --=.1S3KZwUfOYIkxm-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message From owner-freebsd-standards Sat Jul 27 10:33:45 2002 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 1004237B400 for ; Sat, 27 Jul 2002 10:33:44 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 412BA43E42 for ; Sat, 27 Jul 2002 10:33:43 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.3/8.12.3) with ESMTP id g6RHXZYx038019; Sat, 27 Jul 2002 11:33:35 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sat, 27 Jul 2002 11:33:33 -0600 (MDT) Message-Id: <20020727.113333.122289889.imp@bsdimp.com> To: tilman@arved.de Cc: freebsd-standards@FreeBSD.ORG Subject: Re: lrint* ? From: "M. Warner Losh" In-Reply-To: <20020727190945.4d9d0c53.tilman@arved.de> References: <20020727190945.4d9d0c53.tilman@arved.de> X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-standards@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message: <20020727190945.4d9d0c53.tilman@arved.de> Tilman Linneweh writes: : During porting a Program, I noticed that there are no lrint* functions : in libm. : AFAI googled, lrint* Functions are part of C99. So i think this should : be put on the TODO list of the C99-project. Looks like you are right. I'll leave it to others to add it to the list, but here's the section from the standard: 7.12.9.5 The lrint and llrint functions Synopsis [#1] #include long int lrint(double x); long int lrintf(float x); long int lrintl(long double x); long long int llrint(double x); long long int llrintf(float x); long long int llrintl(long double x); Description [#2] The lrint and llrint functions round their argument to the nearest integer value, rounding according to the current rounding direction. If the rounded value is outside the range of the return type, the numeric result is unspecified. A range error may occur if the magnitude of x is too large. Returns [#3] The lrint and llrint functions return the rounded integer value. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message