4 L
\bL
\bL
\bLE
\bE
\bE
\bES
\bS
\bS
\bSS
\bS
\bS
\bSK
\bK
\bK
\bKE
\bE
\bE
\bEY
\bY
\bY
\bY(
\b(
\b(
\b(1
\b1
\b1
\b1)
\b)
\b)
\b) U
\bU
\bU
\bUN
\bN
\bN
\bNI
\bI
\bI
\bIX
\bX
\bX
\bX 5
\b5
\b5
\b5.
\b.
\b.
\b.0
\b0
\b0
\b0 L
\bL
\bL
\bLE
\bE
\bE
\bES
\bS
\bS
\bSS
\bS
\bS
\bSK
\bK
\bK
\bKE
\bE
\bE
\bEY
\bY
\bY
\bY(
\b(
\b(
\b(1
\b1
\b1
\b1)
\b)
\b)
\b)
8 N
\bN
\bN
\bNA
\bA
\bA
\bAM
\bM
\bM
\bME
\bE
\bE
\bE
9 lesskey - specify key bindings for less
11 S
\bS
\bS
\bSY
\bY
\bY
\bYN
\bN
\bN
\bNO
\bO
\bO
\bOP
\bP
\bP
\bPS
\bS
\bS
\bSI
\bI
\bI
\bIS
\bS
\bS
\bS
12 l
\bl
\bl
\ble
\be
\be
\bes
\bs
\bs
\bss
\bs
\bs
\bsk
\bk
\bk
\bke
\be
\be
\bey
\by
\by
\by [
\b[
\b[
\b[-
\b-
\b-
\b-o
\bo
\bo
\bo o
\bo
\bo
\bou
\bu
\bu
\but
\bt
\bt
\btp
\bp
\bp
\bpu
\bu
\bu
\but
\bt
\bt
\bt]
\b]
\b]
\b] [
\b[
\b[
\b[i
\bi
\bi
\bin
\bn
\bn
\bnp
\bp
\bp
\bpu
\bu
\bu
\but
\bt
\bt
\bt]
\b]
\b]
\b]
14 D
\bD
\bD
\bDE
\bE
\bE
\bES
\bS
\bS
\bSC
\bC
\bC
\bCR
\bR
\bR
\bRI
\bI
\bI
\bIP
\bP
\bP
\bPT
\bT
\bT
\bTI
\bI
\bI
\bIO
\bO
\bO
\bON
\bN
\bN
\bN
15 _
\bL_
\be_
\bs_
\bs_
\bk_
\be_
\by is used to specify a set of key bindings to be used
16 by _
\bl_
\be_
\bs_
\bs. The input file is a text file which describes the
17 key bindings, and the output file is a binary file which is
18 used by _
\bl_
\be_
\bs_
\bs. If no input file is specified, standard input
19 is used. If no output file is specified, $HOME/.less is
22 The input file consists of lines of the form:
24 string <whitespace> action [extra-string] <newline>
26 Whitespace is any sequence of one or more spaces and/or
27 tabs. The "string" is the command key(s) which invoke the
28 action. The string may be a single command key, or a
29 sequence of up to 15 keys. The "action" is the name of the
30 less action, from the list below. The characters in the
31 "string" may appear literally, or be prefixed by a carat to
32 indicate a control key. A backslash may be used to cause
33 the following character to be taken literally. Characters
34 which must be preceded by backslash include carat, space,
35 tab and the backslash itself. A backslash followed by one
36 to three octal digits may be used to specify a character by
37 its octal value. Blank lines and lines which start with a
38 pound sign (#) are ignored.
40 An action may be followed by an extra string. This string
41 is parsed after the command is entered, just as if it were
42 entered on the command line. This feature can be used in
43 certain cases to extend the functionality of a command. For
44 example, these entries would create a pair of commands to
45 turn on/off line numbers using _
\bv_
\bi syntax:
47 :set\ nu toggle-option -N
48 :set\ nonu toggle-option +N
50 See also the ":ta" command in the example below.
53 E
\bE
\bE
\bEX
\bX
\bX
\bXA
\bA
\bA
\bAM
\bM
\bM
\bMP
\bP
\bP
\bPL
\bL
\bL
\bLE
\bE
\bE
\bE
54 The following input file describes the set of default
55 command keys used by less:
63 Page 1 (printed 3/2/91)
70 L
\bL
\bL
\bLE
\bE
\bE
\bES
\bS
\bS
\bSS
\bS
\bS
\bSK
\bK
\bK
\bKE
\bE
\bE
\bEY
\bY
\bY
\bY(
\b(
\b(
\b(1
\b1
\b1
\b1)
\b)
\b)
\b) U
\bU
\bU
\bUN
\bN
\bN
\bNI
\bI
\bI
\bIX
\bX
\bX
\bX 5
\b5
\b5
\b5.
\b.
\b.
\b.0
\b0
\b0
\b0 L
\bL
\bL
\bLE
\bE
\bE
\bES
\bS
\bS
\bSS
\bS
\bS
\bSK
\bK
\bK
\bKE
\bE
\bE
\bEY
\bY
\bY
\bY(
\b(
\b(
\b(1
\b1
\b1
\b1)
\b)
\b)
\b)
129 Page 2 (printed 3/2/91)
136 L
\bL
\bL
\bLE
\bE
\bE
\bES
\bS
\bS
\bSS
\bS
\bS
\bSK
\bK
\bK
\bKE
\bE
\bE
\bEY
\bY
\bY
\bY(
\b(
\b(
\b(1
\b1
\b1
\b1)
\b)
\b)
\b) U
\bU
\bU
\bUN
\bN
\bN
\bNI
\bI
\bI
\bIX
\bX
\bX
\bX 5
\b5
\b5
\b5.
\b.
\b.
\b.0
\b0
\b0
\b0 L
\bL
\bL
\bLE
\bE
\bE
\bES
\bS
\bS
\bSS
\bS
\bS
\bSK
\bK
\bK
\bKE
\bE
\bE
\bEY
\bY
\bY
\bY(
\b(
\b(
\b(1
\b1
\b1
\b1)
\b)
\b)
\b)
143 \33n repeat-search-all
145 \33N reverse-search-all
172 Commands specified by _
\bl_
\be_
\bs_
\bs_
\bk_
\be_
\by take precedence over the
173 default commands. A default command key may be disabled by
174 including it in the key file with the action "invalid".
177 S
\bS
\bS
\bSE
\bE
\bE
\bEE
\bE
\bE
\bE A
\bA
\bA
\bAL
\bL
\bL
\bLS
\bS
\bS
\bSO
\bO
\bO
\bO
195 Page 3 (printed 3/2/91)