"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "less.man" between
less-561.tar.gz and less-562.tar.gz

About: less is a file pager (a program that displays text files similar to "more" or "pg"). Beta version.

less.man  (less-561):less.man  (less-562)
skipping to change at line 27 skipping to change at line 27
[1m[‐T [4m[22mtagsfile[24m[1m] [‐x [1m[‐T [4m[22mtagsfile[24m[1m] [‐x
[4m[22mtab[24m[1m,...] [‐y [4m[22mlines[24m[1m] [‐[z] [4m[22mtab[24m[1m,...] [‐y [4m[22mlines[24m[1m] [‐[z]
[4m[22mlines[24m[1m][0m [4m[22mlines[24m[1m][0m
[1m[‐# [4m[22mshift[24m[1m] [+[+][4m[22mcmd[24m[1m] [1m[‐# [4m[22mshift[24m[1m] [+[+][4m[22mcmd[24m[1m]
[‐‐] [[4m[22mfilename[24m[1m]...[0m [‐‐] [[4m[22mfilename[24m[1m]...[0m
(See the OPTIONS section for alternate option syntax (See the OPTIONS section for alternate option syntax
with long option with long option
names.) names.)
[1mDESCRIPTION[0m [1mDESCRIPTION[0m
[4mLess[24m is a program similar to [4mmore[24m (1), but [4mLess[24m is a program similar to [4mmore[24m(1), but
which allows backward move‐ which allows backward move‐
ment in the file as well as forward movement. Also, ment in the file as well as forward movement. Also,
[4mless[24m does not have [4mless[24m does not have
to read the entire input file before starting, so with to read the entire input file before starting, so with
large input large input
files it starts up faster than text editors like files it starts up faster than text editors like
[4mvi[24m (1). [4mLess[24m uses [4mvi[24m(1). [4mLess[24m uses
termcap (or terminfo on some systems), so it can run on a termcap (or terminfo on some systems), so it can run on a
variety of variety of
terminals. There is even limited support for hardcopy terminals. There is even limited support for hardcopy
terminals. (On terminals. (On
a hardcopy terminal, lines which should be printed at the a hardcopy terminal, lines which should be printed at the
top of the top of the
screen are prefixed with a caret.) screen are prefixed with a caret.)
Commands are based on both [4mmore[24m and [4mvi[24m. Commands are based on both [4mmore[24m and [4mvi[24m.
Commands may be preceded by a Commands may be preceded by a
skipping to change at line 965 skipping to change at line 965
Displays a status column at the left edge of the Displays a status column at the left edge of the
screen. The screen. The
status column shows the lines that matched the status column shows the lines that matched the
current search, current search,
and any lines that are marked (via the m or M and any lines that are marked (via the m or M
command). The command). The
status column is also used if the ‐w or ‐W option status column is also used if the ‐w or ‐W option
is in effect. is in effect.
‐k[4mfilename[24m or ‐‐lesskey‐file=[4mfilename[0m ‐k[4mfilename[24m or ‐‐lesskey‐file=[4mfilename[0m
Causes [4mless[24m to open and interpret the Causes [4mless[24m to open and interpret the named
named file as a [4mlesskey[0m file as a [4mlesskey[24m(1)
(1) file. Multiple ‐k options may be specified. file. Multiple ‐k options may be specified. If
If the LESSKEY the LESSKEY or
or LESSKEY_SYSTEM environment variable is set, or LESSKEY_SYSTEM environment variable is set, or if a
if a lesskey lesskey file
file is found in a standard place (see KEY BIND- is found in a standard place (see KEY BINDINGS), it
INGS), it is also is also used
used as a [4mlesskey[24m file. as a [4mlesskey[24m file.
‐K or ‐‐quit‐on‐intr ‐K or ‐‐quit‐on‐intr
Causes [4mless[24m to exit immediately (with sta- Causes [4mless[24m to exit immediately (with sta-
tus 2) when an inter‐ tus 2) when an inter‐
rupt character (usually ^C) is typed. Normally, rupt character (usually ^C) is typed. Normally,
an interrupt an interrupt
character causes [4mless[24m to stop whatever it is character causes [4mless[24m to stop whatever it is
doing and return to doing and return to
its command prompt. Note that use of this option its command prompt. Note that use of this option
makes it im‐ makes it im‐
skipping to change at line 1176 skipping to change at line 1176
lines; that is, lines; that is,
display the remainder on the next line. display the remainder on the next line.
‐t[4mtag[24m or ‐‐tag=[4mtag[0m ‐t[4mtag[24m or ‐‐tag=[4mtag[0m
The ‐t option, followed immediately by a TAG, will The ‐t option, followed immediately by a TAG, will
edit the file edit the file
containing that tag. For this to work, tag infor- containing that tag. For this to work, tag infor-
mation must be mation must be
available; for example, there may be a file in the available; for example, there may be a file in the
current di‐ current di‐
rectory called "tags", which was previously built rectory called "tags", which was previously built
by [4mctags[24m (1) by [4mctags[24m(1) or
or an equivalent command. If the environment vari- an equivalent command. If the environment variable
able LESSGLOB‐ LESSGLOBALT‐
ALTAGS is set, it is taken to be the name of a AGS is set, it is taken to be the name of a com-
command compati‐ mand compatible
ble with [4mglobal[24m (1), and that command is ex- with [4mglobal[24m(1), and that command is executed
ecuted to find the to find the tag.
tag. (See http://www.gnu.org/software/global/glob- (See http://www.gnu.org/software/global/glob-
al.html). The al.html). The ‐t
‐t option may also be specified from within option may also be specified from within
[4mless[24m (using the ‐ [4mless[24m (using the ‐ com‐
command) as a way of examining a new file. The mand) as a way of examining a new file. The
command ":t" is command ":t" is
equivalent to specifying ‐t from within equivalent to specifying ‐t from within
[4mless[24m. [4mless[24m.
‐T[4mtagsfile[24m or ‐‐tag‐file=[4mtagsfile[0m ‐T[4mtagsfile[24m or ‐‐tag‐file=[4mtagsfile[0m
Specifies a tags file to be used instead of "tags". Specifies a tags file to be used instead of "tags".
‐u or ‐‐underline‐special ‐u or ‐‐underline‐special
Causes backspaces and carriage returns to be treat- Causes backspaces and carriage returns to be treat-
ed as print‐ ed as print‐
skipping to change at line 1598 skipping to change at line 1598
line‐kill char‐ line‐kill char‐
acter in Unix to something other than ^U, that acter in Unix to something other than ^U, that
character is used character is used
instead of ^U. instead of ^U.
^G Delete the entire command line and return to the ^G Delete the entire command line and return to the
main prompt. main prompt.
[1mKEY BINDINGS[0m [1mKEY BINDINGS[0m
You may define your own [4mless[24m commands by using the You may define your own [4mless[24m commands by using the
program [4mlesskey[24m (1) program [4mlesskey[24m(1)
to create a lesskey file. This file specifies a set of to create a lesskey file. This file specifies a set of
command keys command keys
and an action associated with each key. You may also use and an action associated with each key. You may also use
[4mlesskey[24m to [4mlesskey[24m to
change the line‐editing keys (see LINE EDITING), and to change the line‐editing keys (see LINE EDITING), and to
set environment set environment
variables. If the environment variable LESSKEY is set, variables. If the environment variable LESSKEY is set,
[4mless[24m uses that [4mless[24m uses that
as the name of the lesskey file. Otherwise, [4mless[24m as the name of the lesskey file. Otherwise, [4mless[24m
looks in a standard looks in a standard
skipping to change at line 2342 skipping to change at line 2342
[4mless[24m command rather [4mless[24m command rather
than a search pattern. than a search pattern.
The LESS environment variable is ignored, and the The LESS environment variable is ignored, and the
MORE environment MORE environment
variable is used in its place. variable is used in its place.
[1mENVIRONMENT VARIABLES[0m [1mENVIRONMENT VARIABLES[0m
Environment variables may be specified either in the sys- Environment variables may be specified either in the sys-
tem environment tem environment
as usual, or in a [4mlesskey[24m (1) file. If environ- as usual, or in a [4mlesskey[24m(1) file. If environ-
ment variables are de‐ ment variables are de‐
fined in more than one place, variables defined in a local fined in more than one place, variables defined in a local
lesskey file lesskey file
take precedence over variables defined in the system envi- take precedence over variables defined in the system envi-
ronment, which ronment, which
take precedence over variables defined in the system‐wide take precedence over variables defined in the system‐wide
lesskey file. lesskey file.
COLUMNS COLUMNS
Sets the number of columns on the screen. Takes Sets the number of columns on the screen. Takes
skipping to change at line 2429 skipping to change at line 2429
filenames on Unix systems. filenames on Unix systems.
LESSEDIT LESSEDIT
Editor prototype string (used for the v command). Editor prototype string (used for the v command).
See discus‐ See discus‐
sion under PROMPTS. sion under PROMPTS.
LESSGLOBALTAGS LESSGLOBALTAGS
Name of the command used by the ‐t option to find Name of the command used by the ‐t option to find
global tags. global tags.
Normally should be set to "global" if your system Normally should be set to "global" if your
has the [4mglobal[0m system has the
(1) command. If not set, global tags are not used. [4mglobal[24m(1) command. If not set, global tags
are not used.
LESSHISTFILE LESSHISTFILE
Name of the history file used to remember search Name of the history file used to remember search
commands and commands and
shell commands between invocations of shell commands between invocations of
[4mless[24m. If set to "‐" or [4mless[24m. If set to "‐" or
"/dev/null", a history file is not used. The "/dev/null", a history file is not used. The
default is default is
"$HOME/.lesshst" on Unix systems, "$HOME/.lesshst" on Unix systems,
"$HOME/_lesshst" on DOS and "$HOME/_lesshst" on DOS and
Windows systems, or "$HOME/lesshst.ini" or Windows systems, or "$HOME/lesshst.ini" or
"$INIT/lesshst.ini" "$INIT/lesshst.ini"
on OS/2 systems. on OS/2 systems.
LESSHISTSIZE LESSHISTSIZE
The maximum number of commands to save in the his- The maximum number of commands to save in the his-
tory file. The tory file. The
default is 100. default is 100.
LESSKEY LESSKEY
Name of the default [4mlesskey[24m(1) file. Name of the default [4mlesskey[24m(1) file.
LESSKEY_SYSTEM LESSKEY_SYSTEM
Name of the default system‐wide [4mlesskey[24m(1) Name of the default system‐wide [4mlesskey[24m(1)
file. file.
LESSMETACHARS LESSMETACHARS
List of characters which are considered "metachar- List of characters which are considered "metachar-
acters" by the acters" by the
shell. shell.
LESSMETAESCAPE LESSMETAESCAPE
Prefix which less will add before each metachar- Prefix which less will add before each metachar-
acter in a com‐ acter in a com‐
mand sent to the shell. If LESSMETAESCAPE is an mand sent to the shell. If LESSMETAESCAPE is an
empty string, empty string,
commands containing metacharacters will not be commands containing metacharacters will not be
passed to the passed to the
shell. shell.
LESSOPEN LESSOPEN
Command line to invoke the (optional) input‐pre- Command line to invoke the (optional) input‐pre-
processor. processor.
LESSSECURE LESSSECURE
Runs less in "secure" mode. See discussion under Runs less in "secure" mode. See discussion under
SECURITY. SECURITY.
LESSSEPARATOR LESSSEPARATOR
String to be appended to a directory name in String to be appended to a directory name in
filename comple‐ filename comple‐
tion. tion.
LESSUTFBINFMT LESSUTFBINFMT
Format for displaying non‐printable Unicode code Format for displaying non‐printable Unicode code
points. points.
LESS_IS_MORE LESS_IS_MORE
Emulate the [4mmore[24m (1) command. Emulate the [4mmore[24m(1) command.
LINES Sets the number of lines on the screen. Takes LINES Sets the number of lines on the screen. Takes
precedence over precedence over
the number of lines specified by the TERM variable. the number of lines specified by the TERM variable.
(But if you (But if you
have a windowing system which supports TIOCGWINSZ have a windowing system which supports TIOCGWINSZ
or WIOCGETD, or WIOCGETD,
the window system’s idea of the screen size the window system’s idea of the screen size
takes precedence takes precedence
over the LINES and COLUMNS environment variables.) over the LINES and COLUMNS environment variables.)
MORE Options which are passed to [4mless[24m automati- MORE Options which are passed to [4mless[24m automati-
cally when running in cally when running in
[4mmore[24m compatible mode. [4mmore[24m compatible mode.
PATH User’s search path (used to find a lesskey file on PATH User’s search path (used to find a lesskey file on
MS‐DOS and MS‐DOS and
OS/2 systems). OS/2 systems).
SHELL The shell used to execute the ! command, as well SHELL The shell used to execute the ! command, as well
as to expand as to expand
filenames. filenames.
TERM The type of terminal on which [4mless[24m is being TERM The type of terminal on which [4mless[24m is being
run. run.
VISUAL The name of the editor (used for the v command). VISUAL The name of the editor (used for the v command).
[1mSEE ALSO[0m [1mSEE ALSO[0m
[4mlesskey[24m(1) [1mlesskey[22m(1)
[1mCOPYRIGHT[0m [1mCOPYRIGHT[0m
Copyright (C) 1984‐2020 Mark Nudelman Copyright (C) 1984‐2020 Mark Nudelman
less is part of the GNU project and is free software. You less is part of the GNU project and is free software. You
can redis‐ can redis‐
tribute it and/or modify it under the terms of either (1) tribute it and/or modify it under the terms of either (1)
the GNU Gen‐ the GNU Gen‐
eral Public License as published by the Free Software eral Public License as published by the Free Software
Foundation; or Foundation; or
(2) the Less License. See the file README in the less (2) the Less License. See the file README in the less
distribution for distribution for
more details regarding redistribution. You should have more details regarding redistribution. You should have
received a copy received a copy
of the GNU General Public License along with the source of the GNU General Public License along with the source
for less; see for less; see
the file COPYING. If not, write to the Free Software the file COPYING. If not, write to the Free Software
Foundation, 59 Foundation, 59
Temple Place, Suite 330, Boston, MA 02111‐1307, USA. Temple Place, Suite 330, Boston, MA 02111‐1307, USA.
You should also You should also
have received a copy of the Less License; see the file LI- have received a copy of the Less License; see the file LI-
CENSE. CENSE.
less is distributed in the hope that it will be useful, less is distributed in the hope that it will be useful,
but WITHOUT ANY but WITHOUT ANY
WARRANTY; without even the implied warranty of MER- WARRANTY; without even the implied warranty of MER-
CHANTABILITY or FIT‐ CHANTABILITY or FIT‐
NESS FOR A PARTICULAR PURPOSE. See the GNU General Public NESS FOR A PARTICULAR PURPOSE. See the GNU General Public
License for License for
more details. more details.
[1mAUTHOR[0m [1mAUTHOR[0m
Mark Nudelman Mark Nudelman
Report bugs at https://github.com/gwsw/less/issues. Report bugs at https://github.com/gwsw/less/issues.
For more information, see the less homepage at For more information, see the less homepage at
http://www.greenwoodsoftware.com/less. http://www.greenwoodsoftware.com/less.
Version 561: 11 May 2020 Version 562: 19 May 2020
LESS(1) LESS(1)
 End of changes. 33 change blocks. 
57 lines changed or deleted 58 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)