packages icon

README for "more"
Written by Sal Valente <svalente@mit.edu>
$Date: 1995/11/29 23:53:43 $

This is the "more" pager from old versions of BSD, up to BSD 4.3.
According to the the source file, it was SCCS version 5.19, originally
written in 1980, last modified at Berkely in 1988.  This particular
version has been floating around the Linux ftp sites for the past few
years, and has probably been slightly modified by a cast of thousands.

Anyway, I added the ability to go backwards when reading from a
pipe, because it's a useful feature.

(This feature exists in the popular "less" pager.  But I never really
liked "less", mostly because it doesn't handle the "-c" option as well
as "more" does.)

There are probably some other cool features that "more" does not have
and that other pager do have.  If you can think of one of these
features, please add it and send me a patch.  :-)

Building "more"
---------------

You must use an ANSI compiler.

You must have a BSD compatible "termcap" library.  If you do not have
one, you can use the either GNU ncurses or termcap library, which are
available at ftp://prep.ai.mit.edu/pub/gnu/.

You must have the POSIX regexp() functions in your C library.  If you
do not have these, you can use the either GNU rx or regex library.

You need to have the POSIX termios functions in your C library.

magic.c is very non-portable.  If you can't figure out how to get it
to compile on your system, just comment out the whole function.
("more" uses this function to determine if a file is text or binary.
It's a nice feature, but is not absolutely necessary.)

You will probably hate where the Makefile installs stuff.  If you
change where "more.help" is installed, remember to change pathnames.h
as well.

Have a nice day.
Sal Valente
<svalente@mit.edu>
http://www.mit.edu:8001/people/svalente/home.html