./misc/less, Pager similar to more and pg

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 551, Package name: less-551, Maintainer: leot

Less is a pager program more advanced than more(1). Its features include
backward movement, searching and highlighting, multiple files, bold and
underlining, key bindings (using lesskey(1)), customized tab stops,
filters for different file types, custom character sets, line numbering,
custom prompts, and many more.

Also, less does not have to read the entire input file before starting,
so with large input files it starts up faster than text editors like
vi(1).

This package also includes the lessecho command which can expand
metacharacters, such as * and ?, in filenames.

This version of less was written by and is maintained by Mark Nudelman.


Required to build:
[pkgtools/cwrappers]

Package options: regexp

Master sites:

SHA1: 7a2dbccd46697ba17189b1e19f75eee5115c19a2
RMD160: 7011513218523819c0565ffdda305c432a034c11
Filesize: 338.874 KB

Version history: (Expand)


CVS history: (Expand)


   2019-11-03 18:04:28 by Roland Illig | Files touched by this commit (71)
Log message:
misc: align variable assignments

pkglint -Wall -F --only aligned --only indent -r

No manual corrections.
   2019-06-15 12:03:38 by Leonardo Taccari | Files touched by this commit (3) | Package updated
Log message:
less: Update to 551

pkgsrc changes:
 - Adjust regexp options to better match the underlaying configure semantic
   by introducing a `regex' group and having `pcre' and `regexp' as possible
   options.
 - Update LICENSE to reflect the licenses really used
 - Take MAINTAINERship

Changes:
Major changes between "less" versions 530 and 551
 * Add --mouse option.
 * Add --wheel-lines option.
 * Add --no-histdups option.
 * Add --save-marks option.
 * Support PCRE2 regular expression library.
 * Redraw screen on SIGWINCH even if screen size doesn't change.
 * Shell-escape filenames in history so they can be used again.
 * Ring bell if user enters invalid long option name.
 * Use PCRE_UTF8 flag for pcre regular expressions when in UTF-8 mode.
 * Windows: use wide-char string to set console title.
 * Don't count lines in initial screen if using -X with -F.
 * Support mingw build system.
 * Fix bug in v command on empty file.
 * Fix bug in v command when filename contains shell metacharacters.
   2018-04-11 10:49:09 by Leonardo Taccari | Files touched by this commit (2) | Package updated
Log message:
less: Update misc/less to less-530

Discussed with and ok by <bouyer>, thanks!

pkgsrc changes:
 - Reset MAINTAINER to pkgsrc-users@

Changes:
530
---
* Don't output terminal init sequence if using -F and file fits on one screen.
* When using -S, mark truncated lines with a special character.
  The character can be changed or disabled via the new --rscroll option.
* New command M marks the last line displayed on the screen.
* New command ESC-m removes a line mark.
* Status column (enabled via -J) now shows mark letters.
* Status column shows search matches even if highlighting is disabled via -G.
* A second ESC-u command will clear search match markers in the status column.
* Do same ANSI escape code filtering for tag matching that we do for
  searching, to help when viewing syntax-highlighted code.
* Catch SIGTERM and clean up before exiting.
* Fix bug initializing default charset on Windows.
* Handle keypad ENTER key correctly if it sends something other than newline.
* Fix buffering bug when using stdin with a LESSOPEN pipe.
* On Windows, allow 'u' in -D option to enable underlining.
* On Windows, use underline in sgr mode.
* On Windows, convert UTF-8 to multibyte if console is not UTF-8.
* Update Unicode tables to 2017-03-08.
* Pass-thru Unicode formating chars (Cf type) instead of treating them
  as binary chars. But treat them as binary if -U is set.
* Fix erroneous binary file warning when UTF-8 file contains ANSI SGR sequences.
* Fix bugs when using LESSOPEN and switching between stdin and other files.
* Fix some bugs handling filenames containing shell metacharacters.
* Fix some memory leaks.
* Allow some debugging environment variables to be set in lesskey file.
* Code improvements:
  - Use ANSI prototypes in funcs.h declarations.
  - Fix some const mismatches.
  - Remove archaic "register" in variable declarations.

487
---
* New commands ESC-{ and ESC-} to shift to start/end of displayed lines.
* Make search highlights work correctly when changing caselessness with -i.
* New option -Da in Windows version to enable SGR mode.
* Fix "nothing to search" error when top or bottom line on screen is empty.
* Fix bug when terminal has no "cm" termcap entry.
* Fix incorrect display when entering double-width chars in search string.
* Fix bug in Unicode handling that missed some double width characters.
* Update Unicode database to 9.0.0.
   2018-01-01 23:30:04 by Roland Illig | Files touched by this commit (537)
Log message:
Sort PLIST files.

Unsorted entries in PLIST files have generated a pkglint warning for at
least 12 years. Somewhat more recently, pkglint has learned to sort
PLIST files automatically. Since pkglint 5.4.23, the sorting is only
done in obvious, simple cases. These have been applied by running:

  pkglint -Cnone,PLIST -Wnone,plist-sort -r -F
   2015-11-07 21:18:42 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Update less to 481:

	Major changes between "less" versions 458 and 481

* Don't overwrite history file; just append to it.

* New command ESC-G goes to end of currently buffered data in a pipe.

* Disable history feature when compiled with LESSHISTFILE set to "-".

* In more-compatible mode, make the -p option apply to every file opened,
  not just the first one.

* In more-compatible mode, change the -e option to work like -E, not -EF.

* Treat multiple CRs before LF are like one CR (all the CRs are hidden).

* Allow "extra" string in lesskey file to append to a multi-char command
  (like a search pattern), without executing the command.

* Ignore -u/-U setting while viewing help file, so that
  underline and bold chars are displayed correctly.

* Improve detection of "binary" files in UTF-8 mode.

* Fix bug with ++ commands.

* Fix bug where prompt was sometimes not displayed with +G.

* Fix possible memory corruption

* Fix bugs and improve performance in ampersand filtering.

* Automate construction of Unicode tables from Unicode database.

* Allow %% escape sequence in LESSOPEN variable.
   2015-11-04 00:49:56 by Alistair G. Crooks | Files touched by this commit (330)
Log message:
Add SHA512 digests for distfiles for misc category

Problems found locating distfiles:
	Package colorls: missing distfile ls.tar.gz
	Package molden: missing distfile molden-4.6/molden4.6.tar.gz
	Package softmaker-office-demo: missing distfile ofl06trial.tgz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2015-04-13 14:33:49 by Tobias Nygren | Files touched by this commit (3) | Package updated
Log message:
Update to less-475. Changes since 470:
* Fix possible memory corruption
* Disable history feature when compiled with LESSHISTFILE set to "-".
* Fix bug where prompt was sometimes not displayed with +G.

Also contains a fix for CVE-2014-9488 (oob read on malformed UTF-8 data)
   2014-12-08 01:55:58 by Blue Rats | Files touched by this commit (2)
Log message:
Less version 470

Version 470 was released on 6 Oct 2014.

These are the differences between version 458 and version 470:

 * Don't overwrite history file; just append to it. This behaves better when
   multiple sessions are running less simultaneously and using the same history
   file.
 * New command ESC-G goes to end of currently buffered data in a pipe.
 * In more-compatible mode, make the -p option apply to every file opened, not
   just the first one.
 * In more-compatible mode, change the -e option to work like -E, not -EF.
 * Treat multiple CRs before LF are like one CR (all the CRs are hidden).
 * Allow "extra" string in lesskey file to append to a multi-char \ 
command (like
   a search pattern), without executing the command.
 * Ignore -u/-U setting while viewing help file, so that underline and bold
   chars are displayed correctly.
 * Improve detection of "binary" files in UTF-8 mode.
 * Fix bug with ++ commands.
 * Fix bugs and improve performance in ampersand filtering.
 * Automate construction of Unicode tables from Unicode database.