add SMALL
using a help file instead of embedding it in the binary
Remove extra `.' from -m prompt string. From Daniel Malament danielm
at bluetiger dot net, PR 6234.
add more -d
Fix removing of trailing space in file name completion list.
Fix off-by-one when moving a line to the end of the buffer.  Instead
of doing our own memmove() (incorrectly) just use memmove().
Bug found by Matthias Scheler <tron@zhadum.de>.
OK deraadt@ henning@ krw@
When reallocating the line buffer, double the existing buffer
size instead of just incrementing it by LINEBUF_SIZE and use realloc()
+ memset() instead of calloc() + memcpy().  Prevents excessive resource
usage when displaying very long lines.  OK deraadt@, krw@ and otto@
Fix recovery of realloc failure, which causes a segv on files with
very lone lines, as reported by Steffen Wendzel.  ok deraadt@

When reallocating the line buffer, double the existing buffer
size instead of just incrementing it by LINEBUF_SIZE and use realloc()
+ memset() instead of calloc() + memcpy().  Prevents excessive resource
usage when displaying very long lines.  OK deraadt@, krw@ and otto@
Use interruptible syscalls instead of setjmp/longjmp. This make
less's signal handlers safe. No one has reported problems so far...
Incorporate less modifications for more
Call fsync() _after_ tcsetattr() and pass tcsetattr the TCSASOFT
flag. Seems to help the occasional problem with messed up terminal
input after suspending less.
remove unneed SMALL
add openbsd patch
Repair interrupted reads; fixes ^Z. OK deraadt@
return the old behaviour for "more":
if you press F ^C, you would be left at a prompt at the end of the file.

ok nicm@
Don't create a history file called -... doh. Pointed out by jmc.
Reverse the default of the -c flag from off to on to prevent the text
being displayed in the wrong place initially and then jumping when first
redrawn (such as when searching).

ok deraadt sthen
Quit if write(2) returns -1 when writing to the tty, which can
happen if the tty is revoked.  OK deraadt@
fix a leak in an error path
ok krw@ deraadt@
In "more" mode, POSIX says the command specified by the -p option
should apply to every edited file, not just the first one.  It is
equivalent to less's ++ option.  Patch sent to upstream.  OK shadchin@