summaryrefslogtreecommitdiff
path: root/distrib/special/more
AgeCommit message (Collapse)Author
2006-05-26remove references to CRTs where they no longer make sense;Jason McIntyre
tweaked by mickey/krw ok deraadt
2004-07-02Accept but ignore -E and -X since they specify default more(1) behavior.Todd C. Miller
2004-02-20- uppercase CRTJason McIntyre
- kill .Pp before list - \\ -> \e - "" -> .Sq
2003-09-04put escapes in the right place;Jason McIntyre
(i.e. stuff I got wrong the first time, or missed) this includes some .Cd's with missing quotes and .Nm abuse in man4;
2003-09-02escape punctuation;Jason McIntyre
ok deraadt@
2003-06-05Add my licenseTodd C. Miller
2003-06-05Attempt to deal w/ large files sanely by using off_t and fseeko().Todd C. Miller
2003-06-04Handle arbitrarily long lines and add a special case for \r\n pair;Todd C. Miller
just ignore the \r, otherwise we end up with a blank line. An \r in the middle of a line is left as-is.
2003-06-04Correctly set dlines on terminal resize; missed this in rev 1.20.Todd C. Miller
2003-06-04Fix for machines w/ unsigned chars; part from drahn@Todd C. Miller
Use 'ch' as variable name for int-sized characters (e.g. EOF) Use 'c' as variable name for char-sized characters
2003-06-04o print screensize - 1 lines for each screenful, not screensize - 2.Todd C. Miller
o get rid of tailequ(); use __progname to see if we were invoked as page
2003-06-04Check for alternate screen support and if it exists, don't print stuffTodd C. Miller
that would mess up the existing contents. This fixes some ugliness when running commands from more on an xterm.
2003-06-04Fix mergo that resulted in 2 copies of the handle_signal() function.Todd C. Miller
2003-06-04simplify some tty handling code:Todd C. Miller
o instead of otty and osavetty, use otty (original) and ntty (new) o only call tcsetattr() from set_tty() and reset_tty() o simplify set_tty() and reset_tty() o use isatty() instead of tcgetattr() to see if stdin is a tty o when we reset no_intty=0, also dup stderr -> stdin since stderr is a tty
2003-06-03Eliminate setjmp/longjmp by using interruptible syscalls when reading inputTodd C. Miller
from the user. The signal handlers are now safe (they just set a flag).
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999.
2003-05-29permit the input file to contain " if needed; millert okTheo de Raadt
2003-05-28We need the hard-coded dependency after all since special bitsTodd C. Miller
are not depended.
2003-05-28Fix ERASEONECHAR macro and BSB so we don't do sizeof(pointer).Todd C. Miller
Also remove some extraneous spaces.
2003-05-28even simpler help storage w/ a tweak from millert@Michael Shalayeff
2003-05-28errno saving in signal handlers; millert okTheo de Raadt
2003-05-28Revert last commit; it is not neededTodd C. Miller
2003-05-28No more help file, add /usr/bin/vi to FILES sectionTodd C. Miller
2003-05-28more.o needs to depend on morehelp.h since "make clean" removes morehelp.h.Todd C. Miller
2003-05-28help file incorporated, does not grow that much; millert@ okMichael Shalayeff
2003-05-28o use _POSIX_VDISABLE instead of hard-coding 255Todd C. Miller
o call strlcpy() instead of doing the equivalent inline o some cosmetic formatting changes
2003-05-28silence remaining gcc warning; now compiles -Wall cleanTodd C. Miller
2003-05-28o Deal with EDITOR not being a fully-qualified pathnameTodd C. Miller
o Silence a gcc warning
2003-05-28mdocify; with help from jmc@Todd C. Miller
2003-05-28Shrink a bit by replacing custom functions w/ libc equivalents.Todd C. Miller
There is no reason for more to have its own private printf() clone. Convert 3 one-line functions to macros and make the constant prompt strings #defines too.
2003-05-28o Some more KNFTodd C. Miller
o Check strlcpy() rval o Fix hardtabs assignment
2003-05-27KNF this sucka + some -Wall cleanageTodd C. Miller
2003-05-06more(1) now uses POSIX regex, no more ned for -lcompat; deraadt@ OKTodd C. Miller
2003-04-25strings... ok millert@, tedu@Thierry Deval
2003-04-17Pull in some POSIX and ANSI changes from the Linux versionTodd C. Miller
2003-04-17old 4.3BSD more; nice and smallTodd C. Miller