summaryrefslogtreecommitdiff
path: root/usr.bin/less
AgeCommit message (Collapse)Author
2004-12-30these pages already have their copyrights contained within the mainJason McIntyre
body of the page, commented out; no point in giving them their own COPYRIGHT sections, so remove them;
2004-12-19use strchr instead of indexTheo de Raadt
2004-11-29Spell precede correctly.Jonathan Gray
'looks fine' millert@, krw@. ok jmc@
2004-08-23Do %s replacement for LESSOPEN and LESSCLOSE ourselves insteadTodd C. Miller
of using snprintf(). Based on a patch from Brent Graveland. Ok tdeval@ and otto@
2004-04-25isprint() doesn't consider all whitespace to be printable so useTodd C. Miller
isspace() too. Problem noticed by cedric@ and diagnosed by deraadt@. OK deraadt@.
2004-04-08When reallocating the line buffer, double the existing bufferTodd C. Miller
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@
2004-02-20uppercase CRT;Jason McIntyre
2004-01-23`Ns' implies `No', so `Ns No' -> `Ns'; (even simpler in adduser(8))Jason McIntyre
discussed with todd@
2003-11-30- .Sh WARNINGS -> standard .Sh CAVEATSJason McIntyre
- tidy up AUTHORS - standard section order - kill whitespace at EOL
2003-11-30- document LESSKEY_SYSTEM and /etc/syslessJason McIntyre
- add ENVIRONMENT and FILES sections - .Sh WARNINGS -> standard .Sh CAVEATS - simplify SYNOPSIS - kill whitespace at EOL - some macro cleanup - standard section order
2003-11-08typos from Jonathon Gray;Jason McIntyre
2003-09-25Call fsync() _after_ tcsetattr() and pass tcsetattr the TCSASOFTTodd C. Miller
flag. Seems to help the occasional problem with messed up terminal input after suspending less.
2003-09-02escape punctuation;Jason McIntyre
ok deraadt@
2003-08-18We distribute less under a 2-term BSD-style license. Update COPYRIGHTTodd C. Miller
section based on less's LICENSE file.
2003-08-18We distribute less under a 2-term BSD-style license. Update COPYRIGHTTodd C. Miller
section based on less's LICENSE file.
2003-08-06Remove some double semicolons (hmm, do two semis equal a maxi?).Todd C. Miller
I've skipped the GNU stuff for now. From Patrick Latifi.
2003-08-01another round of missing system includesDavid Krause
ok tedu@
2003-07-14- escape %{B,D,P} to prevent groff trying to expand themJason McIntyre
- remove some unnecessary .Pp's
2003-06-18Use OPT_ONPLUS instead of hard-coding '2'Todd C. Miller
2003-06-18Fix sizeof(char *) in snprintf that broke the -N option.Todd C. Miller
2003-06-10- section reorderJason McIntyre
- COMPATIBILITY merge - macro cleanup - kill whitespace at EOL - new sentence, new line ssh pages ok markus@
2003-06-07Use interruptible syscalls instead of setjmp/longjmp. This makesTodd C. Miller
less's signal handlers safe. No one has reported problems so far...
2003-06-04It turns out that POSIX specifies more should prompt with the file name,Todd C. Miller
not --More-- like the old UCB more did. Back out a hack I did to make the prompt look like the old UCB more.
2003-05-08AUTHOR -> AUTHORS in .Sh, as per mdoc template.Jason McIntyre
2003-04-22Tell glob() to do tilde and brace expansion too.Todd C. Miller
2003-04-17Hard-code charset if SMALLTodd C. Miller
2003-04-16no more less.nroTodd C. Miller
2003-04-16mdoc format man pages from jmc@Todd C. Miller
2003-04-14No more LESSECHO environment variableTodd C. Miller
2003-04-14help.o now needs HELPFILE defined tooTodd C. Miller
2003-04-14less uses the "lessecho" command to do globbing on systems thatTodd C. Miller
don't have libc glob routines. We have glob(3) but for some reason, less only uses this on DOS w/ djgppc. I have pared down lglob.h to just have the glob(3) bits and to include glob.h itself. This removes the need for lessecho on OpenBSD.
2003-04-14Make the GNU_OPTIONS define actually do something (was a no-op)Todd C. Miller
2003-04-14o go back to using a help file instead of embedding it in the binaryTodd C. Miller
o deal with HELPFILE not being defined o add a SMALL definition to make a smaller less for the boot floppies This still needs to be pared down a bit for the SMALL case
2003-04-13Whoops, this is less 381, not 390 (my mistake)Todd C. Miller
2003-04-13Merge in less-381 w/ local changes and remove obsolete files.Todd C. Miller
2003-04-13Stock less-390 with some unneeded DOS/Windoze files removedTodd C. Miller
2003-04-10Only print the "helpful" prompt in -d mode if there is room on theTodd C. Miller
bottom line for it. Closes PR 3189.
2003-04-06more strlcpy/strlcat/snprintf, less strcpy/strcat/sprintfTheo de Raadt
reviewed by tdeval, millert, dhartmei and others. more bits coming here from some of them i think
2003-04-06very simple strlcat callsTheo de Raadt
2003-04-05some more string shit; krw okTheo de Raadt
2003-03-13lots of sprintf -> snprintf and strcpy -> strlcpy; checked by teduTheo de Raadt
2002-12-31Typoes; jmc AT prioris DoT mini DoT pw DoT edu DoT plTodd C. Miller
2001-11-19kill more registersMike Pechkin
millert@ ok
2001-09-25let configure script use GNUSYSTEM_AUX_DIRMarc Espie
2001-01-29$OpenBSD$Niklas Hallqvist
2001-01-26Fix for PR1643; constrain indices into "table" to be < table_sizeTodd C. Miller
so we don't go off and return random, unallocated bits.
1999-03-05provide support for -- argument seperatorTheo de Raadt
1999-02-20First step at supporting files > 2gig. Use off_t as POSITIONTodd C. Miller
and replace get_maxlong() with a get_maxpos() and modify percentage() appropriately. There are still problems seeking to the end of a large file and line numbers should probably be 64bit (or at the very least unsigned). This has been sitting in my tree for quite some time now so I am committing what I have now since I don't know when I'll have a chance to really finish it.
1999-02-03Use ${COPTS}; wd@ics.nara-wu.ac.jpTodd C. Miller
1998-10-18set PATH before running configure since we can't rely on the user's path ↵Todd C. Miller
being sane