History log of /openbsd-current/usr.bin/less/less.1
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.60 14-Apr-2024 guenther

Delete support for the LESSOPEN and LESSCLOSE environment variables
aka the "Input Preprocessor": it's been a source for multiple
security bugs in the past as everything has to deal with handling
arbitrary filenames and generally resulted in multiple TOCTOU issues.
The base system never included a default LESSOPEN setting like some
Linux distributions did, but it's a suds-filled sink full of knives
to try to use safely.

ok tb@ deraadt@ millert@


Revision tags: OPENBSD_7_1_BASE OPENBSD_7_2_BASE OPENBSD_7_3_BASE OPENBSD_7_4_BASE OPENBSD_7_5_BASE
# 1.59 10-Dec-2021 schwarze

fix a copy-and-paste error;
from Richard Ulmer <... rulmer at mailbox dot org>


# 1.58 23-Sep-2021 tobias

Remove wpath from secure mode pledge.

Upstream removed history file support for secure mode. The history file
feature is off by default already, disallowing it altogether in secure
mode allows us to drop wpath.

Added a note about it to manual page.

ok benno, deraadt


Revision tags: OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE
# 1.57 02-Sep-2019 schwarze

Delete what remains of the support for combining characters into
ligatures: it was incomplete (only for the Arabic script and only
for the single ligature LAM WITH ALEF) and it was implemented in a
way that is unsustainable (with a static table inside less).

If we ever want ligature support, we are better off making a fresh
start. However, for languages like Arabic and Persian, even that
wouldn't really be useful without having bidirectional support first.

OK millert@
(and also considering comments from Mohammadreza Abdollahzadeh,
Evan Silberman, and benno@)


# 1.56 20-Aug-2019 jmc

- more no longer accepts random less commands
- history trim
- sundry

diff from evan silberman;
tweaked/ok by schwarze and deraadt


# 1.55 20-Jul-2019 schwarze

Correct misleading description of -S;
problem reported by George Brown <321 dot george at gmail dot com> on tech@.


# 1.54 26-May-2019 naddy

use proper crossreferences


# 1.53 07-May-2019 schwarze

fix an obvious documentation bug: -# requires an argument


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.52 24-Oct-2016 schwarze

Unify wording for LC_CTYPE in ENVIRONMENT:
* Consistently use "character encoding locale" as suggested by stsp@.
* Resolve various gratuitious wording variations.
OK jmc@.


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.51 23-Nov-2015 tb

Update less(1) and lesskey(1) manuals for LESSCHARSET removal

From Michael Reed < m ! reed () mykolab ! com >, thanks!

ok nicm@


# 1.50 15-Nov-2015 nicm

The compile-time secure mode has gone, from Michael Reed.


# 1.49 08-Nov-2015 jmc

stop pointing people to the gnu and less sites; ok nicm


# 1.48 08-Nov-2015 nicm

Remove support for LESSGLOBALTAGS, we do not have global(1) (standard
ctags(1) support remains). ok tedu


# 1.47 06-Nov-2015 tedu

remove rarely used LESSCHARDEF support. ok nicm


# 1.46 06-Nov-2015 nicm

Remove support for ! to run a shell command, we have ^Z around these
parts. ok ratchov jung millert


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.45 23-Nov-2014 jmc

minor fixes;


# 1.44 23-Nov-2014 bentley

Improve manpage markup.

- Mark up flags with Fl
- Mark up commands with Cm or Ic
- Replace some double quotes with semantic alternatives
- Fix the incorrectly documented -" option
- Correct broken intra-page references

ok jmc@


Revision tags: OPENBSD_5_6_BASE
# 1.43 28-May-2014 jmc

in the compat with more section, document:

- the sense of -c is inverted
- -GX are on by default
- fold the note on -d into the stuff on -GX

i deliberately left out mentioning -l being on by default, since i think
the note below (all LESS vars are ignored) covers it adequately;

ok millert


# 1.42 28-May-2014 millert

When invoked as more, make the -i option behave the same as less's
-I to match POSIX. OK and man bits from jmc@


# 1.41 13-May-2014 jmc

sync some of the text of ENVIRONMENT with more(1), and cut some
verbiage;

ok millert


# 1.40 09-May-2014 jmc

zap the commented out stuff from this file: it mainly pertains to other
systems, and our page is sufficiently far away from upstream to justify it;

ok millert


# 1.39 09-May-2014 jmc

move some remnants of more behaviour to the compat section, and use Xr for
refs to more instead of Nm;


# 1.38 08-May-2014 jmc

whack some useless verbiage from DESCRIPTION, and merge some of it into
the env vars section; tidy up the env vars section and remove the commented
out stuff which relataes mainly to less on other systems;


# 1.37 08-May-2014 jmc

- update DESCRIPTION and COMPATIBILITY WITH MORE
- Xr more 1

ok millert schwarze


# 1.36 01-May-2014 jmc

options first, then pager commands; also remove one non-standard Sh;


# 1.35 01-May-2014 jmc

STANDARDS is no longer relevant to this page, so remove it; while here,
zap some trailing whitespace introduced in recent update


# 1.34 01-May-2014 jmc

the beginning of removing more details from this page, since we now have
a separate more(1): it's a big page so i'm doing it in bits.

in this commit, remove more stuff from SYNOPSIS, remove some cleverness
from SYNOPSIS, and use consistent argument names;


# 1.33 29-Apr-2014 millert

Remove support for the obsolete (non-POSIX) "more -d" prompt.
This was a local change that was only enabled when the LESS_IS_MORE
environment variable was set and not when invoked as "more".
OK shadchin@ jmc@


# 1.32 25-Apr-2014 shadchin

Merge Less 458 plus local patches

ok guenther@, ok jmc@ for man bits


# 1.31 07-Apr-2014 millert

Back out rev 1.30, our less does actually support the old-style more
-d flag.


# 1.30 07-Apr-2014 millert

Remove description of old more's -d option which we haven't supported
for years. OK jmc@


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE
# 1.29 16-Jul-2013 schwarze

use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@


Revision tags: OPENBSD_5_3_BASE
# 1.28 12-Aug-2012 schwarze

Use .Lk for HTTP hyperlinks, not .Pa.
Most of the patch from Arto Jonsson <ajonsson at kapsi dot fi>.
jmc@ agrees in principle that .Lk is the right macro to use.

While here, update a few broken links,
and add missing markup at a few places.


Revision tags: OPENBSD_5_2_BASE
# 1.27 30-Mar-2012 jmc

make the description of -c a little saner; ok nicm


# 1.26 27-Mar-2012 nicm

Reverse the default of the -c flag from off to on to prevent the text
being displayed in the wrong place initially and then jumping when first
redrawn (such as when searching).

ok deraadt sthen


Revision tags: OPENBSD_5_1_BASE
# 1.25 15-Nov-2011 nicm

Disable LESSHISTFILE by default, requested by deraadt.


# 1.24 16-Sep-2011 jmc

tweak previous;


# 1.23 16-Sep-2011 shadchin

Merge in less 444 plus local changes

ok nicm@


Revision tags: OPENBSD_5_0_BASE
# 1.22 02-May-2011 jmc

no need to escape `|'; as discussed with schwartze


Revision tags: OPENBSD_4_9_BASE
# 1.21 03-Feb-2011 jmc

LC_TYPE -> LC_CTYPE; from Alexander Polakov


# 1.20 28-Oct-2010 jmc

more roff adjustments;


# 1.19 09-Aug-2010 ray

Match -m prompt string in man page with code. From Daniel Malament
danielm at bluetiger dot net, PR 6234.

OK millert


Revision tags: OPENBSD_4_8_BASE
# 1.18 09-Apr-2010 jmc

- fix up SYNOPSIS; it's not perfect yet though...
- couple of other tweaks while in here


Revision tags: OPENBSD_4_7_BASE
# 1.17 22-Oct-2009 sobrado

use the UNIX-related macros (.At and .Ux) where appropriate.

ok jmc@


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE
# 1.16 10-Feb-2009 jmc

STANDARDS:
mark these utilities as being either optional (SD/FR/UP); or as
being compliant only with XPG4 (XSI); strip.1 and talk.1 are tweaked
purely for consistency;

thanks otto for feedback


# 1.15 08-Feb-2009 jmc

bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a few
updates to follow;


Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE
# 1.14 31-May-2007 jmc

convert to new .Dd format;


# 1.13 30-May-2007 jmc

some i missed...
- consistent text for STANDARDS
- note which options are extensions to POSIX


# 1.12 15-Mar-2007 jmc

sort options; from Igor Sobrado


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.11 26-May-2006 jmc

remove references to CRTs where they no longer make sense;

tweaked by mickey/krw
ok deraadt


Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE
# 1.10 30-Dec-2004 jmc

these pages already have their copyrights contained within the main
body of the page, commented out;

no point in giving them their own COPYRIGHT sections, so remove them;


Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE
# 1.9 20-Feb-2004 jmc

uppercase CRT;


# 1.8 23-Jan-2004 jmc

`Ns' implies `No', so `Ns No' -> `Ns'; (even simpler in adduser(8))
discussed with todd@


# 1.7 30-Nov-2003 jmc

- .Sh WARNINGS -> standard .Sh CAVEATS
- tidy up AUTHORS
- standard section order
- kill whitespace at EOL


Revision tags: OPENBSD_3_4_BASE
# 1.6 02-Sep-2003 jmc

escape punctuation;
ok deraadt@


# 1.5 18-Aug-2003 millert

We distribute less under a 2-term BSD-style license. Update COPYRIGHT
section based on less's LICENSE file.


# 1.4 14-Jul-2003 jmc

- escape %{B,D,P} to prevent groff trying to expand them
- remove some unnecessary .Pp's


# 1.3 10-Jun-2003 jmc

- section reorder
- COMPATIBILITY merge
- macro cleanup
- kill whitespace at EOL
- new sentence, new line

ssh pages ok markus@


# 1.2 08-May-2003 jmc

AUTHOR -> AUTHORS in .Sh, as per mdoc template.


# 1.1 16-Apr-2003 millert

mdoc format man pages from jmc@


# 1.59 10-Dec-2021 schwarze

fix a copy-and-paste error;
from Richard Ulmer <... rulmer at mailbox dot org>


# 1.58 23-Sep-2021 tobias

Remove wpath from secure mode pledge.

Upstream removed history file support for secure mode. The history file
feature is off by default already, disallowing it altogether in secure
mode allows us to drop wpath.

Added a note about it to manual page.

ok benno, deraadt


Revision tags: OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE
# 1.57 02-Sep-2019 schwarze

Delete what remains of the support for combining characters into
ligatures: it was incomplete (only for the Arabic script and only
for the single ligature LAM WITH ALEF) and it was implemented in a
way that is unsustainable (with a static table inside less).

If we ever want ligature support, we are better off making a fresh
start. However, for languages like Arabic and Persian, even that
wouldn't really be useful without having bidirectional support first.

OK millert@
(and also considering comments from Mohammadreza Abdollahzadeh,
Evan Silberman, and benno@)


# 1.56 20-Aug-2019 jmc

- more no longer accepts random less commands
- history trim
- sundry

diff from evan silberman;
tweaked/ok by schwarze and deraadt


# 1.55 20-Jul-2019 schwarze

Correct misleading description of -S;
problem reported by George Brown <321 dot george at gmail dot com> on tech@.


# 1.54 26-May-2019 naddy

use proper crossreferences


# 1.53 07-May-2019 schwarze

fix an obvious documentation bug: -# requires an argument


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.52 24-Oct-2016 schwarze

Unify wording for LC_CTYPE in ENVIRONMENT:
* Consistently use "character encoding locale" as suggested by stsp@.
* Resolve various gratuitious wording variations.
OK jmc@.


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.51 23-Nov-2015 tb

Update less(1) and lesskey(1) manuals for LESSCHARSET removal

From Michael Reed < m ! reed () mykolab ! com >, thanks!

ok nicm@


# 1.50 15-Nov-2015 nicm

The compile-time secure mode has gone, from Michael Reed.


# 1.49 08-Nov-2015 jmc

stop pointing people to the gnu and less sites; ok nicm


# 1.48 08-Nov-2015 nicm

Remove support for LESSGLOBALTAGS, we do not have global(1) (standard
ctags(1) support remains). ok tedu


# 1.47 06-Nov-2015 tedu

remove rarely used LESSCHARDEF support. ok nicm


# 1.46 06-Nov-2015 nicm

Remove support for ! to run a shell command, we have ^Z around these
parts. ok ratchov jung millert


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.45 23-Nov-2014 jmc

minor fixes;


# 1.44 23-Nov-2014 bentley

Improve manpage markup.

- Mark up flags with Fl
- Mark up commands with Cm or Ic
- Replace some double quotes with semantic alternatives
- Fix the incorrectly documented -" option
- Correct broken intra-page references

ok jmc@


Revision tags: OPENBSD_5_6_BASE
# 1.43 28-May-2014 jmc

in the compat with more section, document:

- the sense of -c is inverted
- -GX are on by default
- fold the note on -d into the stuff on -GX

i deliberately left out mentioning -l being on by default, since i think
the note below (all LESS vars are ignored) covers it adequately;

ok millert


# 1.42 28-May-2014 millert

When invoked as more, make the -i option behave the same as less's
-I to match POSIX. OK and man bits from jmc@


# 1.41 13-May-2014 jmc

sync some of the text of ENVIRONMENT with more(1), and cut some
verbiage;

ok millert


# 1.40 09-May-2014 jmc

zap the commented out stuff from this file: it mainly pertains to other
systems, and our page is sufficiently far away from upstream to justify it;

ok millert


# 1.39 09-May-2014 jmc

move some remnants of more behaviour to the compat section, and use Xr for
refs to more instead of Nm;


# 1.38 08-May-2014 jmc

whack some useless verbiage from DESCRIPTION, and merge some of it into
the env vars section; tidy up the env vars section and remove the commented
out stuff which relataes mainly to less on other systems;


# 1.37 08-May-2014 jmc

- update DESCRIPTION and COMPATIBILITY WITH MORE
- Xr more 1

ok millert schwarze


# 1.36 01-May-2014 jmc

options first, then pager commands; also remove one non-standard Sh;


# 1.35 01-May-2014 jmc

STANDARDS is no longer relevant to this page, so remove it; while here,
zap some trailing whitespace introduced in recent update


# 1.34 01-May-2014 jmc

the beginning of removing more details from this page, since we now have
a separate more(1): it's a big page so i'm doing it in bits.

in this commit, remove more stuff from SYNOPSIS, remove some cleverness
from SYNOPSIS, and use consistent argument names;


# 1.33 29-Apr-2014 millert

Remove support for the obsolete (non-POSIX) "more -d" prompt.
This was a local change that was only enabled when the LESS_IS_MORE
environment variable was set and not when invoked as "more".
OK shadchin@ jmc@


# 1.32 25-Apr-2014 shadchin

Merge Less 458 plus local patches

ok guenther@, ok jmc@ for man bits


# 1.31 07-Apr-2014 millert

Back out rev 1.30, our less does actually support the old-style more
-d flag.


# 1.30 07-Apr-2014 millert

Remove description of old more's -d option which we haven't supported
for years. OK jmc@


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE
# 1.29 16-Jul-2013 schwarze

use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@


Revision tags: OPENBSD_5_3_BASE
# 1.28 12-Aug-2012 schwarze

Use .Lk for HTTP hyperlinks, not .Pa.
Most of the patch from Arto Jonsson <ajonsson at kapsi dot fi>.
jmc@ agrees in principle that .Lk is the right macro to use.

While here, update a few broken links,
and add missing markup at a few places.


Revision tags: OPENBSD_5_2_BASE
# 1.27 30-Mar-2012 jmc

make the description of -c a little saner; ok nicm


# 1.26 27-Mar-2012 nicm

Reverse the default of the -c flag from off to on to prevent the text
being displayed in the wrong place initially and then jumping when first
redrawn (such as when searching).

ok deraadt sthen


Revision tags: OPENBSD_5_1_BASE
# 1.25 15-Nov-2011 nicm

Disable LESSHISTFILE by default, requested by deraadt.


# 1.24 16-Sep-2011 jmc

tweak previous;


# 1.23 16-Sep-2011 shadchin

Merge in less 444 plus local changes

ok nicm@


Revision tags: OPENBSD_5_0_BASE
# 1.22 02-May-2011 jmc

no need to escape `|'; as discussed with schwartze


Revision tags: OPENBSD_4_9_BASE
# 1.21 03-Feb-2011 jmc

LC_TYPE -> LC_CTYPE; from Alexander Polakov


# 1.20 28-Oct-2010 jmc

more roff adjustments;


# 1.19 09-Aug-2010 ray

Match -m prompt string in man page with code. From Daniel Malament
danielm at bluetiger dot net, PR 6234.

OK millert


Revision tags: OPENBSD_4_8_BASE
# 1.18 09-Apr-2010 jmc

- fix up SYNOPSIS; it's not perfect yet though...
- couple of other tweaks while in here


Revision tags: OPENBSD_4_7_BASE
# 1.17 22-Oct-2009 sobrado

use the UNIX-related macros (.At and .Ux) where appropriate.

ok jmc@


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE
# 1.16 10-Feb-2009 jmc

STANDARDS:
mark these utilities as being either optional (SD/FR/UP); or as
being compliant only with XPG4 (XSI); strip.1 and talk.1 are tweaked
purely for consistency;

thanks otto for feedback


# 1.15 08-Feb-2009 jmc

bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a few
updates to follow;


Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE
# 1.14 31-May-2007 jmc

convert to new .Dd format;


# 1.13 30-May-2007 jmc

some i missed...
- consistent text for STANDARDS
- note which options are extensions to POSIX


# 1.12 15-Mar-2007 jmc

sort options; from Igor Sobrado


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.11 26-May-2006 jmc

remove references to CRTs where they no longer make sense;

tweaked by mickey/krw
ok deraadt


Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE
# 1.10 30-Dec-2004 jmc

these pages already have their copyrights contained within the main
body of the page, commented out;

no point in giving them their own COPYRIGHT sections, so remove them;


Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE
# 1.9 20-Feb-2004 jmc

uppercase CRT;


# 1.8 23-Jan-2004 jmc

`Ns' implies `No', so `Ns No' -> `Ns'; (even simpler in adduser(8))
discussed with todd@


# 1.7 30-Nov-2003 jmc

- .Sh WARNINGS -> standard .Sh CAVEATS
- tidy up AUTHORS
- standard section order
- kill whitespace at EOL


Revision tags: OPENBSD_3_4_BASE
# 1.6 02-Sep-2003 jmc

escape punctuation;
ok deraadt@


# 1.5 18-Aug-2003 millert

We distribute less under a 2-term BSD-style license. Update COPYRIGHT
section based on less's LICENSE file.


# 1.4 14-Jul-2003 jmc

- escape %{B,D,P} to prevent groff trying to expand them
- remove some unnecessary .Pp's


# 1.3 10-Jun-2003 jmc

- section reorder
- COMPATIBILITY merge
- macro cleanup
- kill whitespace at EOL
- new sentence, new line

ssh pages ok markus@


# 1.2 08-May-2003 jmc

AUTHOR -> AUTHORS in .Sh, as per mdoc template.


# 1.1 16-Apr-2003 millert

mdoc format man pages from jmc@


# 1.58 23-Sep-2021 tobias

Remove wpath from secure mode pledge.

Upstream removed history file support for secure mode. The history file
feature is off by default already, disallowing it altogether in secure
mode allows us to drop wpath.

Added a note about it to manual page.

ok benno, deraadt


Revision tags: OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE
# 1.57 02-Sep-2019 schwarze

Delete what remains of the support for combining characters into
ligatures: it was incomplete (only for the Arabic script and only
for the single ligature LAM WITH ALEF) and it was implemented in a
way that is unsustainable (with a static table inside less).

If we ever want ligature support, we are better off making a fresh
start. However, for languages like Arabic and Persian, even that
wouldn't really be useful without having bidirectional support first.

OK millert@
(and also considering comments from Mohammadreza Abdollahzadeh,
Evan Silberman, and benno@)


# 1.56 20-Aug-2019 jmc

- more no longer accepts random less commands
- history trim
- sundry

diff from evan silberman;
tweaked/ok by schwarze and deraadt


# 1.55 20-Jul-2019 schwarze

Correct misleading description of -S;
problem reported by George Brown <321 dot george at gmail dot com> on tech@.


# 1.54 26-May-2019 naddy

use proper crossreferences


# 1.53 07-May-2019 schwarze

fix an obvious documentation bug: -# requires an argument


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.52 24-Oct-2016 schwarze

Unify wording for LC_CTYPE in ENVIRONMENT:
* Consistently use "character encoding locale" as suggested by stsp@.
* Resolve various gratuitious wording variations.
OK jmc@.


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.51 23-Nov-2015 tb

Update less(1) and lesskey(1) manuals for LESSCHARSET removal

From Michael Reed < m ! reed () mykolab ! com >, thanks!

ok nicm@


# 1.50 15-Nov-2015 nicm

The compile-time secure mode has gone, from Michael Reed.


# 1.49 08-Nov-2015 jmc

stop pointing people to the gnu and less sites; ok nicm


# 1.48 08-Nov-2015 nicm

Remove support for LESSGLOBALTAGS, we do not have global(1) (standard
ctags(1) support remains). ok tedu


# 1.47 06-Nov-2015 tedu

remove rarely used LESSCHARDEF support. ok nicm


# 1.46 06-Nov-2015 nicm

Remove support for ! to run a shell command, we have ^Z around these
parts. ok ratchov jung millert


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.45 23-Nov-2014 jmc

minor fixes;


# 1.44 23-Nov-2014 bentley

Improve manpage markup.

- Mark up flags with Fl
- Mark up commands with Cm or Ic
- Replace some double quotes with semantic alternatives
- Fix the incorrectly documented -" option
- Correct broken intra-page references

ok jmc@


Revision tags: OPENBSD_5_6_BASE
# 1.43 28-May-2014 jmc

in the compat with more section, document:

- the sense of -c is inverted
- -GX are on by default
- fold the note on -d into the stuff on -GX

i deliberately left out mentioning -l being on by default, since i think
the note below (all LESS vars are ignored) covers it adequately;

ok millert


# 1.42 28-May-2014 millert

When invoked as more, make the -i option behave the same as less's
-I to match POSIX. OK and man bits from jmc@


# 1.41 13-May-2014 jmc

sync some of the text of ENVIRONMENT with more(1), and cut some
verbiage;

ok millert


# 1.40 09-May-2014 jmc

zap the commented out stuff from this file: it mainly pertains to other
systems, and our page is sufficiently far away from upstream to justify it;

ok millert


# 1.39 09-May-2014 jmc

move some remnants of more behaviour to the compat section, and use Xr for
refs to more instead of Nm;


# 1.38 08-May-2014 jmc

whack some useless verbiage from DESCRIPTION, and merge some of it into
the env vars section; tidy up the env vars section and remove the commented
out stuff which relataes mainly to less on other systems;


# 1.37 08-May-2014 jmc

- update DESCRIPTION and COMPATIBILITY WITH MORE
- Xr more 1

ok millert schwarze


# 1.36 01-May-2014 jmc

options first, then pager commands; also remove one non-standard Sh;


# 1.35 01-May-2014 jmc

STANDARDS is no longer relevant to this page, so remove it; while here,
zap some trailing whitespace introduced in recent update


# 1.34 01-May-2014 jmc

the beginning of removing more details from this page, since we now have
a separate more(1): it's a big page so i'm doing it in bits.

in this commit, remove more stuff from SYNOPSIS, remove some cleverness
from SYNOPSIS, and use consistent argument names;


# 1.33 29-Apr-2014 millert

Remove support for the obsolete (non-POSIX) "more -d" prompt.
This was a local change that was only enabled when the LESS_IS_MORE
environment variable was set and not when invoked as "more".
OK shadchin@ jmc@


# 1.32 25-Apr-2014 shadchin

Merge Less 458 plus local patches

ok guenther@, ok jmc@ for man bits


# 1.31 07-Apr-2014 millert

Back out rev 1.30, our less does actually support the old-style more
-d flag.


# 1.30 07-Apr-2014 millert

Remove description of old more's -d option which we haven't supported
for years. OK jmc@


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE
# 1.29 16-Jul-2013 schwarze

use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@


Revision tags: OPENBSD_5_3_BASE
# 1.28 12-Aug-2012 schwarze

Use .Lk for HTTP hyperlinks, not .Pa.
Most of the patch from Arto Jonsson <ajonsson at kapsi dot fi>.
jmc@ agrees in principle that .Lk is the right macro to use.

While here, update a few broken links,
and add missing markup at a few places.


Revision tags: OPENBSD_5_2_BASE
# 1.27 30-Mar-2012 jmc

make the description of -c a little saner; ok nicm


# 1.26 27-Mar-2012 nicm

Reverse the default of the -c flag from off to on to prevent the text
being displayed in the wrong place initially and then jumping when first
redrawn (such as when searching).

ok deraadt sthen


Revision tags: OPENBSD_5_1_BASE
# 1.25 15-Nov-2011 nicm

Disable LESSHISTFILE by default, requested by deraadt.


# 1.24 16-Sep-2011 jmc

tweak previous;


# 1.23 16-Sep-2011 shadchin

Merge in less 444 plus local changes

ok nicm@


Revision tags: OPENBSD_5_0_BASE
# 1.22 02-May-2011 jmc

no need to escape `|'; as discussed with schwartze


Revision tags: OPENBSD_4_9_BASE
# 1.21 03-Feb-2011 jmc

LC_TYPE -> LC_CTYPE; from Alexander Polakov


# 1.20 28-Oct-2010 jmc

more roff adjustments;


# 1.19 09-Aug-2010 ray

Match -m prompt string in man page with code. From Daniel Malament
danielm at bluetiger dot net, PR 6234.

OK millert


Revision tags: OPENBSD_4_8_BASE
# 1.18 09-Apr-2010 jmc

- fix up SYNOPSIS; it's not perfect yet though...
- couple of other tweaks while in here


Revision tags: OPENBSD_4_7_BASE
# 1.17 22-Oct-2009 sobrado

use the UNIX-related macros (.At and .Ux) where appropriate.

ok jmc@


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE
# 1.16 10-Feb-2009 jmc

STANDARDS:
mark these utilities as being either optional (SD/FR/UP); or as
being compliant only with XPG4 (XSI); strip.1 and talk.1 are tweaked
purely for consistency;

thanks otto for feedback


# 1.15 08-Feb-2009 jmc

bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a few
updates to follow;


Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE
# 1.14 31-May-2007 jmc

convert to new .Dd format;


# 1.13 30-May-2007 jmc

some i missed...
- consistent text for STANDARDS
- note which options are extensions to POSIX


# 1.12 15-Mar-2007 jmc

sort options; from Igor Sobrado


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.11 26-May-2006 jmc

remove references to CRTs where they no longer make sense;

tweaked by mickey/krw
ok deraadt


Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE
# 1.10 30-Dec-2004 jmc

these pages already have their copyrights contained within the main
body of the page, commented out;

no point in giving them their own COPYRIGHT sections, so remove them;


Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE
# 1.9 20-Feb-2004 jmc

uppercase CRT;


# 1.8 23-Jan-2004 jmc

`Ns' implies `No', so `Ns No' -> `Ns'; (even simpler in adduser(8))
discussed with todd@


# 1.7 30-Nov-2003 jmc

- .Sh WARNINGS -> standard .Sh CAVEATS
- tidy up AUTHORS
- standard section order
- kill whitespace at EOL


Revision tags: OPENBSD_3_4_BASE
# 1.6 02-Sep-2003 jmc

escape punctuation;
ok deraadt@


# 1.5 18-Aug-2003 millert

We distribute less under a 2-term BSD-style license. Update COPYRIGHT
section based on less's LICENSE file.


# 1.4 14-Jul-2003 jmc

- escape %{B,D,P} to prevent groff trying to expand them
- remove some unnecessary .Pp's


# 1.3 10-Jun-2003 jmc

- section reorder
- COMPATIBILITY merge
- macro cleanup
- kill whitespace at EOL
- new sentence, new line

ssh pages ok markus@


# 1.2 08-May-2003 jmc

AUTHOR -> AUTHORS in .Sh, as per mdoc template.


# 1.1 16-Apr-2003 millert

mdoc format man pages from jmc@


# 1.57 02-Sep-2019 schwarze

Delete what remains of the support for combining characters into
ligatures: it was incomplete (only for the Arabic script and only
for the single ligature LAM WITH ALEF) and it was implemented in a
way that is unsustainable (with a static table inside less).

If we ever want ligature support, we are better off making a fresh
start. However, for languages like Arabic and Persian, even that
wouldn't really be useful without having bidirectional support first.

OK millert@
(and also considering comments from Mohammadreza Abdollahzadeh,
Evan Silberman, and benno@)


# 1.56 20-Aug-2019 jmc

- more no longer accepts random less commands
- history trim
- sundry

diff from evan silberman;
tweaked/ok by schwarze and deraadt


# 1.55 20-Jul-2019 schwarze

Correct misleading description of -S;
problem reported by George Brown <321 dot george at gmail dot com> on tech@.


# 1.54 26-May-2019 naddy

use proper crossreferences


# 1.53 07-May-2019 schwarze

fix an obvious documentation bug: -# requires an argument


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.52 24-Oct-2016 schwarze

Unify wording for LC_CTYPE in ENVIRONMENT:
* Consistently use "character encoding locale" as suggested by stsp@.
* Resolve various gratuitious wording variations.
OK jmc@.


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.51 23-Nov-2015 tb

Update less(1) and lesskey(1) manuals for LESSCHARSET removal

From Michael Reed < m ! reed () mykolab ! com >, thanks!

ok nicm@


# 1.50 15-Nov-2015 nicm

The compile-time secure mode has gone, from Michael Reed.


# 1.49 08-Nov-2015 jmc

stop pointing people to the gnu and less sites; ok nicm


# 1.48 08-Nov-2015 nicm

Remove support for LESSGLOBALTAGS, we do not have global(1) (standard
ctags(1) support remains). ok tedu


# 1.47 06-Nov-2015 tedu

remove rarely used LESSCHARDEF support. ok nicm


# 1.46 06-Nov-2015 nicm

Remove support for ! to run a shell command, we have ^Z around these
parts. ok ratchov jung millert


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.45 23-Nov-2014 jmc

minor fixes;


# 1.44 23-Nov-2014 bentley

Improve manpage markup.

- Mark up flags with Fl
- Mark up commands with Cm or Ic
- Replace some double quotes with semantic alternatives
- Fix the incorrectly documented -" option
- Correct broken intra-page references

ok jmc@


Revision tags: OPENBSD_5_6_BASE
# 1.43 28-May-2014 jmc

in the compat with more section, document:

- the sense of -c is inverted
- -GX are on by default
- fold the note on -d into the stuff on -GX

i deliberately left out mentioning -l being on by default, since i think
the note below (all LESS vars are ignored) covers it adequately;

ok millert


# 1.42 28-May-2014 millert

When invoked as more, make the -i option behave the same as less's
-I to match POSIX. OK and man bits from jmc@


# 1.41 13-May-2014 jmc

sync some of the text of ENVIRONMENT with more(1), and cut some
verbiage;

ok millert


# 1.40 09-May-2014 jmc

zap the commented out stuff from this file: it mainly pertains to other
systems, and our page is sufficiently far away from upstream to justify it;

ok millert


# 1.39 09-May-2014 jmc

move some remnants of more behaviour to the compat section, and use Xr for
refs to more instead of Nm;


# 1.38 08-May-2014 jmc

whack some useless verbiage from DESCRIPTION, and merge some of it into
the env vars section; tidy up the env vars section and remove the commented
out stuff which relataes mainly to less on other systems;


# 1.37 08-May-2014 jmc

- update DESCRIPTION and COMPATIBILITY WITH MORE
- Xr more 1

ok millert schwarze


# 1.36 01-May-2014 jmc

options first, then pager commands; also remove one non-standard Sh;


# 1.35 01-May-2014 jmc

STANDARDS is no longer relevant to this page, so remove it; while here,
zap some trailing whitespace introduced in recent update


# 1.34 01-May-2014 jmc

the beginning of removing more details from this page, since we now have
a separate more(1): it's a big page so i'm doing it in bits.

in this commit, remove more stuff from SYNOPSIS, remove some cleverness
from SYNOPSIS, and use consistent argument names;


# 1.33 29-Apr-2014 millert

Remove support for the obsolete (non-POSIX) "more -d" prompt.
This was a local change that was only enabled when the LESS_IS_MORE
environment variable was set and not when invoked as "more".
OK shadchin@ jmc@


# 1.32 25-Apr-2014 shadchin

Merge Less 458 plus local patches

ok guenther@, ok jmc@ for man bits


# 1.31 07-Apr-2014 millert

Back out rev 1.30, our less does actually support the old-style more
-d flag.


# 1.30 07-Apr-2014 millert

Remove description of old more's -d option which we haven't supported
for years. OK jmc@


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE
# 1.29 16-Jul-2013 schwarze

use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@


Revision tags: OPENBSD_5_3_BASE
# 1.28 12-Aug-2012 schwarze

Use .Lk for HTTP hyperlinks, not .Pa.
Most of the patch from Arto Jonsson <ajonsson at kapsi dot fi>.
jmc@ agrees in principle that .Lk is the right macro to use.

While here, update a few broken links,
and add missing markup at a few places.


Revision tags: OPENBSD_5_2_BASE
# 1.27 30-Mar-2012 jmc

make the description of -c a little saner; ok nicm


# 1.26 27-Mar-2012 nicm

Reverse the default of the -c flag from off to on to prevent the text
being displayed in the wrong place initially and then jumping when first
redrawn (such as when searching).

ok deraadt sthen


Revision tags: OPENBSD_5_1_BASE
# 1.25 15-Nov-2011 nicm

Disable LESSHISTFILE by default, requested by deraadt.


# 1.24 16-Sep-2011 jmc

tweak previous;


# 1.23 16-Sep-2011 shadchin

Merge in less 444 plus local changes

ok nicm@


Revision tags: OPENBSD_5_0_BASE
# 1.22 02-May-2011 jmc

no need to escape `|'; as discussed with schwartze


Revision tags: OPENBSD_4_9_BASE
# 1.21 03-Feb-2011 jmc

LC_TYPE -> LC_CTYPE; from Alexander Polakov


# 1.20 28-Oct-2010 jmc

more roff adjustments;


# 1.19 09-Aug-2010 ray

Match -m prompt string in man page with code. From Daniel Malament
danielm at bluetiger dot net, PR 6234.

OK millert


Revision tags: OPENBSD_4_8_BASE
# 1.18 09-Apr-2010 jmc

- fix up SYNOPSIS; it's not perfect yet though...
- couple of other tweaks while in here


Revision tags: OPENBSD_4_7_BASE
# 1.17 22-Oct-2009 sobrado

use the UNIX-related macros (.At and .Ux) where appropriate.

ok jmc@


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE
# 1.16 10-Feb-2009 jmc

STANDARDS:
mark these utilities as being either optional (SD/FR/UP); or as
being compliant only with XPG4 (XSI); strip.1 and talk.1 are tweaked
purely for consistency;

thanks otto for feedback


# 1.15 08-Feb-2009 jmc

bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a few
updates to follow;


Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE
# 1.14 31-May-2007 jmc

convert to new .Dd format;


# 1.13 30-May-2007 jmc

some i missed...
- consistent text for STANDARDS
- note which options are extensions to POSIX


# 1.12 15-Mar-2007 jmc

sort options; from Igor Sobrado


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.11 26-May-2006 jmc

remove references to CRTs where they no longer make sense;

tweaked by mickey/krw
ok deraadt


Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE
# 1.10 30-Dec-2004 jmc

these pages already have their copyrights contained within the main
body of the page, commented out;

no point in giving them their own COPYRIGHT sections, so remove them;


Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE
# 1.9 20-Feb-2004 jmc

uppercase CRT;


# 1.8 23-Jan-2004 jmc

`Ns' implies `No', so `Ns No' -> `Ns'; (even simpler in adduser(8))
discussed with todd@


# 1.7 30-Nov-2003 jmc

- .Sh WARNINGS -> standard .Sh CAVEATS
- tidy up AUTHORS
- standard section order
- kill whitespace at EOL


Revision tags: OPENBSD_3_4_BASE
# 1.6 02-Sep-2003 jmc

escape punctuation;
ok deraadt@


# 1.5 18-Aug-2003 millert

We distribute less under a 2-term BSD-style license. Update COPYRIGHT
section based on less's LICENSE file.


# 1.4 14-Jul-2003 jmc

- escape %{B,D,P} to prevent groff trying to expand them
- remove some unnecessary .Pp's


# 1.3 10-Jun-2003 jmc

- section reorder
- COMPATIBILITY merge
- macro cleanup
- kill whitespace at EOL
- new sentence, new line

ssh pages ok markus@


# 1.2 08-May-2003 jmc

AUTHOR -> AUTHORS in .Sh, as per mdoc template.


# 1.1 16-Apr-2003 millert

mdoc format man pages from jmc@


# 1.56 20-Aug-2019 jmc

- more no longer accepts random less commands
- history trim
- sundry

diff from evan silberman;
tweaked/ok by schwarze and deraadt


# 1.55 20-Jul-2019 schwarze

Correct misleading description of -S;
problem reported by George Brown <321 dot george at gmail dot com> on tech@.


# 1.54 26-May-2019 naddy

use proper crossreferences


# 1.53 07-May-2019 schwarze

fix an obvious documentation bug: -# requires an argument


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.52 24-Oct-2016 schwarze

Unify wording for LC_CTYPE in ENVIRONMENT:
* Consistently use "character encoding locale" as suggested by stsp@.
* Resolve various gratuitious wording variations.
OK jmc@.


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.51 23-Nov-2015 tb

Update less(1) and lesskey(1) manuals for LESSCHARSET removal

From Michael Reed < m ! reed () mykolab ! com >, thanks!

ok nicm@


# 1.50 15-Nov-2015 nicm

The compile-time secure mode has gone, from Michael Reed.


# 1.49 08-Nov-2015 jmc

stop pointing people to the gnu and less sites; ok nicm


# 1.48 08-Nov-2015 nicm

Remove support for LESSGLOBALTAGS, we do not have global(1) (standard
ctags(1) support remains). ok tedu


# 1.47 06-Nov-2015 tedu

remove rarely used LESSCHARDEF support. ok nicm


# 1.46 06-Nov-2015 nicm

Remove support for ! to run a shell command, we have ^Z around these
parts. ok ratchov jung millert


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.45 23-Nov-2014 jmc

minor fixes;


# 1.44 23-Nov-2014 bentley

Improve manpage markup.

- Mark up flags with Fl
- Mark up commands with Cm or Ic
- Replace some double quotes with semantic alternatives
- Fix the incorrectly documented -" option
- Correct broken intra-page references

ok jmc@


Revision tags: OPENBSD_5_6_BASE
# 1.43 28-May-2014 jmc

in the compat with more section, document:

- the sense of -c is inverted
- -GX are on by default
- fold the note on -d into the stuff on -GX

i deliberately left out mentioning -l being on by default, since i think
the note below (all LESS vars are ignored) covers it adequately;

ok millert


# 1.42 28-May-2014 millert

When invoked as more, make the -i option behave the same as less's
-I to match POSIX. OK and man bits from jmc@


# 1.41 13-May-2014 jmc

sync some of the text of ENVIRONMENT with more(1), and cut some
verbiage;

ok millert


# 1.40 09-May-2014 jmc

zap the commented out stuff from this file: it mainly pertains to other
systems, and our page is sufficiently far away from upstream to justify it;

ok millert


# 1.39 09-May-2014 jmc

move some remnants of more behaviour to the compat section, and use Xr for
refs to more instead of Nm;


# 1.38 08-May-2014 jmc

whack some useless verbiage from DESCRIPTION, and merge some of it into
the env vars section; tidy up the env vars section and remove the commented
out stuff which relataes mainly to less on other systems;


# 1.37 08-May-2014 jmc

- update DESCRIPTION and COMPATIBILITY WITH MORE
- Xr more 1

ok millert schwarze


# 1.36 01-May-2014 jmc

options first, then pager commands; also remove one non-standard Sh;


# 1.35 01-May-2014 jmc

STANDARDS is no longer relevant to this page, so remove it; while here,
zap some trailing whitespace introduced in recent update


# 1.34 01-May-2014 jmc

the beginning of removing more details from this page, since we now have
a separate more(1): it's a big page so i'm doing it in bits.

in this commit, remove more stuff from SYNOPSIS, remove some cleverness
from SYNOPSIS, and use consistent argument names;


# 1.33 29-Apr-2014 millert

Remove support for the obsolete (non-POSIX) "more -d" prompt.
This was a local change that was only enabled when the LESS_IS_MORE
environment variable was set and not when invoked as "more".
OK shadchin@ jmc@


# 1.32 25-Apr-2014 shadchin

Merge Less 458 plus local patches

ok guenther@, ok jmc@ for man bits


# 1.31 07-Apr-2014 millert

Back out rev 1.30, our less does actually support the old-style more
-d flag.


# 1.30 07-Apr-2014 millert

Remove description of old more's -d option which we haven't supported
for years. OK jmc@


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE
# 1.29 16-Jul-2013 schwarze

use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@


Revision tags: OPENBSD_5_3_BASE
# 1.28 12-Aug-2012 schwarze

Use .Lk for HTTP hyperlinks, not .Pa.
Most of the patch from Arto Jonsson <ajonsson at kapsi dot fi>.
jmc@ agrees in principle that .Lk is the right macro to use.

While here, update a few broken links,
and add missing markup at a few places.


Revision tags: OPENBSD_5_2_BASE
# 1.27 30-Mar-2012 jmc

make the description of -c a little saner; ok nicm


# 1.26 27-Mar-2012 nicm

Reverse the default of the -c flag from off to on to prevent the text
being displayed in the wrong place initially and then jumping when first
redrawn (such as when searching).

ok deraadt sthen


Revision tags: OPENBSD_5_1_BASE
# 1.25 15-Nov-2011 nicm

Disable LESSHISTFILE by default, requested by deraadt.


# 1.24 16-Sep-2011 jmc

tweak previous;


# 1.23 16-Sep-2011 shadchin

Merge in less 444 plus local changes

ok nicm@


Revision tags: OPENBSD_5_0_BASE
# 1.22 02-May-2011 jmc

no need to escape `|'; as discussed with schwartze


Revision tags: OPENBSD_4_9_BASE
# 1.21 03-Feb-2011 jmc

LC_TYPE -> LC_CTYPE; from Alexander Polakov


# 1.20 28-Oct-2010 jmc

more roff adjustments;


# 1.19 09-Aug-2010 ray

Match -m prompt string in man page with code. From Daniel Malament
danielm at bluetiger dot net, PR 6234.

OK millert


Revision tags: OPENBSD_4_8_BASE
# 1.18 09-Apr-2010 jmc

- fix up SYNOPSIS; it's not perfect yet though...
- couple of other tweaks while in here


Revision tags: OPENBSD_4_7_BASE
# 1.17 22-Oct-2009 sobrado

use the UNIX-related macros (.At and .Ux) where appropriate.

ok jmc@


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE
# 1.16 10-Feb-2009 jmc

STANDARDS:
mark these utilities as being either optional (SD/FR/UP); or as
being compliant only with XPG4 (XSI); strip.1 and talk.1 are tweaked
purely for consistency;

thanks otto for feedback


# 1.15 08-Feb-2009 jmc

bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a few
updates to follow;


Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE
# 1.14 31-May-2007 jmc

convert to new .Dd format;


# 1.13 30-May-2007 jmc

some i missed...
- consistent text for STANDARDS
- note which options are extensions to POSIX


# 1.12 15-Mar-2007 jmc

sort options; from Igor Sobrado


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.11 26-May-2006 jmc

remove references to CRTs where they no longer make sense;

tweaked by mickey/krw
ok deraadt


Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE
# 1.10 30-Dec-2004 jmc

these pages already have their copyrights contained within the main
body of the page, commented out;

no point in giving them their own COPYRIGHT sections, so remove them;


Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE
# 1.9 20-Feb-2004 jmc

uppercase CRT;


# 1.8 23-Jan-2004 jmc

`Ns' implies `No', so `Ns No' -> `Ns'; (even simpler in adduser(8))
discussed with todd@


# 1.7 30-Nov-2003 jmc

- .Sh WARNINGS -> standard .Sh CAVEATS
- tidy up AUTHORS
- standard section order
- kill whitespace at EOL


Revision tags: OPENBSD_3_4_BASE
# 1.6 02-Sep-2003 jmc

escape punctuation;
ok deraadt@


# 1.5 18-Aug-2003 millert

We distribute less under a 2-term BSD-style license. Update COPYRIGHT
section based on less's LICENSE file.


# 1.4 14-Jul-2003 jmc

- escape %{B,D,P} to prevent groff trying to expand them
- remove some unnecessary .Pp's


# 1.3 10-Jun-2003 jmc

- section reorder
- COMPATIBILITY merge
- macro cleanup
- kill whitespace at EOL
- new sentence, new line

ssh pages ok markus@


# 1.2 08-May-2003 jmc

AUTHOR -> AUTHORS in .Sh, as per mdoc template.


# 1.1 16-Apr-2003 millert

mdoc format man pages from jmc@


# 1.55 20-Jul-2019 schwarze

Correct misleading description of -S;
problem reported by George Brown <321 dot george at gmail dot com> on tech@.


# 1.54 26-May-2019 naddy

use proper crossreferences


# 1.53 07-May-2019 schwarze

fix an obvious documentation bug: -# requires an argument


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.52 24-Oct-2016 schwarze

Unify wording for LC_CTYPE in ENVIRONMENT:
* Consistently use "character encoding locale" as suggested by stsp@.
* Resolve various gratuitious wording variations.
OK jmc@.


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.51 23-Nov-2015 tb

Update less(1) and lesskey(1) manuals for LESSCHARSET removal

From Michael Reed < m ! reed () mykolab ! com >, thanks!

ok nicm@


# 1.50 15-Nov-2015 nicm

The compile-time secure mode has gone, from Michael Reed.


# 1.49 08-Nov-2015 jmc

stop pointing people to the gnu and less sites; ok nicm


# 1.48 08-Nov-2015 nicm

Remove support for LESSGLOBALTAGS, we do not have global(1) (standard
ctags(1) support remains). ok tedu


# 1.47 06-Nov-2015 tedu

remove rarely used LESSCHARDEF support. ok nicm


# 1.46 06-Nov-2015 nicm

Remove support for ! to run a shell command, we have ^Z around these
parts. ok ratchov jung millert


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.45 23-Nov-2014 jmc

minor fixes;


# 1.44 23-Nov-2014 bentley

Improve manpage markup.

- Mark up flags with Fl
- Mark up commands with Cm or Ic
- Replace some double quotes with semantic alternatives
- Fix the incorrectly documented -" option
- Correct broken intra-page references

ok jmc@


Revision tags: OPENBSD_5_6_BASE
# 1.43 28-May-2014 jmc

in the compat with more section, document:

- the sense of -c is inverted
- -GX are on by default
- fold the note on -d into the stuff on -GX

i deliberately left out mentioning -l being on by default, since i think
the note below (all LESS vars are ignored) covers it adequately;

ok millert


# 1.42 28-May-2014 millert

When invoked as more, make the -i option behave the same as less's
-I to match POSIX. OK and man bits from jmc@


# 1.41 13-May-2014 jmc

sync some of the text of ENVIRONMENT with more(1), and cut some
verbiage;

ok millert


# 1.40 09-May-2014 jmc

zap the commented out stuff from this file: it mainly pertains to other
systems, and our page is sufficiently far away from upstream to justify it;

ok millert


# 1.39 09-May-2014 jmc

move some remnants of more behaviour to the compat section, and use Xr for
refs to more instead of Nm;


# 1.38 08-May-2014 jmc

whack some useless verbiage from DESCRIPTION, and merge some of it into
the env vars section; tidy up the env vars section and remove the commented
out stuff which relataes mainly to less on other systems;


# 1.37 08-May-2014 jmc

- update DESCRIPTION and COMPATIBILITY WITH MORE
- Xr more 1

ok millert schwarze


# 1.36 01-May-2014 jmc

options first, then pager commands; also remove one non-standard Sh;


# 1.35 01-May-2014 jmc

STANDARDS is no longer relevant to this page, so remove it; while here,
zap some trailing whitespace introduced in recent update


# 1.34 01-May-2014 jmc

the beginning of removing more details from this page, since we now have
a separate more(1): it's a big page so i'm doing it in bits.

in this commit, remove more stuff from SYNOPSIS, remove some cleverness
from SYNOPSIS, and use consistent argument names;


# 1.33 29-Apr-2014 millert

Remove support for the obsolete (non-POSIX) "more -d" prompt.
This was a local change that was only enabled when the LESS_IS_MORE
environment variable was set and not when invoked as "more".
OK shadchin@ jmc@


# 1.32 25-Apr-2014 shadchin

Merge Less 458 plus local patches

ok guenther@, ok jmc@ for man bits


# 1.31 07-Apr-2014 millert

Back out rev 1.30, our less does actually support the old-style more
-d flag.


# 1.30 07-Apr-2014 millert

Remove description of old more's -d option which we haven't supported
for years. OK jmc@


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE
# 1.29 16-Jul-2013 schwarze

use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@


Revision tags: OPENBSD_5_3_BASE
# 1.28 12-Aug-2012 schwarze

Use .Lk for HTTP hyperlinks, not .Pa.
Most of the patch from Arto Jonsson <ajonsson at kapsi dot fi>.
jmc@ agrees in principle that .Lk is the right macro to use.

While here, update a few broken links,
and add missing markup at a few places.


Revision tags: OPENBSD_5_2_BASE
# 1.27 30-Mar-2012 jmc

make the description of -c a little saner; ok nicm


# 1.26 27-Mar-2012 nicm

Reverse the default of the -c flag from off to on to prevent the text
being displayed in the wrong place initially and then jumping when first
redrawn (such as when searching).

ok deraadt sthen


Revision tags: OPENBSD_5_1_BASE
# 1.25 15-Nov-2011 nicm

Disable LESSHISTFILE by default, requested by deraadt.


# 1.24 16-Sep-2011 jmc

tweak previous;


# 1.23 16-Sep-2011 shadchin

Merge in less 444 plus local changes

ok nicm@


Revision tags: OPENBSD_5_0_BASE
# 1.22 02-May-2011 jmc

no need to escape `|'; as discussed with schwartze


Revision tags: OPENBSD_4_9_BASE
# 1.21 03-Feb-2011 jmc

LC_TYPE -> LC_CTYPE; from Alexander Polakov


# 1.20 28-Oct-2010 jmc

more roff adjustments;


# 1.19 09-Aug-2010 ray

Match -m prompt string in man page with code. From Daniel Malament
danielm at bluetiger dot net, PR 6234.

OK millert


Revision tags: OPENBSD_4_8_BASE
# 1.18 09-Apr-2010 jmc

- fix up SYNOPSIS; it's not perfect yet though...
- couple of other tweaks while in here


Revision tags: OPENBSD_4_7_BASE
# 1.17 22-Oct-2009 sobrado

use the UNIX-related macros (.At and .Ux) where appropriate.

ok jmc@


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE
# 1.16 10-Feb-2009 jmc

STANDARDS:
mark these utilities as being either optional (SD/FR/UP); or as
being compliant only with XPG4 (XSI); strip.1 and talk.1 are tweaked
purely for consistency;

thanks otto for feedback


# 1.15 08-Feb-2009 jmc

bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a few
updates to follow;


Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE
# 1.14 31-May-2007 jmc

convert to new .Dd format;


# 1.13 30-May-2007 jmc

some i missed...
- consistent text for STANDARDS
- note which options are extensions to POSIX


# 1.12 15-Mar-2007 jmc

sort options; from Igor Sobrado


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.11 26-May-2006 jmc

remove references to CRTs where they no longer make sense;

tweaked by mickey/krw
ok deraadt


Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE
# 1.10 30-Dec-2004 jmc

these pages already have their copyrights contained within the main
body of the page, commented out;

no point in giving them their own COPYRIGHT sections, so remove them;


Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE
# 1.9 20-Feb-2004 jmc

uppercase CRT;


# 1.8 23-Jan-2004 jmc

`Ns' implies `No', so `Ns No' -> `Ns'; (even simpler in adduser(8))
discussed with todd@


# 1.7 30-Nov-2003 jmc

- .Sh WARNINGS -> standard .Sh CAVEATS
- tidy up AUTHORS
- standard section order
- kill whitespace at EOL


Revision tags: OPENBSD_3_4_BASE
# 1.6 02-Sep-2003 jmc

escape punctuation;
ok deraadt@


# 1.5 18-Aug-2003 millert

We distribute less under a 2-term BSD-style license. Update COPYRIGHT
section based on less's LICENSE file.


# 1.4 14-Jul-2003 jmc

- escape %{B,D,P} to prevent groff trying to expand them
- remove some unnecessary .Pp's


# 1.3 10-Jun-2003 jmc

- section reorder
- COMPATIBILITY merge
- macro cleanup
- kill whitespace at EOL
- new sentence, new line

ssh pages ok markus@


# 1.2 08-May-2003 jmc

AUTHOR -> AUTHORS in .Sh, as per mdoc template.


# 1.1 16-Apr-2003 millert

mdoc format man pages from jmc@


# 1.54 26-May-2019 naddy

use proper crossreferences


# 1.53 07-May-2019 schwarze

fix an obvious documentation bug: -# requires an argument


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.52 24-Oct-2016 schwarze

Unify wording for LC_CTYPE in ENVIRONMENT:
* Consistently use "character encoding locale" as suggested by stsp@.
* Resolve various gratuitious wording variations.
OK jmc@.


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.51 23-Nov-2015 tb

Update less(1) and lesskey(1) manuals for LESSCHARSET removal

From Michael Reed < m ! reed () mykolab ! com >, thanks!

ok nicm@


# 1.50 15-Nov-2015 nicm

The compile-time secure mode has gone, from Michael Reed.


# 1.49 08-Nov-2015 jmc

stop pointing people to the gnu and less sites; ok nicm


# 1.48 08-Nov-2015 nicm

Remove support for LESSGLOBALTAGS, we do not have global(1) (standard
ctags(1) support remains). ok tedu


# 1.47 06-Nov-2015 tedu

remove rarely used LESSCHARDEF support. ok nicm


# 1.46 06-Nov-2015 nicm

Remove support for ! to run a shell command, we have ^Z around these
parts. ok ratchov jung millert


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.45 23-Nov-2014 jmc

minor fixes;


# 1.44 23-Nov-2014 bentley

Improve manpage markup.

- Mark up flags with Fl
- Mark up commands with Cm or Ic
- Replace some double quotes with semantic alternatives
- Fix the incorrectly documented -" option
- Correct broken intra-page references

ok jmc@


Revision tags: OPENBSD_5_6_BASE
# 1.43 28-May-2014 jmc

in the compat with more section, document:

- the sense of -c is inverted
- -GX are on by default
- fold the note on -d into the stuff on -GX

i deliberately left out mentioning -l being on by default, since i think
the note below (all LESS vars are ignored) covers it adequately;

ok millert


# 1.42 28-May-2014 millert

When invoked as more, make the -i option behave the same as less's
-I to match POSIX. OK and man bits from jmc@


# 1.41 13-May-2014 jmc

sync some of the text of ENVIRONMENT with more(1), and cut some
verbiage;

ok millert


# 1.40 09-May-2014 jmc

zap the commented out stuff from this file: it mainly pertains to other
systems, and our page is sufficiently far away from upstream to justify it;

ok millert


# 1.39 09-May-2014 jmc

move some remnants of more behaviour to the compat section, and use Xr for
refs to more instead of Nm;


# 1.38 08-May-2014 jmc

whack some useless verbiage from DESCRIPTION, and merge some of it into
the env vars section; tidy up the env vars section and remove the commented
out stuff which relataes mainly to less on other systems;


# 1.37 08-May-2014 jmc

- update DESCRIPTION and COMPATIBILITY WITH MORE
- Xr more 1

ok millert schwarze


# 1.36 01-May-2014 jmc

options first, then pager commands; also remove one non-standard Sh;


# 1.35 01-May-2014 jmc

STANDARDS is no longer relevant to this page, so remove it; while here,
zap some trailing whitespace introduced in recent update


# 1.34 01-May-2014 jmc

the beginning of removing more details from this page, since we now have
a separate more(1): it's a big page so i'm doing it in bits.

in this commit, remove more stuff from SYNOPSIS, remove some cleverness
from SYNOPSIS, and use consistent argument names;


# 1.33 29-Apr-2014 millert

Remove support for the obsolete (non-POSIX) "more -d" prompt.
This was a local change that was only enabled when the LESS_IS_MORE
environment variable was set and not when invoked as "more".
OK shadchin@ jmc@


# 1.32 25-Apr-2014 shadchin

Merge Less 458 plus local patches

ok guenther@, ok jmc@ for man bits


# 1.31 07-Apr-2014 millert

Back out rev 1.30, our less does actually support the old-style more
-d flag.


# 1.30 07-Apr-2014 millert

Remove description of old more's -d option which we haven't supported
for years. OK jmc@


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE
# 1.29 16-Jul-2013 schwarze

use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@


Revision tags: OPENBSD_5_3_BASE
# 1.28 12-Aug-2012 schwarze

Use .Lk for HTTP hyperlinks, not .Pa.
Most of the patch from Arto Jonsson <ajonsson at kapsi dot fi>.
jmc@ agrees in principle that .Lk is the right macro to use.

While here, update a few broken links,
and add missing markup at a few places.


Revision tags: OPENBSD_5_2_BASE
# 1.27 30-Mar-2012 jmc

make the description of -c a little saner; ok nicm


# 1.26 27-Mar-2012 nicm

Reverse the default of the -c flag from off to on to prevent the text
being displayed in the wrong place initially and then jumping when first
redrawn (such as when searching).

ok deraadt sthen


Revision tags: OPENBSD_5_1_BASE
# 1.25 15-Nov-2011 nicm

Disable LESSHISTFILE by default, requested by deraadt.


# 1.24 16-Sep-2011 jmc

tweak previous;


# 1.23 16-Sep-2011 shadchin

Merge in less 444 plus local changes

ok nicm@


Revision tags: OPENBSD_5_0_BASE
# 1.22 02-May-2011 jmc

no need to escape `|'; as discussed with schwartze


Revision tags: OPENBSD_4_9_BASE
# 1.21 03-Feb-2011 jmc

LC_TYPE -> LC_CTYPE; from Alexander Polakov


# 1.20 28-Oct-2010 jmc

more roff adjustments;


# 1.19 09-Aug-2010 ray

Match -m prompt string in man page with code. From Daniel Malament
danielm at bluetiger dot net, PR 6234.

OK millert


Revision tags: OPENBSD_4_8_BASE
# 1.18 09-Apr-2010 jmc

- fix up SYNOPSIS; it's not perfect yet though...
- couple of other tweaks while in here


Revision tags: OPENBSD_4_7_BASE
# 1.17 22-Oct-2009 sobrado

use the UNIX-related macros (.At and .Ux) where appropriate.

ok jmc@


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE
# 1.16 10-Feb-2009 jmc

STANDARDS:
mark these utilities as being either optional (SD/FR/UP); or as
being compliant only with XPG4 (XSI); strip.1 and talk.1 are tweaked
purely for consistency;

thanks otto for feedback


# 1.15 08-Feb-2009 jmc

bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a few
updates to follow;


Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE
# 1.14 31-May-2007 jmc

convert to new .Dd format;


# 1.13 30-May-2007 jmc

some i missed...
- consistent text for STANDARDS
- note which options are extensions to POSIX


# 1.12 15-Mar-2007 jmc

sort options; from Igor Sobrado


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.11 26-May-2006 jmc

remove references to CRTs where they no longer make sense;

tweaked by mickey/krw
ok deraadt


Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE
# 1.10 30-Dec-2004 jmc

these pages already have their copyrights contained within the main
body of the page, commented out;

no point in giving them their own COPYRIGHT sections, so remove them;


Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE
# 1.9 20-Feb-2004 jmc

uppercase CRT;


# 1.8 23-Jan-2004 jmc

`Ns' implies `No', so `Ns No' -> `Ns'; (even simpler in adduser(8))
discussed with todd@


# 1.7 30-Nov-2003 jmc

- .Sh WARNINGS -> standard .Sh CAVEATS
- tidy up AUTHORS
- standard section order
- kill whitespace at EOL


Revision tags: OPENBSD_3_4_BASE
# 1.6 02-Sep-2003 jmc

escape punctuation;
ok deraadt@


# 1.5 18-Aug-2003 millert

We distribute less under a 2-term BSD-style license. Update COPYRIGHT
section based on less's LICENSE file.


# 1.4 14-Jul-2003 jmc

- escape %{B,D,P} to prevent groff trying to expand them
- remove some unnecessary .Pp's


# 1.3 10-Jun-2003 jmc

- section reorder
- COMPATIBILITY merge
- macro cleanup
- kill whitespace at EOL
- new sentence, new line

ssh pages ok markus@


# 1.2 08-May-2003 jmc

AUTHOR -> AUTHORS in .Sh, as per mdoc template.


# 1.1 16-Apr-2003 millert

mdoc format man pages from jmc@


# 1.53 07-May-2019 schwarze

fix an obvious documentation bug: -# requires an argument


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.52 24-Oct-2016 schwarze

Unify wording for LC_CTYPE in ENVIRONMENT:
* Consistently use "character encoding locale" as suggested by stsp@.
* Resolve various gratuitious wording variations.
OK jmc@.


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.51 23-Nov-2015 tb

Update less(1) and lesskey(1) manuals for LESSCHARSET removal

From Michael Reed < m ! reed () mykolab ! com >, thanks!

ok nicm@


# 1.50 15-Nov-2015 nicm

The compile-time secure mode has gone, from Michael Reed.


# 1.49 08-Nov-2015 jmc

stop pointing people to the gnu and less sites; ok nicm


# 1.48 08-Nov-2015 nicm

Remove support for LESSGLOBALTAGS, we do not have global(1) (standard
ctags(1) support remains). ok tedu


# 1.47 06-Nov-2015 tedu

remove rarely used LESSCHARDEF support. ok nicm


# 1.46 06-Nov-2015 nicm

Remove support for ! to run a shell command, we have ^Z around these
parts. ok ratchov jung millert


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.45 23-Nov-2014 jmc

minor fixes;


# 1.44 23-Nov-2014 bentley

Improve manpage markup.

- Mark up flags with Fl
- Mark up commands with Cm or Ic
- Replace some double quotes with semantic alternatives
- Fix the incorrectly documented -" option
- Correct broken intra-page references

ok jmc@


Revision tags: OPENBSD_5_6_BASE
# 1.43 28-May-2014 jmc

in the compat with more section, document:

- the sense of -c is inverted
- -GX are on by default
- fold the note on -d into the stuff on -GX

i deliberately left out mentioning -l being on by default, since i think
the note below (all LESS vars are ignored) covers it adequately;

ok millert


# 1.42 28-May-2014 millert

When invoked as more, make the -i option behave the same as less's
-I to match POSIX. OK and man bits from jmc@


# 1.41 13-May-2014 jmc

sync some of the text of ENVIRONMENT with more(1), and cut some
verbiage;

ok millert


# 1.40 09-May-2014 jmc

zap the commented out stuff from this file: it mainly pertains to other
systems, and our page is sufficiently far away from upstream to justify it;

ok millert


# 1.39 09-May-2014 jmc

move some remnants of more behaviour to the compat section, and use Xr for
refs to more instead of Nm;


# 1.38 08-May-2014 jmc

whack some useless verbiage from DESCRIPTION, and merge some of it into
the env vars section; tidy up the env vars section and remove the commented
out stuff which relataes mainly to less on other systems;


# 1.37 08-May-2014 jmc

- update DESCRIPTION and COMPATIBILITY WITH MORE
- Xr more 1

ok millert schwarze


# 1.36 01-May-2014 jmc

options first, then pager commands; also remove one non-standard Sh;


# 1.35 01-May-2014 jmc

STANDARDS is no longer relevant to this page, so remove it; while here,
zap some trailing whitespace introduced in recent update


# 1.34 01-May-2014 jmc

the beginning of removing more details from this page, since we now have
a separate more(1): it's a big page so i'm doing it in bits.

in this commit, remove more stuff from SYNOPSIS, remove some cleverness
from SYNOPSIS, and use consistent argument names;


# 1.33 29-Apr-2014 millert

Remove support for the obsolete (non-POSIX) "more -d" prompt.
This was a local change that was only enabled when the LESS_IS_MORE
environment variable was set and not when invoked as "more".
OK shadchin@ jmc@


# 1.32 25-Apr-2014 shadchin

Merge Less 458 plus local patches

ok guenther@, ok jmc@ for man bits


# 1.31 07-Apr-2014 millert

Back out rev 1.30, our less does actually support the old-style more
-d flag.


# 1.30 07-Apr-2014 millert

Remove description of old more's -d option which we haven't supported
for years. OK jmc@


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE
# 1.29 16-Jul-2013 schwarze

use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@


Revision tags: OPENBSD_5_3_BASE
# 1.28 12-Aug-2012 schwarze

Use .Lk for HTTP hyperlinks, not .Pa.
Most of the patch from Arto Jonsson <ajonsson at kapsi dot fi>.
jmc@ agrees in principle that .Lk is the right macro to use.

While here, update a few broken links,
and add missing markup at a few places.


Revision tags: OPENBSD_5_2_BASE
# 1.27 30-Mar-2012 jmc

make the description of -c a little saner; ok nicm


# 1.26 27-Mar-2012 nicm

Reverse the default of the -c flag from off to on to prevent the text
being displayed in the wrong place initially and then jumping when first
redrawn (such as when searching).

ok deraadt sthen


Revision tags: OPENBSD_5_1_BASE
# 1.25 15-Nov-2011 nicm

Disable LESSHISTFILE by default, requested by deraadt.


# 1.24 16-Sep-2011 jmc

tweak previous;


# 1.23 16-Sep-2011 shadchin

Merge in less 444 plus local changes

ok nicm@


Revision tags: OPENBSD_5_0_BASE
# 1.22 02-May-2011 jmc

no need to escape `|'; as discussed with schwartze


Revision tags: OPENBSD_4_9_BASE
# 1.21 03-Feb-2011 jmc

LC_TYPE -> LC_CTYPE; from Alexander Polakov


# 1.20 28-Oct-2010 jmc

more roff adjustments;


# 1.19 09-Aug-2010 ray

Match -m prompt string in man page with code. From Daniel Malament
danielm at bluetiger dot net, PR 6234.

OK millert


Revision tags: OPENBSD_4_8_BASE
# 1.18 09-Apr-2010 jmc

- fix up SYNOPSIS; it's not perfect yet though...
- couple of other tweaks while in here


Revision tags: OPENBSD_4_7_BASE
# 1.17 22-Oct-2009 sobrado

use the UNIX-related macros (.At and .Ux) where appropriate.

ok jmc@


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE
# 1.16 10-Feb-2009 jmc

STANDARDS:
mark these utilities as being either optional (SD/FR/UP); or as
being compliant only with XPG4 (XSI); strip.1 and talk.1 are tweaked
purely for consistency;

thanks otto for feedback


# 1.15 08-Feb-2009 jmc

bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a few
updates to follow;


Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE
# 1.14 31-May-2007 jmc

convert to new .Dd format;


# 1.13 30-May-2007 jmc

some i missed...
- consistent text for STANDARDS
- note which options are extensions to POSIX


# 1.12 15-Mar-2007 jmc

sort options; from Igor Sobrado


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.11 26-May-2006 jmc

remove references to CRTs where they no longer make sense;

tweaked by mickey/krw
ok deraadt


Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE
# 1.10 30-Dec-2004 jmc

these pages already have their copyrights contained within the main
body of the page, commented out;

no point in giving them their own COPYRIGHT sections, so remove them;


Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE
# 1.9 20-Feb-2004 jmc

uppercase CRT;


# 1.8 23-Jan-2004 jmc

`Ns' implies `No', so `Ns No' -> `Ns'; (even simpler in adduser(8))
discussed with todd@


# 1.7 30-Nov-2003 jmc

- .Sh WARNINGS -> standard .Sh CAVEATS
- tidy up AUTHORS
- standard section order
- kill whitespace at EOL


Revision tags: OPENBSD_3_4_BASE
# 1.6 02-Sep-2003 jmc

escape punctuation;
ok deraadt@


# 1.5 18-Aug-2003 millert

We distribute less under a 2-term BSD-style license. Update COPYRIGHT
section based on less's LICENSE file.


# 1.4 14-Jul-2003 jmc

- escape %{B,D,P} to prevent groff trying to expand them
- remove some unnecessary .Pp's


# 1.3 10-Jun-2003 jmc

- section reorder
- COMPATIBILITY merge
- macro cleanup
- kill whitespace at EOL
- new sentence, new line

ssh pages ok markus@


# 1.2 08-May-2003 jmc

AUTHOR -> AUTHORS in .Sh, as per mdoc template.


# 1.1 16-Apr-2003 millert

mdoc format man pages from jmc@


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.52 24-Oct-2016 schwarze

Unify wording for LC_CTYPE in ENVIRONMENT:
* Consistently use "character encoding locale" as suggested by stsp@.
* Resolve various gratuitious wording variations.
OK jmc@.


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.51 23-Nov-2015 tb

Update less(1) and lesskey(1) manuals for LESSCHARSET removal

From Michael Reed < m ! reed () mykolab ! com >, thanks!

ok nicm@


# 1.50 15-Nov-2015 nicm

The compile-time secure mode has gone, from Michael Reed.


# 1.49 08-Nov-2015 jmc

stop pointing people to the gnu and less sites; ok nicm


# 1.48 08-Nov-2015 nicm

Remove support for LESSGLOBALTAGS, we do not have global(1) (standard
ctags(1) support remains). ok tedu


# 1.47 06-Nov-2015 tedu

remove rarely used LESSCHARDEF support. ok nicm


# 1.46 06-Nov-2015 nicm

Remove support for ! to run a shell command, we have ^Z around these
parts. ok ratchov jung millert


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.45 23-Nov-2014 jmc

minor fixes;


# 1.44 23-Nov-2014 bentley

Improve manpage markup.

- Mark up flags with Fl
- Mark up commands with Cm or Ic
- Replace some double quotes with semantic alternatives
- Fix the incorrectly documented -" option
- Correct broken intra-page references

ok jmc@


Revision tags: OPENBSD_5_6_BASE
# 1.43 28-May-2014 jmc

in the compat with more section, document:

- the sense of -c is inverted
- -GX are on by default
- fold the note on -d into the stuff on -GX

i deliberately left out mentioning -l being on by default, since i think
the note below (all LESS vars are ignored) covers it adequately;

ok millert


# 1.42 28-May-2014 millert

When invoked as more, make the -i option behave the same as less's
-I to match POSIX. OK and man bits from jmc@


# 1.41 13-May-2014 jmc

sync some of the text of ENVIRONMENT with more(1), and cut some
verbiage;

ok millert


# 1.40 09-May-2014 jmc

zap the commented out stuff from this file: it mainly pertains to other
systems, and our page is sufficiently far away from upstream to justify it;

ok millert


# 1.39 09-May-2014 jmc

move some remnants of more behaviour to the compat section, and use Xr for
refs to more instead of Nm;


# 1.38 08-May-2014 jmc

whack some useless verbiage from DESCRIPTION, and merge some of it into
the env vars section; tidy up the env vars section and remove the commented
out stuff which relataes mainly to less on other systems;


# 1.37 08-May-2014 jmc

- update DESCRIPTION and COMPATIBILITY WITH MORE
- Xr more 1

ok millert schwarze


# 1.36 01-May-2014 jmc

options first, then pager commands; also remove one non-standard Sh;


# 1.35 01-May-2014 jmc

STANDARDS is no longer relevant to this page, so remove it; while here,
zap some trailing whitespace introduced in recent update


# 1.34 01-May-2014 jmc

the beginning of removing more details from this page, since we now have
a separate more(1): it's a big page so i'm doing it in bits.

in this commit, remove more stuff from SYNOPSIS, remove some cleverness
from SYNOPSIS, and use consistent argument names;


# 1.33 29-Apr-2014 millert

Remove support for the obsolete (non-POSIX) "more -d" prompt.
This was a local change that was only enabled when the LESS_IS_MORE
environment variable was set and not when invoked as "more".
OK shadchin@ jmc@


# 1.32 25-Apr-2014 shadchin

Merge Less 458 plus local patches

ok guenther@, ok jmc@ for man bits


# 1.31 07-Apr-2014 millert

Back out rev 1.30, our less does actually support the old-style more
-d flag.


# 1.30 07-Apr-2014 millert

Remove description of old more's -d option which we haven't supported
for years. OK jmc@


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE
# 1.29 16-Jul-2013 schwarze

use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@


Revision tags: OPENBSD_5_3_BASE
# 1.28 12-Aug-2012 schwarze

Use .Lk for HTTP hyperlinks, not .Pa.
Most of the patch from Arto Jonsson <ajonsson at kapsi dot fi>.
jmc@ agrees in principle that .Lk is the right macro to use.

While here, update a few broken links,
and add missing markup at a few places.


Revision tags: OPENBSD_5_2_BASE
# 1.27 30-Mar-2012 jmc

make the description of -c a little saner; ok nicm


# 1.26 27-Mar-2012 nicm

Reverse the default of the -c flag from off to on to prevent the text
being displayed in the wrong place initially and then jumping when first
redrawn (such as when searching).

ok deraadt sthen


Revision tags: OPENBSD_5_1_BASE
# 1.25 15-Nov-2011 nicm

Disable LESSHISTFILE by default, requested by deraadt.


# 1.24 16-Sep-2011 jmc

tweak previous;


# 1.23 16-Sep-2011 shadchin

Merge in less 444 plus local changes

ok nicm@


Revision tags: OPENBSD_5_0_BASE
# 1.22 02-May-2011 jmc

no need to escape `|'; as discussed with schwartze


Revision tags: OPENBSD_4_9_BASE
# 1.21 03-Feb-2011 jmc

LC_TYPE -> LC_CTYPE; from Alexander Polakov


# 1.20 28-Oct-2010 jmc

more roff adjustments;


# 1.19 09-Aug-2010 ray

Match -m prompt string in man page with code. From Daniel Malament
danielm at bluetiger dot net, PR 6234.

OK millert


Revision tags: OPENBSD_4_8_BASE
# 1.18 09-Apr-2010 jmc

- fix up SYNOPSIS; it's not perfect yet though...
- couple of other tweaks while in here


Revision tags: OPENBSD_4_7_BASE
# 1.17 22-Oct-2009 sobrado

use the UNIX-related macros (.At and .Ux) where appropriate.

ok jmc@


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE
# 1.16 10-Feb-2009 jmc

STANDARDS:
mark these utilities as being either optional (SD/FR/UP); or as
being compliant only with XPG4 (XSI); strip.1 and talk.1 are tweaked
purely for consistency;

thanks otto for feedback


# 1.15 08-Feb-2009 jmc

bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a few
updates to follow;


Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE
# 1.14 31-May-2007 jmc

convert to new .Dd format;


# 1.13 30-May-2007 jmc

some i missed...
- consistent text for STANDARDS
- note which options are extensions to POSIX


# 1.12 15-Mar-2007 jmc

sort options; from Igor Sobrado


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.11 26-May-2006 jmc

remove references to CRTs where they no longer make sense;

tweaked by mickey/krw
ok deraadt


Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE
# 1.10 30-Dec-2004 jmc

these pages already have their copyrights contained within the main
body of the page, commented out;

no point in giving them their own COPYRIGHT sections, so remove them;


Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE
# 1.9 20-Feb-2004 jmc

uppercase CRT;


# 1.8 23-Jan-2004 jmc

`Ns' implies `No', so `Ns No' -> `Ns'; (even simpler in adduser(8))
discussed with todd@


# 1.7 30-Nov-2003 jmc

- .Sh WARNINGS -> standard .Sh CAVEATS
- tidy up AUTHORS
- standard section order
- kill whitespace at EOL


Revision tags: OPENBSD_3_4_BASE
# 1.6 02-Sep-2003 jmc

escape punctuation;
ok deraadt@


# 1.5 18-Aug-2003 millert

We distribute less under a 2-term BSD-style license. Update COPYRIGHT
section based on less's LICENSE file.


# 1.4 14-Jul-2003 jmc

- escape %{B,D,P} to prevent groff trying to expand them
- remove some unnecessary .Pp's


# 1.3 10-Jun-2003 jmc

- section reorder
- COMPATIBILITY merge
- macro cleanup
- kill whitespace at EOL
- new sentence, new line

ssh pages ok markus@


# 1.2 08-May-2003 jmc

AUTHOR -> AUTHORS in .Sh, as per mdoc template.


# 1.1 16-Apr-2003 millert

mdoc format man pages from jmc@