"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "lesskey.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.

lesskey.man  (less-561):lesskey.man  (less-562)
skipping to change at line 15 skipping to change at line 15
lesskey ‐ specify key bindings for less lesskey ‐ specify key bindings for less
[1mSYNOPSIS[0m [1mSYNOPSIS[0m
[1mlesskey [‐o output] [‐‐] [input][0m [1mlesskey [‐o output] [‐‐] [input][0m
[1mlesskey [‐‐output=output] [‐‐] [input][0m [1mlesskey [‐‐output=output] [‐‐] [input][0m
[1mlesskey ‐V[0m [1mlesskey ‐V[0m
[1mlesskey ‐‐version[0m [1mlesskey ‐‐version[0m
[1mDESCRIPTION[0m [1mDESCRIPTION[0m
[4mLesskey[24m is used to specify a set of key bindings [4mLesskey[24m is used to specify a set of key bindings
to be used by [4mless.[0m to be used by [4mless[24m.
The input file is a text file which describes the key The input file is a text file which describes the key
bindings. If the bindings. If the
input file is "‐", standard input is read. If no input input file is "‐", standard input is read. If no input
file is speci‐ file is speci‐
fied, a standard filename is used as the name of the input fied, a standard filename is used as the name of the input
file, which file, which
depends on the system being used: On Unix systems, depends on the system being used: On Unix systems,
$HOME/.lesskey is $HOME/.lesskey is
used; on MS‐DOS systems, $HOME/_lesskey is used; and on used; on MS‐DOS systems, $HOME/_lesskey is used; and on
OS/2 systems OS/2 systems
$HOME/lesskey.ini is used, or $INIT/lesskey.ini if $HOME $HOME/lesskey.ini is used, or $INIT/lesskey.ini if $HOME
is undefined. is undefined.
The output file is a binary file which is used by The output file is a binary file which is used by
[4mless.[24m If no output [4mless[24m. If no output
file is specified, and the environment variable file is specified, and the environment variable
LESSKEY is set, the LESSKEY is set, the
value of LESSKEY is used as the name of the output file. value of LESSKEY is used as the name of the output file.
Otherwise, a Otherwise, a
standard filename is used as the name of the output file, standard filename is used as the name of the output file,
which depends which depends
on the system being used: On Unix and OS‐9 systems, on the system being used: On Unix and OS‐9 systems,
$HOME/.less is $HOME/.less is
used; on MS‐DOS systems, $HOME/_less is used; and on used; on MS‐DOS systems, $HOME/_less is used; and on
OS/2 systems, OS/2 systems,
skipping to change at line 134 skipping to change at line 134
DELETE DELETE
A backslash followed by any other character indicates that A backslash followed by any other character indicates that
character is character is
to be taken literally. Characters which must be preceded to be taken literally. Characters which must be preceded
by backslash by backslash
include caret, space, tab and the backslash itself. include caret, space, tab and the backslash itself.
An action may be followed by an "extra" string. When such An action may be followed by an "extra" string. When such
a command is a command is
entered while running [4mless,[24m the action is per- entered while running [4mless[24m, the action is per-
formed, and then the extra formed, and then the extra
string is parsed, just as if it were typed in to string is parsed, just as if it were typed in to
[4mless.[24m This feature [4mless[24m. This feature
can be used in certain cases to extend the functionality can be used in certain cases to extend the functionality
of a command. of a command.
For example, see the "{" and ":t" commands in the example For example, see the "{" and ":t" commands in the example
below. The below. The
extra string has a special meaning for the "quit" ac- extra string has a special meaning for the "quit" ac-
tion: when [4mless[0m tion: when [4mless[0m
quits, first character of the extra string is used as its quits, first character of the extra string is used as its
exit status. exit status.
[1mEXAMPLE[0m [1mEXAMPLE[0m
skipping to change at line 365 skipping to change at line 365
#env #env
Following this line is a list of environment variable Following this line is a list of environment variable
assignments. assignments.
Each line consists of an environment variable name, an Each line consists of an environment variable name, an
equals sign (=) equals sign (=)
and the value to be assigned to the environment variable. and the value to be assigned to the environment variable.
White space White space
before and after the equals sign is ignored. Variables before and after the equals sign is ignored. Variables
assigned in assigned in
this way are visible only to [4mless.[24m If a variable this way are visible only to [4mless[24m. If a variable
is specified in the is specified in the
system environment and also in a lesskey file, the value system environment and also in a lesskey file, the value
in the lesskey in the lesskey
file takes precedence. Although the lesskey file can be file takes precedence. Although the lesskey file can be
used to over‐ used to over‐
ride variables set in the environment, the main purpose ride variables set in the environment, the main purpose
of assigning of assigning
variables in the lesskey file is simply to have all variables in the lesskey file is simply to have all
[4mless[24m configuration [4mless[24m configuration
information stored in one file. information stored in one file.
skipping to change at line 430 skipping to change at line 430
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 Pub- NESS FOR A PARTICULAR PURPOSE. See the GNU General Pub-
lic License for lic License for
more details. more details.
[1mAUTHOR[0m [1mAUTHOR[0m
Mark Nudelman Mark Nudelman
Send bug reports or comments to <bug‐less@gnu.org>. Send bug reports or comments to <bug‐less@gnu.org>.
Version 561: 11 May 2020 Version 562: 19 May 2020
LESSKEY(1) LESSKEY(1)
 End of changes. 6 change blocks. 
6 lines changed or deleted 6 lines changed or added

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