From owner-freebsd-small Sat Jul 1 19:19: 7 2000 Delivered-To: freebsd-small@freebsd.org Received: from workhorse.iMach.com (workhorse.iMach.com [206.127.77.89]) by hub.freebsd.org (Postfix) with ESMTP id 7261937B580 for ; Sat, 1 Jul 2000 19:18:54 -0700 (PDT) (envelope-from forrestc@imach.com) Received: from localhost (forrestc@localhost) by workhorse.iMach.com (8.9.3/8.9.3) with ESMTP id TAA25382; Sat, 1 Jul 2000 19:19:14 -0600 (MDT) Date: Sat, 1 Jul 2000 19:19:14 -0600 (MDT) From: "Forrest W. Christian" To: Roger Hardiman Cc: small@FreeBSD.ORG Subject: Re: 'more' has gone from the 5.x/4.x sources. more is less In-Reply-To: <395DB4AF.33316E1A@cs.strath.ac.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Is there a reason why we can't just write a 10 line version of more and include it in the shell or include it in tinyware? Ala: (buggy pseudocode follows) if argc==1 then open file described by argv[1] otherwise use STDIN. while (!eof) { line++; read from file; is line modulus 24==0? if yes, print more prompt and wait for keystroke } close file if opened. Even more seems like overkill. After, all we REALLY need is a pager. If we need more, use ee. Just curious, is there a "tinyer" version of vi floating around? (Yes I am a vi addict - I even use it under windows). On Sat, 1 Jul 2000, Roger Hardiman wrote: > Date: Sat, 01 Jul 2000 10:06:55 +0100 > From: Roger Hardiman > To: small@FreeBSD.ORG > Subject: 'more' has gone from the 5.x/4.x sources. more is less > > Hi, > > The 'more' command has now been removed from the FreeBSD 5.x and 4.x > source tree (was /src/usr.bin/more) > > The main FreeBSD source is now using GNU 'less' which is now part of the > main source tree at /usr/src/contrib/less. > > There is a symbolic link created for 'more' which maps it to less. > > > What do we want to do with PicoBSD which puts 'more' on a > few disks. > > We can > a) use the new 'less' which is a little _bigger_ than 'more' > b) copy the old BSD 'more' over to Tinyware and keep using it there? > c) make PicoBSD get the new port '44BSD-more' which is the old more > source. > but that means we always have to link in a port with PicoBSD > > I'm trying to get PicoBSD on 4.x working ready for the 4.1 > release, and this has beome my next problem to resolve. > > Roger > -- > Roger Hardiman > Strathclyde Uni Telepresence Research Group, Glasgow, Scotland. > http://www.telepresence.strath.ac.uk 0141 548 2897 > roger@cs.strath.ac.uk > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-small" in the body of the message > - Forrest W. Christian (forrestc@imach.com) AC7DE ---------------------------------------------------------------------- iMach, Ltd., P.O. Box 5749, Helena, MT 59604 http://www.imach.com Solutions for your high-tech problems. (406)-442-6648 ---------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message