summaryrefslogtreecommitdiff
path: root/usr.bin/less
AgeCommit message (Collapse)Author
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
1998-07-20use sc_e_keypad, sc_s_keypad, and use ti/te. Undoes previous revs which ↵Theo de Raadt
disabled. Unclear why that was done, must wait for that old bug to resurface and fix it in a different way
1998-07-17better example w/o /tmp race. Noted by Oleg Safiullin <form@vs.itam.nsc.ruTodd C. Miller
1998-05-13less "-d" descriptions swapped; mouse@Rodents.Montreal.QC.CATheo de Raadt
1997-11-12Do termios ops on /dev/tty if available, else fd 2.Todd C. Miller
1997-11-12TCSADRAIN -> TCSANOW. Using TCSADRAIN appears to cause a race conditionTodd C. Miller
whereby the change is done with the wrong tcpgrp. This fixes suspending less/more when invoked in mail(1) or via sh -c "less somefile".
1997-09-05s/$(CF)/${CF}/kstailey
1997-08-01tabify.kstailey
1997-08-01reduce GLOBAL_AUTOCONF_CACHE code.kstailey
1997-07-29Changed the rules.kstailey
The variable is now GLOBAL_AUTOCONF_CACHE. You must set it to the name of the cache file to use. Ether "setenv GLOBAL_AUTOCONF_CACHE /var/tmp/foo" or add it to /etc/mk.conf
1997-07-29Start of GLOBAL_CACHE option to speed compiles.kstailey
This change should have no effect by default. "setenv GLOBAL_CACHE" or add GLOBAL_CACHE to /etc/mk.conf to activate. Global cache files are on a per-account basis to deal with security.
1997-06-23respect NOMAN during installkstailey
1997-06-22respect NOMAN!kstailey
1997-04-27COPY -> INSTALL_COPY and STRIP -> INSTALL_STRIPTodd C. Miller
This fixes namespace problems where STRIP is sometimes used as the name of the strip(1) to use and other times used as the flag to send install(1) when stripping (or not). COPY doesn't have this problem (yet) but was poorly named.