Commit Graph

17 Commits

Author SHA1 Message Date
Ruslan Ermilov
7f5103e510 Correct the script name to be "zless.sh". This avoids an extra cp/chmod
(from the sys.mk rule) while still installing it under the "zless" name.
2005-05-17 11:41:01 +00:00
Dag-Erling Smørgrav
2430592ce1 Add a zless script which invokes less using the lesspipe script. This is
similar to the zmore script that comes with gzip (and in fact, in most
Linux distros, zless is a symlink to that very same zmore script) but has
the advantage that you get the correct file name on the less status line,
and can use :n and :p to navigate back and forth between multiple files.

MFC after:	1 week
2005-05-17 11:14:11 +00:00
Dag-Erling Smørgrav
40d28fe140 Handle presumably uncompressed files with cat; exec the handlers.
MFC after:	1 week
2005-05-17 11:08:11 +00:00
Tim J. Robbins
6c488bf29c Restore old value of LESSKEYFILE_SYS. 2004-04-17 07:48:21 +00:00
Tim J. Robbins
55e19c81cb Regenerate with less 381 configure script. 2004-04-17 07:46:08 +00:00
Jun Kuriyama
3a624f5e23 Use
cat ${.ALLSRC} > ${.TARGET}
rather than
	ln -sf ${.ALLSRC} ${.TARGET}
not to depends on absolute-path of symbolic links.

Commented by:  marcel, obrien, bde
2003-06-06 13:46:55 +00:00
David E. O'Brien
f07cfbf5d4 Add an embellished lesspipe.sh as described in the man page.
P.S. it is stupid I have to define both SCRIPTS and SCRIPTSNAME.
2003-03-06 04:35:48 +00:00
Johan Karlsson
0c21294cee Use ${BINDIR} instead of hardcoded path.
PR:		44582
Submitted by: 	Jon Disnard <jon.disnard@ca.com>
Reviewed by:	ru
MFC after:	3 weeks
2002-12-18 10:14:01 +00:00
Paul Saab
fb05bfba06 Update for less v371 2002-01-07 20:37:33 +00:00
Ruslan Ermilov
dc12be5258 MAN[1-9] -> MAN. 2001-03-27 10:52:19 +00:00
Andrey A. Chernov
59efcec109 ncurses -> termcap 2000-07-14 16:17:42 +00:00
Paul Saab
d4673883f0 Upgrade to less v358. 2000-07-14 09:59:37 +00:00
Bruce Evans
81ae6b6341 Fixed some style bugs. Apart from formatting bugs, MANDEPEND is deprecated
and $< and $@ are even documented as deprecated.
2000-06-03 11:39:38 +00:00
Paul Saab
2f20458059 Install a manpage for more. 2000-05-23 08:26:15 +00:00
Paul Saab
c586c5db07 Detach usr.bin/more and install a link from less. less will behave
like more if invoked as more.  The old more has not been removed.
2000-05-23 08:16:25 +00:00
Paul Saab
5b6a15c73d Dont use/install the formatted man file. 2000-05-22 10:43:56 +00:00
Paul Saab
6f7d2d90ce bmake glue for less.
Reviewed by:	peter
2000-05-22 10:00:00 +00:00