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

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


Branch: CURRENT, Version: 530, Package name: less-530, Maintainer: pkgsrc-users

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]

Master sites:

SHA1: d8ba1f43e88b706ef701f978cd3262b5b44dffd6
RMD160: 84b4f46be4f93e7a6db3817d43d0bfd1d01d4ff5
Filesize: 331.761 KB

Version history: (Expand)


CVS history: (Expand)


   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.
   2013-06-09 10:36:38 by Ryo ONODERA | Files touched by this commit (2) | Package updated
Log message:
Update to 458

Changelog:
Version 458 was released on 4 Apr 2013.

These are the differences between version 451 and version 458:

    Allow backslash escaping of metacharacters in LESS environment variable if \ 
the --use-backslash option is set.
    Don't quit if syntax errors are found in command line options.
    Increase sizes of some internal buffers.
    Fix configure bug with --with-regex=none.
    Fix crash with "stty rows 0".
    Fix Win32 attribute display bug.
    Fix display bug when using up/down arrow on the command line.

Version 451 was released on 21 Jul 2012.

These are the differences between version 444 and version 451:

    Add ESC-F command to keep reading data until a pattern is found.
    Use exit code of LESSOPEN script if LESSOPEN starts with "||".
    When up/down arrow is used on the command line immediately after typing \ 
text, the next command starting with that text is found.
    Add support for GNU regex.
    Add configure option --with-regex=none and fix compile errors when compiling \ 
with no regex library.
    Fix bugs handling SGR sequences in Win32.
    Fix possible crashes caused by malformed LESSOPEN or LESSCLOSE variables.
    Fix bug highlighting text which is discontiguous in the file due to \ 
backspace processing.
    Fix bug in displaying status column when scrolling backwards with -J and -S \ 
in effect.
   2012-10-08 11:57:42 by Aleksej Saushev | Files touched by this commit (239)
Log message:
Drop PKG_DESTDIR_SUPPORT setting, "user-destdir" is default these days.