Home Explore Blog CI



man-pages

27th chunk of `less.man`
76aba75cc2eafb2137cf39377aef640e0d81e76efef746b70000000100000951
 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

Title: Less: Environment Variables (continued)
Summary
This section continues the list of environment variables that affect `less`'s behavior, detailing LESSHISTSIZE, LESSKEYIN, LESSKEY, LESSKEYIN_SYSTEM, LESSKEY_SYSTEM, LESSMETACHARS, LESSMETAESCAPE, LESSOPEN, LESSSECURE, and LESSSEPARATOR.