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@
Unlike less, more should use basic regular expressions.
OK schwarze@
Use volatile sig_atomic_t, not int, for the sigs variable. Also
move the call to bell() out of u_interrupt() (a signal handler).
OK and with help from deraadt@
Makefile's
add man page from OpenBSD