Subject: bin/2479: more -e option is poorly designed
To: None <gnats-bugs@NetBSD.ORG>
From: None <davide@PIPER.NECTAR.CS.CMU.EDU>
List: netbsd-bugs
Date: 05/29/1996 04:03:56
>Number:         2479
>Category:       bin
>Synopsis:       more -e option is poorly designed
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 29 04:20:05 1996
>Originator:     David Eckhardt
Carnegie Mellon University, Department of CS
>Release:        1.1
	System: NetBSD 1.1 NetBSD 1.1 (GENERICOTHER) #1: Wed Mar 6 20:50:20 EST 1996 i386

	The man page for more -e correctly writes:
     -e    Normally, if displaying a single file, more exits as soon as it
           reaches end-of-file.  The -e option tells more to exit if it reach-
           es end-of-file twice without an intervening operation.  If the file
           is shorter than a single screen more will exit at end-of-file re-
	This behavior is wrong when there are multiple files and one file
    is shorter than a single screen.  For example, imagine files a,b,c
    with b shorter than a screen.  More will display a normally, throw
    b up on the screen, and then cover it up or scroll it away with c.
	See above.
	make -e do the "right" thing regardless of file length.