NetBSD Problem Report #11219

Received: (qmail 27072 invoked from network); 14 Oct 2000 14:47:25 -0000
Message-Id: <Pine.SOL.4.21.0010141530380.28200-100000@draco.cus.cam.ac.uk>
Date: Sat, 14 Oct 2000 15:47:21 +0100 (BST)
From: Ben Harris <bjh21@netbsd.org>
Sender: Ben Harris <bjh21@cus.cam.ac.uk>
To: gnats-bugs@netbsd.org
Subject: less(1) is not compatible with POSIX.2 "more"

>Number:         11219
>Category:       standards
>Synopsis:       less(1) is not compatible with POSIX.2 "more"
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    standards-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 14 14:48:00 +0000 2000
>Closed-Date:    
>Last-Modified:  Sat Oct 14 15:12:00 +0000 2000
>Originator:     Ben Harris
>Release:        2000-02-07
>Organization:
>Environment:
NetBSD cromarty 1.4X NetBSD 1.4X (CROMARTY) #9: Wed May  3 23:49:51 BST 2000
     bjh21@cromarty:/usr/src/sys/arch/macppc/compile/CROMARTY macppc

>Description:
NetBSD's more(1) diverges from that specified by POSIX.2 in the following
ways:

more -n <number>, which should specify the screen size, isn't
supported.  more -n in NetBSD apparently suppresses line numbers.

more -p <command>, which should be equivalent to more +<command>,
performs a search instead.

Within more(1), the "s" command should "skip forward <count> lines, with a
default of 1", whereas it currents saves the input to a file.

>How-To-Repeat:
cromarty:~$ TERM=dumb more -n 2 /dev/null
2: No such file or directory
/dev/null  (press RETURN)

cromarty:~$ TERM=dumb more -p G /dev/null
Pattern not found  (press RETURN)

Run "more /usr/dict/words", press "s", note "log file:" prompt.

>Fix:

>Release-Note:
>Audit-Trail:

From: matthew green <mrg@eterna.com.au>
To: Ben Harris <bjh21@netbsd.org>
Cc: gnats-bugs@netbsd.org
Subject: re: standards/11219: less(1) is not compatible with POSIX.2 "more" 
Date: Sun, 15 Oct 2000 01:52:44 +1100

 FYI:  i believe there is an older PR from JTC about more(1) and POSIX.

From: Ben Harris <bjh21@netbsd.org>
To: matthew green <mrg@eterna.com.au>
Cc: gnats-bugs@netbsd.org
Subject: re: standards/11219: less(1) is not compatible with POSIX.2 "more"
Date: Sat, 14 Oct 2000 16:11:17 +0100 (BST)

 On Sun, 15 Oct 2000, matthew green wrote:

 > FYI:  i believe there is an older PR from JTC about more(1) and POSIX.

 I can't seem to find it.  Don't suppose you know the number, do you?

 -- 
 Ben Harris                                                   <bjh21@netbsd.org>
 Portmaster, NetBSD/arm26               <URL:http://www.netbsd.org/Ports/arm26/>

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.