Commit Graph

16 Commits

Author SHA1 Message Date
rin a1a710f899 PR bin/50123 (myself): less and lesskey do not depend on libcurses and
libterminfo, respectively.
2016-12-10 13:44:51 +00:00
tron 2733e622de Don't ring the terminal bell if the user forward-searches for a string
that appears in the first displayed line.

This patch was supplied by M. Levinson in PR bin/45451.
2013-09-04 20:02:10 +00:00
tron ec18bca04f Resolve conflicts from last import. 2013-09-04 19:44:21 +00:00
tron 749ad2fa00 Import version 458 of "less". Changes since version 444:
* Allow backslash escaping of metacharacters in LESS environment variable
  after the --use-backslash option.
* 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 display bug when using up/down arrow on the command line.
* 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 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.
2013-09-04 19:35:02 +00:00
jym a3113f57aa Document the MORE environment variable.
Noted by James K. Lowden <jklowden _at_ schemamania _dot_ org> in a
private mail.

Will submit upstream.
2011-10-16 21:02:31 +00:00
joerg b94ac99b05 Fix const usage to be consistent with the other files. ml_shell and
ml_examine are constant pointers, not pointers to constant data.
2011-07-04 12:31:53 +00:00
tron 41350e18b8 Unexpand "$NetBSD$" in code for adding RCS Ids. 2011-07-03 23:25:01 +00:00
tron 9ff59f5fba Add missing interpreter and RCS Id. 2011-07-03 23:22:37 +00:00
tron 824a88bbba Apply NetBSD specific patches, mostly related to behaviour of
less(1) as more(1).
2011-07-03 20:14:12 +00:00
tron e71baf6887 Fix RCS Ids. 2011-07-03 19:51:26 +00:00
tron 4dc3990e56 Fix generation of RCS Ids. 2011-07-03 19:42:09 +00:00
tron 3d9626b96b Create (symbolic) links for more(1) and page(1). 2011-07-03 18:15:18 +00:00
tron 9b5d0753b4 Add makefiles to build the new version of "less". 2011-07-03 18:02:00 +00:00
tron 20006a0bde Import version 444 of "less":
The list of changes between our ancient version 394 and 444 is too long
to list here. You can find all the release notes here:

http://www.greenwoodsoftware.com/less/old.html
2011-07-03 18:00:59 +00:00
tron 68becace4b Add handling for manual pages:
1.) Remove the formatted ones before import.
2.) Rename the unformatted ones from "*.nro" to "*.1" to keep our
    makefile framework happy.
2011-07-03 17:56:26 +00:00
tron 07ba10b37c Add a (new) script from preparing "less" for import into NetBSD. 2011-07-03 16:57:13 +00:00