summaryrefslogtreecommitdiff
path: root/usr.bin/less/main.c
AgeCommit message (Expand)Author
2021-09-23Remove wpath from secure mode pledge.Tobias Stoeckmann
2019-06-28asprintf returns -1, not an arbitrary value < 0. Also upon error theTheo de Raadt
2018-03-17Split only LESS on $.Kenneth R Westerback
2016-09-17little bit more KNFTheo de Raadt
2016-08-28Check the MORE (or LESS) environment variables after forcing the variousNicholas Marriott
2016-03-16style(9) includesmmcc
2016-01-12remove lint annotationsmmcc
2015-11-20spacesTheo de Raadt
2015-11-14Correct check flipped in earlier commit.Philip Guenther
2015-11-13Add a flag argument to flush() to stop it calling quit() on error, thenNicholas Marriott
2015-11-11exit if pledge failsTheo de Raadt
2015-11-09use perror() instead, as in lesskeyTheo de Raadt
2015-11-09stop acting like "more" if progname is "page"; ok millertTheo de Raadt
2015-11-09NULL_IFILE has no weird use patterns. NULL is sufficient.Theo de Raadt
2015-11-09error() is not a stdarg function, so there is no reason for NULL_PARGTheo de Raadt
2015-11-093 pledge calls; 2 are for secure mode and will help track down if thisTheo de Raadt
2015-11-09do not save history in secure modeTheo de Raadt
2015-11-09close_getchr() is now a noopTheo de Raadt
2015-11-07replace save() with estrdup() and make estrdup() exit like all the otherTed Unangst
2015-11-06Garrett D'Amore has agreed to moving his copyright line up above theNicholas Marriott
2015-11-05whitespaceTheo de Raadt
2015-11-05Replace less with the cleaned-up fork of less 458 maintained by GarrettNicholas Marriott
2014-05-13All callers of helpfile() are #ifdef SMALL so only define thatTodd C. Miller
2014-05-10Give more(1) its own help file, shorter than the one for less(1).Ingo Schwarze
2014-04-25Make more(1) POSIX compliant with respect to the -e option.Ingo Schwarze
2014-04-25Merge Less 458 plus local patchesAlexandr Shadchin
2012-03-27Reverse the default of the -c flag from off to on to prevent the textNicholas Marriott
2011-09-16Merge in less 444 plus local changesAlexandr Shadchin
2010-07-03use SMALL_PROGRAM to knock out some codeTheo de Raadt
2003-06-04It turns out that POSIX specifies more should prompt with the file name,Todd C. Miller
2003-04-14o go back to using a help file instead of embedding it in the binaryTodd C. Miller
2003-04-13Merge in less-381 w/ local changes and remove obsolete files.Todd C. Miller
2003-04-05some more string shit; krw okTheo de Raadt
2001-11-19kill more registersMike Pechkin
2001-01-29$OpenBSD$Niklas Hallqvist
1999-03-05provide support for -- argument seperatorTheo de Raadt
1996-09-21Incorporate less modifications for more and our bug fixes from previousetheisen
1996-09-21Import of unmolested less-290.etheisen