summaryrefslogtreecommitdiff
path: root/usr.bin/less
AgeCommit message (Collapse)Author
2012-05-17Quit if write(2) returns -1 when writing to the tty, which canTodd C. Miller
happen if the tty is revoked. OK deraadt@
2012-03-30make the description of -c a little saner; ok nicmJason McIntyre
2012-03-27Reverse the default of the -c flag from off to on to prevent the textNicholas Marriott
being displayed in the wrong place initially and then jumping when first redrawn (such as when searching). ok deraadt sthen
2011-11-16Don't create a history file called -... doh. Pointed out by jmc.Nicholas Marriott
2011-11-15Disable LESSHISTFILE by default, requested by deraadt.Nicholas Marriott
2011-10-08return the old behaviour for "more":Alexandr Shadchin
if you press F ^C, you would be left at a prompt at the end of the file. ok nicm@
2011-09-21Fix mismerged copyright noticeTodd C. Miller
Use strlcpy() not snprintf() to copy a simple string. OK deraadt@
2011-09-21Use volatile sig_atomic_t, not int, for the sigs variable. AlsoTodd C. Miller
move the call to bell() out of u_interrupt() (a signal handler). OK and with help from deraadt@
2011-09-21Repair interrupted reads; fixes ^Z. OK deraadt@Todd C. Miller
2011-09-16tweak previous;Jason McIntyre
2011-09-16add missing Makefile.incAlexandr Shadchin
2011-09-16Merge in less 444 plus local changesAlexandr Shadchin
ok nicm@
2011-09-16Import of Less 444Alexandr Shadchin
ok nicm@
2011-05-02no need to escape `|'; as discussed with schwartzeJason McIntyre
2011-02-03LC_TYPE -> LC_CTYPE; from Alexander PolakovJason McIntyre
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