summaryrefslogtreecommitdiff
path: root/usr.bin/less
AgeCommit message (Collapse)Author
2007-11-24some spelling fixes from Martynas VenckusJason McIntyre
2007-11-03main build can only happen after configure has run.Marc Espie
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-30some i missed...Jason McIntyre
- consistent text for STANDARDS - note which options are extensions to POSIX
2007-04-19Update to less version 382. This removes some code that is licensed underMarc Balmer
a non-BSD license and which was not used on OpenBSD. No functional changes. From Daniel Dickmann <didickman@gmail.com>, ok itojun, millert, ray, matthieu
2007-03-20remove some bogus *p tests from charles longeauTed Unangst
ok deraadt millert
2007-03-15sort options; from Igor SobradoJason McIntyre
2006-12-06Don't access buf[strlen(buf) - 1] for zero-length strings.Ray Lai
OK jaredy@.
2006-10-14Allow less to build in Makefile.cross environment.Dale Rahn
2006-10-10Fix an instance of foo[strlen(foo) - 1] = something, which is dangerousChad Loder
because strlen(foo) could be 0. OK beck@
2006-05-26remove references to CRTs where they no longer make sense;Jason McIntyre
tweaked by mickey/krw ok deraadt
2006-05-23Fix removing of trailing space in file name completion list.Otto Moerbeek
From Matthew Haub; ok krw@
2006-04-02use SEEK_* for lseek()Theo de Raadt
2006-01-11Fix recovery of realloc failure, which causes a segv on files withOtto Moerbeek
very lone lines, as reported by Steffen Wendzel. ok deraadt@
2005-08-27Fix off-by-one when moving a line to the end of the buffer. InsteadTodd C. Miller
of doing our own memmove() (incorrectly) just use memmove(). Bug found by Matthias Scheler <tron@zhadum.de>. OK deraadt@ henning@ krw@
2005-04-11use STDERR_FILENO; ok cloderTheo de Raadt
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