Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   less    ( 1 )

противоположно большему (opposite of more)

Переменные окружения (Environment variables)

Environment variables may be specified either in the system
       environment as usual, or in a lesskey(1) file.  If environment
       variables are defined in more than one place, variables defined
       in a local lesskey file take precedence over variables defined in
       the system environment, which take precedence over variables
       defined in the system-wide lesskey file.

COLUMNS Sets the number of columns on the screen. Takes precedence over the number of columns specified by the TERM variable. (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 LINES and COLUMNS environment variables.)

EDITOR The name of the editor (used for the v command).

HOME Name of the user's home directory (used to find a lesskey file on Unix and OS/2 systems).

HOMEDRIVE, HOMEPATH Concatenation of the HOMEDRIVE and HOMEPATH environment variables is the name of the user's home directory if the HOME variable is not set (only in the Windows version).

INIT Name of the user's init directory (used to find a lesskey file on OS/2 systems).

LANG Language for determining the character set.

LC_CTYPE Language for determining the character set.

LESS Options which are passed to less automatically.

LESSANSIENDCHARS Characters which may end an ANSI color escape sequence (default "m").

LESSANSIMIDCHARS Characters which may appear between the ESC character and the end character in an ANSI color escape sequence (default "0123456789:;[?!"'#%()*+ ".

LESSBINFMT Format for displaying non-printable, non-control characters.

LESSCHARDEF Defines a character set.

LESSCHARSET Selects a predefined character set.

LESSCLOSE Command line to invoke the (optional) input-postprocessor.

LESSECHO Name of the lessecho program (default "lessecho"). The lessecho program is needed to expand metacharacters, such as * and ?, in filenames on Unix systems.

LESSEDIT Editor prototype string (used for the v command). See discussion under PROMPTS.

LESSGLOBALTAGS Name of the command used by the -t option to find global tags. Normally should be set to "global" if your system has the global(1) command. If not set, global tags are not used.

LESSHISTFILE Name of the history file used to remember search commands and shell commands between invocations of less. If set to "-" or "/dev/null", a history file is not used. The default is "$XDG_DATA_HOME/lesshst" or "$HOME/.lesshst" on Unix systems, "$HOME/_lesshst" on DOS and Windows systems, or "$HOME/lesshst.ini" or "$INIT/lesshst.ini" on OS/2 systems.

LESSHISTSIZE The maximum number of commands to save in the history file. The default is 100.

LESSKEYIN Name of the default lesskey source file.

LESSKEY Name of the default lesskey binary file. (Not used if "$LESSKEYIN" exists.)

LESSKEYIN_SYSTEM Name of the default system-wide lesskey source file.

LESSKEY_SYSTEM Name of the default system-wide lesskey binary file. (Not used if "$LESSKEYIN_SYSTEM" exists.)

LESSMETACHARS List of characters which are considered "metacharacters" by the shell.

LESSMETAESCAPE Prefix which less will add before each metacharacter in a command sent to the shell. If LESSMETAESCAPE is an empty string, commands containing metacharacters will not be passed to the shell.

LESSOPEN Command line to invoke the (optional) input-preprocessor.

LESSSECURE Runs less in "secure" mode. See discussion under SECURITY.

LESSSEPARATOR String to be appended to a directory name in filename completion.

LESSUTFBINFMT Format for displaying non-printable Unicode code points.

LESS_IS_MORE Emulate the more(1) command.

LINES Sets the number of lines on the screen. Takes precedence over the number of lines specified by the TERM variable. (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 LINES and COLUMNS environment variables.)

MORE Options which are passed to less automatically when running in more compatible mode.

PATH User's search path (used to find a lesskey file on MS-DOS and OS/2 systems).

SHELL The shell used to execute the ! command, as well as to expand filenames.

TERM The type of terminal on which less is being run.

VISUAL The name of the editor (used for the v command).