less.hlp (95270f73baf6fa95ae529bc2eb6a61f5c79f32c0) | less.hlp (d713e0891ff9ab8246245c3206851d486ecfdd37) |
---|---|
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 caret indicates the Ctrl key; thus ^K is ctrl-K. 7 8 h H Display this help. --- 37 unchanged lines hidden (view full) --- 46 &_p_a_t_t_e_r_n * Display only matching lines. 47 --------------------------------------------------- 48 A search pattern may begin with one or more of: 49 ^N or ! Search for NON-matching lines. 50 ^E or * Search multiple files (pass thru END OF FILE). 51 ^F or @ Start search at FIRST file (for /) or last file (for ?). 52 ^K Highlight matches, but don't move (KEEP position). 53 ^R Don't use REGULAR EXPRESSIONS. | 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 caret indicates the Ctrl key; thus ^K is ctrl-K. 7 8 h H Display this help. --- 37 unchanged lines hidden (view full) --- 46 &_p_a_t_t_e_r_n * Display only matching lines. 47 --------------------------------------------------- 48 A search pattern may begin with one or more of: 49 ^N or ! Search for NON-matching lines. 50 ^E or * Search multiple files (pass thru END OF FILE). 51 ^F or @ Start search at FIRST file (for /) or last file (for ?). 52 ^K Highlight matches, but don't move (KEEP position). 53 ^R Don't use REGULAR EXPRESSIONS. |
54 ^S _n Search for match in _n-th parenthesized subpattern. |
|
54 ^W WRAP search if no match found. 55 --------------------------------------------------------------------------- 56 57 JJUUMMPPIINNGG 58 59 g < ESC-< * Go to first line in file (or line _N). 60 G > ESC-> * Go to last line in file (or line _N). 61 p % * Go to beginning of file (or _N percent into file). --- 37 unchanged lines hidden (view full) --- 99 100 -_<_f_l_a_g_> Toggle a command line option [see OPTIONS below]. 101 --_<_n_a_m_e_> Toggle a command line option, by name. 102 __<_f_l_a_g_> Display the setting of a command line option. 103 ___<_n_a_m_e_> Display the setting of an option, by name. 104 +_c_m_d Execute the less cmd each time a new file is examined. 105 106 !_c_o_m_m_a_n_d Execute the shell command with $SHELL. | 55 ^W WRAP search if no match found. 56 --------------------------------------------------------------------------- 57 58 JJUUMMPPIINNGG 59 60 g < ESC-< * Go to first line in file (or line _N). 61 G > ESC-> * Go to last line in file (or line _N). 62 p % * Go to beginning of file (or _N percent into file). --- 37 unchanged lines hidden (view full) --- 100 101 -_<_f_l_a_g_> Toggle a command line option [see OPTIONS below]. 102 --_<_n_a_m_e_> Toggle a command line option, by name. 103 __<_f_l_a_g_> Display the setting of a command line option. 104 ___<_n_a_m_e_> Display the setting of an option, by name. 105 +_c_m_d Execute the less cmd each time a new file is examined. 106 107 !_c_o_m_m_a_n_d Execute the shell command with $SHELL. |
108 #_c_o_m_m_a_n_d Execute the shell command, expanded like a prompt. |
|
107 |XX_c_o_m_m_a_n_d Pipe file between current pos & mark XX to shell command. 108 s _f_i_l_e Save input to a file. 109 v Edit the current file with $VISUAL or $EDITOR. 110 V Print version number of "less". 111 --------------------------------------------------------------------------- 112 113 OOPPTTIIOONNSS 114 --- 66 unchanged lines hidden (view full) --- 181 Squeeze multiple blank lines. 182 -S ........ --chop-long-lines 183 Chop (truncate) long lines rather than wrapping. 184 -t [_t_a_g] .. --tag=[_t_a_g] 185 Find a tag. 186 -T [_t_a_g_s_f_i_l_e] --tag-file=[_t_a_g_s_f_i_l_e] 187 Use an alternate tags file. 188 -u -U .... --underline-special --UNDERLINE-SPECIAL | 109 |XX_c_o_m_m_a_n_d Pipe file between current pos & mark XX to shell command. 110 s _f_i_l_e Save input to a file. 111 v Edit the current file with $VISUAL or $EDITOR. 112 V Print version number of "less". 113 --------------------------------------------------------------------------- 114 115 OOPPTTIIOONNSS 116 --- 66 unchanged lines hidden (view full) --- 183 Squeeze multiple blank lines. 184 -S ........ --chop-long-lines 185 Chop (truncate) long lines rather than wrapping. 186 -t [_t_a_g] .. --tag=[_t_a_g] 187 Find a tag. 188 -T [_t_a_g_s_f_i_l_e] --tag-file=[_t_a_g_s_f_i_l_e] 189 Use an alternate tags file. 190 -u -U .... --underline-special --UNDERLINE-SPECIAL |
189 Change handling of backspaces. | 191 Change handling of backspaces, tabs and carriage returns. |
190 -V ........ --version 191 Display the version number of "less". 192 -w ........ --hilite-unread 193 Highlight first new line after forward-screen. 194 -W ........ --HILITE-UNREAD 195 Highlight first new line after any forward movement. 196 -x [_N[,...]] --tabs=[_N[,...]] 197 Set tab stops. --- 4 unchanged lines hidden (view full) --- 202 -z [_N] .... --window=[_N] 203 Set size of window. 204 -" [_c[_c]] . --quotes=[_c[_c]] 205 Set shell quote characters. 206 -~ ........ --tilde 207 Don't display tildes after end of file. 208 -# [_N] .... --shift=[_N] 209 Set horizontal scroll amount (0 = one half screen width). | 192 -V ........ --version 193 Display the version number of "less". 194 -w ........ --hilite-unread 195 Highlight first new line after forward-screen. 196 -W ........ --HILITE-UNREAD 197 Highlight first new line after any forward movement. 198 -x [_N[,...]] --tabs=[_N[,...]] 199 Set tab stops. --- 4 unchanged lines hidden (view full) --- 204 -z [_N] .... --window=[_N] 205 Set size of window. 206 -" [_c[_c]] . --quotes=[_c[_c]] 207 Set shell quote characters. 208 -~ ........ --tilde 209 Don't display tildes after end of file. 210 -# [_N] .... --shift=[_N] 211 Set horizontal scroll amount (0 = one half screen width). |
212 --exit-follow-on-close 213 Exit F command on a pipe when writer closes pipe. |
|
210 --file-size 211 Automatically determine the size of the input file. 212 --follow-name 213 The F command changes files if the input file is renamed. 214 --header=[_N[,_M]] 215 Use N lines and M columns to display file headers. 216 --incsearch 217 Search file as each pattern character is typed in. | 214 --file-size 215 Automatically determine the size of the input file. 216 --follow-name 217 The F command changes files if the input file is renamed. 218 --header=[_N[,_M]] 219 Use N lines and M columns to display file headers. 220 --incsearch 221 Search file as each pattern character is typed in. |
218 --line-num-width=N 219 Set the width of the -N line number field to N characters. | 222 --intr=_C 223 Use _C instead of ^X to interrupt a read. 224 --line-num-width=_N 225 Set the width of the -N line number field to _N characters. 226 --modelines=_N 227 Read _N lines from the input file and look for vim modelines. |
220 --mouse 221 Enable mouse input. 222 --no-keypad 223 Don't send termcap keypad init/deinit strings. 224 --no-histdups 225 Remove duplicates from command history. 226 --no-number-headers 227 Don't give line numbers to header lines. | 228 --mouse 229 Enable mouse input. 230 --no-keypad 231 Don't send termcap keypad init/deinit strings. 232 --no-histdups 233 Remove duplicates from command history. 234 --no-number-headers 235 Don't give line numbers to header lines. |
236 --no-search-headers 237 Don't search in header lines or columns. 238 --no-vbell 239 Disable the terminal's visual bell. |
|
228 --redraw-on-quit 229 Redraw final screen when quitting. | 240 --redraw-on-quit 241 Redraw final screen when quitting. |
230 --rscroll=C | 242 --rscroll=_C |
231 Set the character used to mark truncated lines. 232 --save-marks 233 Retain marks across invocations of less. 234 --search-options=[EFKNRW-] 235 Set default options for every search. | 243 Set the character used to mark truncated lines. 244 --save-marks 245 Retain marks across invocations of less. 246 --search-options=[EFKNRW-] 247 Set default options for every search. |
236 --status-col-width=N 237 Set the width of the -J status column to N characters. | 248 --show-preproc-errors 249 Display a message if preprocessor exits with an error status. 250 --proc-backspace 251 Process backspaces for bold/underline. 252 --SPECIAL-BACKSPACE 253 Treat backspaces as control characters. 254 --proc-return 255 Delete carriage returns before newline. 256 --SPECIAL-RETURN 257 Treat carriage returns as control characters. 258 --proc-tab 259 Expand tabs to spaces. 260 --SPECIAL-TAB 261 Treat tabs as control characters. 262 --status-col-width=_N 263 Set the width of the -J status column to _N characters. |
238 --status-line 239 Highlight or color the entire line containing a mark. 240 --use-backslash 241 Subsequent options use backslash as escape char. 242 --use-color 243 Enables colored text. | 264 --status-line 265 Highlight or color the entire line containing a mark. 266 --use-backslash 267 Subsequent options use backslash as escape char. 268 --use-color 269 Enables colored text. |
244 --wheel-lines=N 245 Each click of the mouse wheel moves N lines. | 270 --wheel-lines=_N 271 Each click of the mouse wheel moves _N lines. 272 --wordwrap 273 Wrap lines at spaces. |
246 247 248 --------------------------------------------------------------------------- 249 250 LLIINNEE EEDDIITTIINNGG 251 252 These keys can be used to edit text being entered 253 on the "command line" at the bottom of the screen. --- 17 unchanged lines hidden --- | 274 275 276 --------------------------------------------------------------------------- 277 278 LLIINNEE EEDDIITTIINNGG 279 280 These keys can be used to edit text being entered 281 on the "command line" at the bottom of the screen. --- 17 unchanged lines hidden --- |