"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "less.nro" 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.nro  (less-561):less.nro  (less-562)
'\" t '\" t
.TH LESS 1 "Version 561: 11 May 2020" .TH LESS 1 "Version 562: 19 May 2020"
.SH NAME .SH NAME
less \- opposite of more less \- opposite of more
.SH SYNOPSIS .SH SYNOPSIS
.B "less \-?" .B "less \-?"
.br .br
.B "less \-\-help" .B "less \-\-help"
.br .br
.B "less \-V" .B "less \-V"
.br .br
.B "less \-\-version" .B "less \-\-version"
skipping to change at line 29 skipping to change at line 29
.br .br
.B " [\-T \fItagsfile\/\fP] [\-x \fItab\/\fP,...] [\-y \fIlines\/\fP] [\-[z] \fIlines\/\fP]" .B " [\-T \fItagsfile\/\fP] [\-x \fItab\/\fP,...] [\-y \fIlines\/\fP] [\-[z] \fIlines\/\fP]"
.br .br
.B " [\-# \fIshift\/\fP] [+[+]\fIcmd\/\fP] [\-\-] [\fIfilename\/\fP]..." .B " [\-# \fIshift\/\fP] [+[+]\fIcmd\/\fP] [\-\-] [\fIfilename\/\fP]..."
.br .br
(See the OPTIONS section for alternate option syntax with long option names.) (See the OPTIONS section for alternate option syntax with long option names.)
. .
.SH DESCRIPTION .SH DESCRIPTION
.I Less .I Less
is a program similar to is a program similar to
.I more .IR more (1),
(1), but which allows backward movement but which allows backward movement
in the file as well as forward movement. in the file as well as forward movement.
Also, Also,
.I less .I less
does not have to read the entire input file before starting, does not have to read the entire input file before starting,
so with large input files it starts up faster than text editors like so with large input files it starts up faster than text editors like
.I vi .IR vi (1).
(1).
.I Less .I Less
uses termcap (or terminfo on some systems), uses termcap (or terminfo on some systems),
so it can run on a variety of terminals. so it can run on a variety of terminals.
There is even limited support for hardcopy terminals. There is even limited support for hardcopy terminals.
(On a hardcopy terminal, lines which should be printed at the top (On a hardcopy terminal, lines which should be printed at the top
of the screen are prefixed with a caret.) of the screen are prefixed with a caret.)
.PP .PP
Commands are based on both Commands are based on both
.I more .I more
and and
skipping to change at line 659 skipping to change at line 658
always begin at the start or end of the current screen respectively. always begin at the start or end of the current screen respectively.
.IP "\-J or \-\-status-column" .IP "\-J or \-\-status-column"
Displays a status column at the left edge of the screen. Displays a status column at the left edge of the screen.
The status column shows the lines that matched the current search, The status column shows the lines that matched the current search,
and any lines that are marked (via the m or M command). and any lines that are marked (via the m or M command).
The status column is also used if the \-w or \-W option is in effect. The status column is also used if the \-w or \-W option is in effect.
.IP "\-k\fIfilename\fP or \-\-lesskey-file=\fIfilename\fP" .IP "\-k\fIfilename\fP or \-\-lesskey-file=\fIfilename\fP"
Causes Causes
.I less .I less
to open and interpret the named file as a to open and interpret the named file as a
.I lesskey .IR lesskey (1)
(1) file. file.
Multiple \-k options may be specified. Multiple \-k options may be specified.
If the LESSKEY or LESSKEY_SYSTEM environment variable is set, or If the LESSKEY or LESSKEY_SYSTEM environment variable is set, or
if a lesskey file is found in a standard place (see KEY BINDINGS), if a lesskey file is found in a standard place (see KEY BINDINGS),
it is also used as a it is also used as a
.I lesskey .I lesskey
file. file.
.IP "\-K or \-\-quit-on-intr" .IP "\-K or \-\-quit-on-intr"
Causes Causes
.I less .I less
to exit immediately (with status 2) to exit immediately (with status 2)
skipping to change at line 818 skipping to change at line 817
That is, the portion of a long line that does not fit in That is, the portion of a long line that does not fit in
the screen width is not displayed until you press RIGHT-ARROW. the screen width is not displayed until you press RIGHT-ARROW.
The default is to wrap long lines; that is, display the remainder The default is to wrap long lines; that is, display the remainder
on the next line. on the next line.
.IP "\-t\fItag\fP or \-\-tag=\fItag\fP" .IP "\-t\fItag\fP or \-\-tag=\fItag\fP"
The \-t option, followed immediately by a TAG, The \-t option, followed immediately by a TAG,
will edit the file containing that tag. will edit the file containing that tag.
For this to work, tag information must be available; For this to work, tag information must be available;
for example, there may be a file in the current directory called "tags", for example, there may be a file in the current directory called "tags",
which was previously built by which was previously built by
.I ctags .IR ctags (1)
(1) or an equivalent command. or an equivalent command.
If the environment variable LESSGLOBALTAGS is set, it is taken to be If the environment variable LESSGLOBALTAGS is set, it is taken to be
the name of a command compatible with the name of a command compatible with
.I global .IR global (1),
(1), and that command is executed to find the tag. and that command is executed to find the tag.
(See http://www.gnu.org/software/global/global.html). (See http://www.gnu.org/software/global/global.html).
The \-t option may also be specified from within The \-t option may also be specified from within
.I less .I less
(using the \- command) as a way of examining a new file. (using the \- command) as a way of examining a new file.
The command ":t" is equivalent to specifying \-t from within The command ":t" is equivalent to specifying \-t from within
.IR less . .IR less .
.IP "\-T\fItagsfile\fP or \-\-tag-file=\fItagsfile\fP" .IP "\-T\fItagsfile\fP or \-\-tag-file=\fItagsfile\fP"
Specifies a tags file to be used instead of "tags". Specifies a tags file to be used instead of "tags".
.IP "\-u or \-\-underline-special" .IP "\-u or \-\-underline-special"
Causes backspaces and carriage returns to be treated as printable characters; Causes backspaces and carriage returns to be treated as printable characters;
skipping to change at line 1079 skipping to change at line 1078
or cancel the command if the command line is empty. or cancel the command if the command line is empty.
If you have changed your line-kill character in Unix to something If you have changed your line-kill character in Unix to something
other than ^U, that character is used instead of ^U. other than ^U, that character is used instead of ^U.
.IP "^G" .IP "^G"
Delete the entire command line and return to the main prompt. Delete the entire command line and return to the main prompt.
. .
.SH "KEY BINDINGS" .SH "KEY BINDINGS"
You may define your own You may define your own
.I less .I less
commands by using the program commands by using the program
.I lesskey .IR lesskey (1)
(1)
to create a lesskey file. to create a lesskey file.
This file specifies a set of command keys and an action This file specifies a set of command keys and an action
associated with each key. associated with each key.
You may also use You may also use
.I lesskey .I lesskey
to change the line-editing keys (see LINE EDITING), to change the line-editing keys (see LINE EDITING),
and to set environment variables. and to set environment variables.
If the environment variable LESSKEY is set, If the environment variable LESSKEY is set,
.I less .I less
uses that as the name of the lesskey file. uses that as the name of the lesskey file.
skipping to change at line 1684 skipping to change at line 1682
The parameter to the \-p option is taken to be a The parameter to the \-p option is taken to be a
.I less .I less
command rather than a search pattern. command rather than a search pattern.
.PP .PP
The LESS environment variable is ignored, The LESS environment variable is ignored,
and the MORE environment variable is used in its place. and the MORE environment variable is used in its place.
. .
.SH "ENVIRONMENT VARIABLES" .SH "ENVIRONMENT VARIABLES"
Environment variables may be specified either in the system environment Environment variables may be specified either in the system environment
as usual, or in a as usual, or in a
.I lesskey .IR lesskey (1)
(1) file. file.
If environment variables are defined in more than one place, If environment variables are defined in more than one place,
variables defined in a local lesskey file take precedence over variables defined in a local lesskey file take precedence over
variables defined in the system environment, which take precedence variables defined in the system environment, which take precedence
over variables defined in the system-wide lesskey file. over variables defined in the system-wide lesskey file.
.IP COLUMNS .IP COLUMNS
Sets the number of columns on the screen. Sets the number of columns on the screen.
Takes precedence over the number of columns specified by the TERM variable. Takes precedence over the number of columns specified by the TERM variable.
(But if you have a windowing system which supports TIOCGWINSZ or WIOCGETD, (But if you have a windowing system which supports TIOCGWINSZ or WIOCGETD,
the window system's idea of the screen size takes precedence over the the window system's idea of the screen size takes precedence over the
LINES and COLUMNS environment variables.) LINES and COLUMNS environment variables.)
skipping to change at line 1740 skipping to change at line 1738
.IP LESSECHO .IP LESSECHO
Name of the lessecho program (default "lessecho"). Name of the lessecho program (default "lessecho").
The lessecho program is needed to expand metacharacters, such as * and ?, The lessecho program is needed to expand metacharacters, such as * and ?,
in filenames on Unix systems. in filenames on Unix systems.
.IP LESSEDIT .IP LESSEDIT
Editor prototype string (used for the v command). Editor prototype string (used for the v command).
See discussion under PROMPTS. See discussion under PROMPTS.
.IP LESSGLOBALTAGS .IP LESSGLOBALTAGS
Name of the command used by the \-t option to find global tags. Name of the command used by the \-t option to find global tags.
Normally should be set to "global" if your system has the Normally should be set to "global" if your system has the
.I global .IR global (1)
(1) command. If not set, global tags are not used. command. If not set, global tags are not used.
.IP LESSHISTFILE .IP LESSHISTFILE
Name of the history file used to remember search commands and Name of the history file used to remember search commands and
shell commands between invocations of shell commands between invocations of
.IR less . .IR less .
If set to "\-" or "/dev/null", a history file is not used. If set to "\-" or "/dev/null", a history file is not used.
The default is "$HOME/.lesshst" on Unix systems, "$HOME/_lesshst" on The default is "$HOME/.lesshst" on Unix systems, "$HOME/_lesshst" on
DOS and Windows systems, or "$HOME/lesshst.ini" or "$INIT/lesshst.ini" DOS and Windows systems, or "$HOME/lesshst.ini" or "$INIT/lesshst.ini"
on OS/2 systems. on OS/2 systems.
.IP LESSHISTSIZE .IP LESSHISTSIZE
The maximum number of commands to save in the history file. The maximum number of commands to save in the history file.
skipping to change at line 1779 skipping to change at line 1777
Command line to invoke the (optional) input-preprocessor. Command line to invoke the (optional) input-preprocessor.
.IP LESSSECURE .IP LESSSECURE
Runs less in "secure" mode. Runs less in "secure" mode.
See discussion under SECURITY. See discussion under SECURITY.
.IP LESSSEPARATOR .IP LESSSEPARATOR
String to be appended to a directory name in filename completion. String to be appended to a directory name in filename completion.
.IP LESSUTFBINFMT .IP LESSUTFBINFMT
Format for displaying non-printable Unicode code points. Format for displaying non-printable Unicode code points.
.IP LESS_IS_MORE .IP LESS_IS_MORE
Emulate the Emulate the
.I more .IR more (1)
(1) command. command.
.IP LINES .IP LINES
Sets the number of lines on the screen. Sets the number of lines on the screen.
Takes precedence over the number of lines specified by the TERM variable. Takes precedence over the number of lines specified by the TERM variable.
(But if you have a windowing system which supports TIOCGWINSZ or WIOCGETD, (But if you have a windowing system which supports TIOCGWINSZ or WIOCGETD,
the window system's idea of the screen size takes precedence over the the window system's idea of the screen size takes precedence over the
LINES and COLUMNS environment variables.) LINES and COLUMNS environment variables.)
.IP MORE .IP MORE
Options which are passed to Options which are passed to
.I less .I less
automatically when running in automatically when running in
skipping to change at line 1806 skipping to change at line 1804
.IP SHELL .IP SHELL
The shell used to execute the !\& command, as well as to expand filenames. The shell used to execute the !\& command, as well as to expand filenames.
.IP TERM .IP TERM
The type of terminal on which The type of terminal on which
.I less .I less
is being run. is being run.
.IP VISUAL .IP VISUAL
The name of the editor (used for the v command). The name of the editor (used for the v command).
. .
.SH "SEE ALSO" .SH "SEE ALSO"
.IR lesskey (1) .BR lesskey (1)
. .
.SH COPYRIGHT .SH COPYRIGHT
Copyright (C) 1984-2020 Mark Nudelman Copyright (C) 1984-2020 Mark Nudelman
.PP .PP
less is part of the GNU project and is free software. less is part of the GNU project and is free software.
You can redistribute it and/or modify it You can redistribute it and/or modify it
under the terms of either under the terms of either
(1) the GNU General Public License as published by (1) the GNU General Public License as published by
the Free Software Foundation; or (2) the Less License. the Free Software Foundation; or (2) the Less License.
See the file README in the less distribution for more details See the file README in the less distribution for more details
 End of changes. 11 change blocks. 
20 lines changed or deleted 18 lines changed or added

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