less.hlp (a9b091fcb81006f831f904cbf9820609481c23d9) less.hlp (96e55cc72dd4e73f9c43872899beb615aeeed4b6)
1
2 SSUUMMMMAARRYY OOFF LLEESSSS CCOOMMMMAANNDDSS
3
4 Commands marked with * may be preceded by a number, _N.
5 Notes in parentheses indicate the behavior if _N is given.
1
2 SSUUMMMMAARRYY OOFF LLEESSSS CCOOMMMMAANNDDSS
3
4 Commands marked with * may be preceded by a number, _N.
5 Notes in parentheses indicate the behavior if _N is given.
6 A key preceded by a carat indicates the Ctrl key; thus ^K is ctrl-K.
6
7 h H Display this help.
8 q :q Q :Q ZZ Exit.
9 ---------------------------------------------------------------------------
10
11 MMOOVVIINNGG
12
13 e ^E j ^N CR * Forward one line (or _N lines).

--- 21 unchanged lines hidden (view full) ---

35 ?_p_a_t_t_e_r_n * Search backward for (_N-th) matching line.
36 n * Repeat previous search (for _N-th occurrence).
37 N * Repeat previous search in reverse direction.
38 ESC-n * Repeat previous search, spanning files.
39 ESC-N * Repeat previous search, reverse dir. & spanning files.
40 ESC-u Undo (toggle) search highlighting.
41 &_p_a_t_t_e_r_n * Display only matching lines
42 ---------------------------------------------------
7
8 h H Display this help.
9 q :q Q :Q ZZ Exit.
10 ---------------------------------------------------------------------------
11
12 MMOOVVIINNGG
13
14 e ^E j ^N CR * Forward one line (or _N lines).

--- 21 unchanged lines hidden (view full) ---

36 ?_p_a_t_t_e_r_n * Search backward for (_N-th) matching line.
37 n * Repeat previous search (for _N-th occurrence).
38 N * Repeat previous search in reverse direction.
39 ESC-n * Repeat previous search, spanning files.
40 ESC-N * Repeat previous search, reverse dir. & spanning files.
41 ESC-u Undo (toggle) search highlighting.
42 &_p_a_t_t_e_r_n * Display only matching lines
43 ---------------------------------------------------
43 Search patterns may be modified by one or more of:
44 A search pattern may be preceded by one or more of:
44 ^N or ! Search for NON-matching lines.
45 ^E or * Search multiple files (pass thru END OF FILE).
46 ^F or @ Start search at FIRST file (for /) or last file (for ?).
47 ^K Highlight matches, but don't move (KEEP position).
48 ^R Don't use REGULAR EXPRESSIONS.
49 ---------------------------------------------------------------------------
50
51 JJUUMMPPIINNGG

--- 54 unchanged lines hidden (view full) ---

106 Most options may be changed either on the command line,
107 or from within less by using the - or -- command.
108 Options may be given in one of two forms: either a single
109 character preceded by a -, or a name preceeded by --.
110
111 -? ........ --help
112 Display help (from command line).
113 -a ........ --search-skip-screen
45 ^N or ! Search for NON-matching lines.
46 ^E or * Search multiple files (pass thru END OF FILE).
47 ^F or @ Start search at FIRST file (for /) or last file (for ?).
48 ^K Highlight matches, but don't move (KEEP position).
49 ^R Don't use REGULAR EXPRESSIONS.
50 ---------------------------------------------------------------------------
51
52 JJUUMMPPIINNGG

--- 54 unchanged lines hidden (view full) ---

107 Most options may be changed either on the command line,
108 or from within less by using the - or -- command.
109 Options may be given in one of two forms: either a single
110 character preceded by a -, or a name preceeded by --.
111
112 -? ........ --help
113 Display help (from command line).
114 -a ........ --search-skip-screen
114 Forward search skips current screen.
115 Search skips current screen.
115 -A ........ --SEARCH-SKIP-SCREEN
116 -A ........ --SEARCH-SKIP-SCREEN
116 Forward search always skips target line.
117 Search starts just after target line.
117 -b [_N] .... --buffers=[_N]
118 Number of buffers.
119 -B ........ --auto-buffers
120 Don't automatically allocate buffers for pipes.
121 -c ........ --clear-screen
122 Repaint by clearing rather than scrolling.
123 -d ........ --dumb
124 Dumb terminal.

--- 39 unchanged lines hidden (view full) ---

164 Define new prompt.
165 -q -Q .... --quiet --QUIET --silent --SILENT
166 Quiet the terminal bell.
167 -r -R .... --raw-control-chars --RAW-CONTROL-CHARS
168 Output "raw" control characters.
169 -s ........ --squeeze-blank-lines
170 Squeeze multiple blank lines.
171 -S ........ --chop-long-lines
118 -b [_N] .... --buffers=[_N]
119 Number of buffers.
120 -B ........ --auto-buffers
121 Don't automatically allocate buffers for pipes.
122 -c ........ --clear-screen
123 Repaint by clearing rather than scrolling.
124 -d ........ --dumb
125 Dumb terminal.

--- 39 unchanged lines hidden (view full) ---

165 Define new prompt.
166 -q -Q .... --quiet --QUIET --silent --SILENT
167 Quiet the terminal bell.
168 -r -R .... --raw-control-chars --RAW-CONTROL-CHARS
169 Output "raw" control characters.
170 -s ........ --squeeze-blank-lines
171 Squeeze multiple blank lines.
172 -S ........ --chop-long-lines
172 Chop long lines.
173 Chop (truncate) long lines rather than wrapping.
173 -t [_t_a_g] .. --tag=[_t_a_g]
174 Find a tag.
175 -T [_t_a_g_s_f_i_l_e] --tag-file=[_t_a_g_s_f_i_l_e]
176 Use an alternate tags file.
177 -u -U .... --underline-special --UNDERLINE-SPECIAL
178 Change handling of backspaces.
179 -V ........ --version
180 Display the version number of "less".
181 -w ........ --hilite-unread
182 Highlight first new line after forward-screen.
183 -W ........ --HILITE-UNREAD
184 Highlight first new line after any forward movement.
185 -x [_N[,...]] --tabs=[_N[,...]]
186 Set tab stops.
187 -X ........ --no-init
188 Don't use termcap init/deinit strings.
174 -t [_t_a_g] .. --tag=[_t_a_g]
175 Find a tag.
176 -T [_t_a_g_s_f_i_l_e] --tag-file=[_t_a_g_s_f_i_l_e]
177 Use an alternate tags file.
178 -u -U .... --underline-special --UNDERLINE-SPECIAL
179 Change handling of backspaces.
180 -V ........ --version
181 Display the version number of "less".
182 -w ........ --hilite-unread
183 Highlight first new line after forward-screen.
184 -W ........ --HILITE-UNREAD
185 Highlight first new line after any forward movement.
186 -x [_N[,...]] --tabs=[_N[,...]]
187 Set tab stops.
188 -X ........ --no-init
189 Don't use termcap init/deinit strings.
189 --no-keypad
190 Don't use termcap keypad init/deinit strings.
191 -y [_N] .... --max-forw-scroll=[_N]
192 Forward scroll limit.
193 -z [_N] .... --window=[_N]
194 Set size of window.
195 -" [_c[_c]] . --quotes=[_c[_c]]
196 Set shell quote characters.
197 -~ ........ --tilde
198 Don't display tildes after end of file.
199 -# [_N] .... --shift=[_N]
200 Horizontal scroll amount (0 = one half screen width)
201 ........ --no-keypad
190 -y [_N] .... --max-forw-scroll=[_N]
191 Forward scroll limit.
192 -z [_N] .... --window=[_N]
193 Set size of window.
194 -" [_c[_c]] . --quotes=[_c[_c]]
195 Set shell quote characters.
196 -~ ........ --tilde
197 Don't display tildes after end of file.
198 -# [_N] .... --shift=[_N]
199 Horizontal scroll amount (0 = one half screen width)
200 ........ --no-keypad
202 Don't send keypad init/deinit sequence.
201 Don't send termcap keypad init/deinit strings.
203 ........ --follow-name
204 The F command changes files if the input file is renamed.
205
206
207 ---------------------------------------------------------------------------
208
209 LLIINNEE EEDDIITTIINNGG
210
211 These keys can be used to edit text being entered
212 on the "command line" at the bottom of the screen.
213
214 RightArrow ESC-l Move cursor right one character.
215 LeftArrow ESC-h Move cursor left one character.
202 ........ --follow-name
203 The F command changes files if the input file is renamed.
204
205
206 ---------------------------------------------------------------------------
207
208 LLIINNEE EEDDIITTIINNGG
209
210 These keys can be used to edit text being entered
211 on the "command line" at the bottom of the screen.
212
213 RightArrow ESC-l Move cursor right one character.
214 LeftArrow ESC-h Move cursor left one character.
216 CNTL-RightArrow ESC-RightArrow ESC-w Move cursor right one word.
217 CNTL-LeftArrow ESC-LeftArrow ESC-b Move cursor left one word.
215 ctrl-RightArrow ESC-RightArrow ESC-w Move cursor right one word.
216 ctrl-LeftArrow ESC-LeftArrow ESC-b Move cursor left one word.
218 HOME ESC-0 Move cursor to start of line.
219 END ESC-$ Move cursor to end of line.
220 BACKSPACE Delete char to left of cursor.
221 DELETE ESC-x Delete char under cursor.
217 HOME ESC-0 Move cursor to start of line.
218 END ESC-$ Move cursor to end of line.
219 BACKSPACE Delete char to left of cursor.
220 DELETE ESC-x Delete char under cursor.
222 CNTL-BACKSPACE ESC-BACKSPACE Delete word to left of cursor.
223 CNTL-DELETE ESC-DELETE ESC-X Delete word under cursor.
224 CNTL-U ESC (MS-DOS only) Delete entire line.
221 ctrl-BACKSPACE ESC-BACKSPACE Delete word to left of cursor.
222 ctrl-DELETE ESC-DELETE ESC-X Delete word under cursor.
223 ctrl-U ESC (MS-DOS only) Delete entire line.
225 UpArrow ESC-k Retrieve previous command line.
226 DownArrow ESC-j Retrieve next command line.
227 TAB Complete filename & cycle.
228 SHIFT-TAB ESC-TAB Complete filename & reverse cycle.
224 UpArrow ESC-k Retrieve previous command line.
225 DownArrow ESC-j Retrieve next command line.
226 TAB Complete filename & cycle.
227 SHIFT-TAB ESC-TAB Complete filename & reverse cycle.
229 CNTL-L Complete filename, list all.
228 ctrl-L Complete filename, list all.
230
231
229
230