summaryrefslogtreecommitdiff
path: root/usr.bin/less
AgeCommit message (Collapse)Author
2010-10-28more roff adjustments;Jason McIntyre
2010-08-09Match -m prompt string in man page with code. From Daniel MalamentRay Lai
danielm at bluetiger dot net, PR 6234. OK millert
2010-08-09Remove extra `.' from -m prompt string. From Daniel Malament danielmRay Lai
at bluetiger dot net, PR 6234. OK millert
2010-07-03use SMALL_PROGRAM to knock out some codeTheo de Raadt
2010-07-02tags.c isn't needed at all, so exclude the entire object instead ofPhilip Guenthe
commenting it out top-to-bottom ok deraadt@
2010-04-09- fix up SYNOPSIS; it's not perfect yet though...Jason McIntyre
- couple of other tweaks while in here
2010-02-28%t didn't properly remove trailing spaces from the end of the prompt.Jasper Lievisse Adriaanse
patch from daniel malament in pr 6235 ok millert@
2009-10-22use the UNIX-related macros (.At and .Ux) where appropriate.Igor Sobrado
ok jmc@
2009-02-10STANDARDS:Jason McIntyre
mark these utilities as being either optional (SD/FR/UP); or as being compliant only with XPG4 (XSI); strip.1 and talk.1 are tweaked purely for consistency; thanks otto for feedback
2009-02-08bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a fewJason McIntyre
updates to follow;
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