Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Jul 2000 19:19:14 -0600 (MDT)
From:      "Forrest W. Christian" <forrestc@imach.com>
To:        Roger Hardiman <roger@cs.strath.ac.uk>
Cc:        small@FreeBSD.ORG
Subject:   Re: 'more' has gone from the 5.x/4.x sources. more is less
Message-ID:  <Pine.BSF.4.21.0007011914390.25330-100000@workhorse.iMach.com>
In-Reply-To: <395DB4AF.33316E1A@cs.strath.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <roger@cs.strath.ac.uk>
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0007011914390.25330-100000>