From owner-freebsd-standards@FreeBSD.ORG Mon Mar 29 11:07:05 2010 Return-Path: Delivered-To: freebsd-standards@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 42A711065687 for ; Mon, 29 Mar 2010 11:07:05 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 306998FC14 for ; Mon, 29 Mar 2010 11:07:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o2TB75Uv058123 for ; Mon, 29 Mar 2010 11:07:05 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o2TB74Px058121 for freebsd-standards@FreeBSD.org; Mon, 29 Mar 2010 11:07:04 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 29 Mar 2010 11:07:04 GMT Message-Id: <201003291107.o2TB74Px058121@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-standards@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-standards@FreeBSD.org X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Mar 2010 11:07:05 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o stand/145082 standards Patch against w(1) & uptime(1) to use 24H time by defa o stand/144231 standards bind/connect/sendto too strict about sockaddr length o stand/143358 standards [libm] nearbyint(3) raises spurious inexact exception o stand/142803 standards j0 Bessel function inaccurate near zeros of the functi o stand/142255 standards scandir prototype in dirent.h isn't compliant with POS s stand/141705 standards [libc] [request] libc lacks cexp (and friends) o stand/130067 standards Wrong numeric limits in system headers? o stand/129196 standards Inconsistent errno in strtol() o bin/125855 standards sh(1) allows for multiline, non-escaped control struct o stand/124860 standards flockfile(3) doesn't work when the memory has been exh o stand/123688 standards POSIX standard changes in unistd.h and grp.h o stand/121921 standards [patch] Add leap second support to at(1), atrun(8) o stand/121568 standards [patch] ln(1): wrong "ln -s" behaviour o stand/120947 standards xsm ignores system.xsm and .xsmstartup o stand/116826 standards [patch] sh support for POSIX character classes o stand/116477 standards rm(1): rm behaves unexpectedly when using -r and relat o bin/116413 standards incorrect getconf(1) handling of unsigned constants gi o stand/116081 standards make does not work with the directive sinclude p stand/107561 standards [libc] [patch] [request] Missing SUS function tcgetsid o stand/104743 standards [headers] [patch] Wrong values for _POSIX_ minimal lim o stand/100017 standards [Patch] Add fuser(1) functionality to fstat(1) o stand/96236 standards [patch] [posix] sed(1) incorrectly describes a functio o stand/96016 standards [headers] clock_getres et al should be in o stand/94729 standards [libc] fcntl() throws undocumented ENOTTY o kern/93705 standards [headers] [patch] ENODATA and EGREGIOUS (for glibc com o stand/92362 standards [headers] [patch] Missing SIGPOLL in kernel headers a stand/86484 standards [patch] mkfifo(1) uses wrong permissions o stand/83845 standards [libm] [patch] add log2() and log2f() support for libm o stand/82654 standards C99 long double math functions are missing o stand/81287 standards [patch] fingerd(8) might send a line not ending in CRL a stand/80293 standards sysconf() does not support well-defined unistd values o stand/79056 standards [feature request] [atch] regex(3) regression tests o stand/70813 standards [patch] ls(1) not Posix compliant o stand/66357 standards make POSIX conformance problem ('sh -e' & '+' command- s kern/64875 standards [libc] [patch] [request] add a system call: fdatasync( s stand/62858 standards malloc(0) not C99 compliant o stand/56476 standards [patch] cd9660 unicode support simple hack o stand/54839 standards [pcvt] pcvt deficits o stand/54833 standards [pcvt] more pcvt deficits o stand/54410 standards one-true-awk not POSIX compliant (no extended REs) o stand/46119 standards Priority problems for SCHED_OTHER using pthreads o stand/44425 standards getcwd() succeeds even if current dir has perm 000. p stand/41576 standards POSIX compliance of ln(1) o stand/39256 standards snprintf/vsnprintf aren't POSIX-conformant for strings o kern/27835 standards [libc] execve() doesn't conform to execve(2) spec in s a docs/26003 standards getgroups(2) lists NGROUPS_MAX but not syslimits.h s stand/24590 standards timezone function not compatible witn Single Unix Spec o bin/24390 standards ln(1) Replacing old dir-symlinks when using /bin/ln o stand/21519 standards sys/dir.h should be deprecated some more s bin/14925 standards getsubopt isn't poisonous enough 50 problems total. From owner-freebsd-standards@FreeBSD.ORG Fri Apr 2 14:52:46 2010 Return-Path: Delivered-To: freebsd-standards@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DB7F8106564A for ; Fri, 2 Apr 2010 14:52:46 +0000 (UTC) (envelope-from weeks@iastate.edu) Received: from mail-ww0-f54.google.com (mail-ww0-f54.google.com [74.125.82.54]) by mx1.freebsd.org (Postfix) with ESMTP id 821DF8FC0A for ; Fri, 2 Apr 2010 14:52:45 +0000 (UTC) Received: by wwb24 with SMTP id 24so1425541wwb.13 for ; Fri, 02 Apr 2010 07:52:45 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.11.133 with HTTP; Fri, 2 Apr 2010 07:22:56 -0700 (PDT) Date: Fri, 2 Apr 2010 08:22:56 -0600 Received: by 10.216.86.85 with SMTP id v63mr1115485wee.32.1270218176802; Fri, 02 Apr 2010 07:22:56 -0700 (PDT) Message-ID: From: Nathan Weeks To: freebsd-standards@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: /bin/sh vi-mode command line editing pathname expansion X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Apr 2010 14:52:46 -0000 The following vi-mode command line editing features seem to be missing from FreeBSD 8.0's /bin/sh. = Display the possible shell word expansions (see wordexp ) of the bigword at the current command line position... \ Perform pathname expansion (see Pathname Expansion ) on the current bigword, up to the largest set of characters that can be matched uniquely... * Perform pathname expansion on the current bigword and insert all expansions into the command to replace the current bigword, with each expansion separated by a single ... Full descriptions are here: http://www.opengroup.org/onlinepubs/9699919799/utilities/sh.html This would be handy to have out-of-the-box so one doesn't have to install bash or ksh to have a POSIX shell that can do this kind of pathname expansion in an interactive shell. -- Nathan Weeks From owner-freebsd-standards@FreeBSD.ORG Sat Apr 3 15:08:24 2010 Return-Path: Delivered-To: freebsd-standards@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0A2D01065672; Sat, 3 Apr 2010 15:08:24 +0000 (UTC) (envelope-from brucec@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D63EC8FC20; Sat, 3 Apr 2010 15:08:23 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o33F8NYH083116; Sat, 3 Apr 2010 15:08:23 GMT (envelope-from brucec@freefall.freebsd.org) Received: (from brucec@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o33F8Nal083112; Sat, 3 Apr 2010 15:08:23 GMT (envelope-from brucec) Date: Sat, 3 Apr 2010 15:08:23 GMT Message-Id: <201004031508.o33F8Nal083112@freefall.freebsd.org> To: brucec@FreeBSD.org, freebsd-standards@FreeBSD.org From: brucec@FreeBSD.org Cc: Subject: Re: standards/54833: [pcvt] more pcvt deficits X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Apr 2010 15:08:24 -0000 Synopsis: [pcvt] more pcvt deficits State-Changed-From-To: open->closed State-Changed-By: brucec State-Changed-When: Sat Apr 3 15:06:54 UTC 2010 State-Changed-Why: pcvt was removed in FreeBSD 7, and it's unlikely any work will be done on it in FreeBSD 6. http://www.freebsd.org/cgi/query-pr.cgi?pr=54833 From owner-freebsd-standards@FreeBSD.ORG Sat Apr 3 15:09:17 2010 Return-Path: Delivered-To: freebsd-standards@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F1663106566B; Sat, 3 Apr 2010 15:09:17 +0000 (UTC) (envelope-from brucec@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C94308FC1C; Sat, 3 Apr 2010 15:09:17 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o33F9HCg083164; Sat, 3 Apr 2010 15:09:17 GMT (envelope-from brucec@freefall.freebsd.org) Received: (from brucec@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o33F9HUF083160; Sat, 3 Apr 2010 15:09:17 GMT (envelope-from brucec) Date: Sat, 3 Apr 2010 15:09:17 GMT Message-Id: <201004031509.o33F9HUF083160@freefall.freebsd.org> To: brucec@FreeBSD.org, freebsd-standards@FreeBSD.org From: brucec@FreeBSD.org Cc: Subject: Re: standards/54839: [pcvt] pcvt deficits X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Apr 2010 15:09:18 -0000 Synopsis: [pcvt] pcvt deficits State-Changed-From-To: open->closed State-Changed-By: brucec State-Changed-When: Sat Apr 3 15:08:45 UTC 2010 State-Changed-Why: pcvt was removed in FreeBSD 7, and it's unlikely any work will be done on it in FreeBSD 6. http://www.freebsd.org/cgi/query-pr.cgi?pr=54839 From owner-freebsd-standards@FreeBSD.ORG Sat Apr 3 16:02:05 2010 Return-Path: Delivered-To: freebsd-standards@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5D5ED106564A for ; Sat, 3 Apr 2010 16:02:05 +0000 (UTC) (envelope-from jilles@stack.nl) Received: from mx1.stack.nl (relay04.stack.nl [IPv6:2001:610:1108:5010::107]) by mx1.freebsd.org (Postfix) with ESMTP id 253F58FC08 for ; Sat, 3 Apr 2010 16:02:05 +0000 (UTC) Received: from turtle.stack.nl (turtle.stack.nl [IPv6:2001:610:1108:5010::132]) by mx1.stack.nl (Postfix) with ESMTP id 32D061DD41A; Sat, 3 Apr 2010 18:02:04 +0200 (CEST) Received: by turtle.stack.nl (Postfix, from userid 1677) id 2572B17522; Sat, 3 Apr 2010 18:02:04 +0200 (CEST) Date: Sat, 3 Apr 2010 18:02:04 +0200 From: Jilles Tjoelker To: Nathan Weeks Message-ID: <20100403160203.GA19283@stack.nl> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-standards@freebsd.org Subject: Re: /bin/sh vi-mode command line editing pathname expansion X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Apr 2010 16:02:05 -0000 On Fri, Apr 02, 2010 at 08:22:56AM -0600, Nathan Weeks wrote: > The following vi-mode command line editing features seem to be > missing from FreeBSD 8.0's /bin/sh. > = > Display the possible shell word expansions (see wordexp ) > of the bigword at the current command line position... > \ > Perform pathname expansion (see Pathname Expansion ) > on the current bigword, up to the largest set of characters > that can be matched uniquely... > * > Perform pathname expansion on the current bigword and > insert all expansions into the command to replace the current > bigword, with each expansion separated by a single ... > Full descriptions are here: > http://www.opengroup.org/onlinepubs/9699919799/utilities/sh.html "bigword" is not good: it disallows file name completion with spaces (unless we implement ksh-like $'quoting' and put in $'\040' for a space, which is ugly). > This would be handy to have out-of-the-box so one doesn't have > to install bash or ksh to have a POSIX shell that can do this kind > of pathname expansion in an interactive shell. NetBSD has file name completion in sh/libedit (optionally with as people expect) but I think it is still a bit too simplistic: it does not quote spaces and the like. Because not doing this quoting is highly surprising in a negative way and other shells I've tried (bash, zsh, ksh93, mksh) do it, I think it is a requirement. If stefanf@ (de facto libedit maintainer) ports over the NetBSD code and someone takes care of the quoting issue, I would not be opposed to it. A more general question is how far we should go with this kind of features. Our /bin/sh is not bash or zsh and probably should not be. Unfortunately, this means that people who want a good interactive Bourne-style shell have to resort to ports/packages and install bash, zsh, mksh or possibly ksh93. I don't think non-embedded operating systems based on FreeBSD should default to /bin/sh as a shell for users. -- Jilles Tjoelker