less.hlp (a63915c2d7ff177ce364488f86eff99949402051) | less.hlp (2235c7feac959bcc9ddfd6a2bc6be32102b1f84c) |
---|---|
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. --- 28 unchanged lines hidden (view full) --- 37 38 /_p_a_t_t_e_r_n * Search forward for (_N-th) matching line. 39 ?_p_a_t_t_e_r_n * Search backward for (_N-th) matching line. 40 n * Repeat previous search (for _N-th occurrence). 41 N * Repeat previous search in reverse direction. 42 ESC-n * Repeat previous search, spanning files. 43 ESC-N * Repeat previous search, reverse dir. & spanning files. 44 ESC-u Undo (toggle) search highlighting. | 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. --- 28 unchanged lines hidden (view full) --- 37 38 /_p_a_t_t_e_r_n * Search forward for (_N-th) matching line. 39 ?_p_a_t_t_e_r_n * Search backward for (_N-th) matching line. 40 n * Repeat previous search (for _N-th occurrence). 41 N * Repeat previous search in reverse direction. 42 ESC-n * Repeat previous search, spanning files. 43 ESC-N * Repeat previous search, reverse dir. & spanning files. 44 ESC-u Undo (toggle) search highlighting. |
45 &_p_a_t_t_e_r_n * Display only matching lines | 45 ESC-U Clear search highlighting. 46 &_p_a_t_t_e_r_n * Display only matching lines. |
46 --------------------------------------------------- 47 A search pattern may begin with one or more of: 48 ^N or ! Search for NON-matching lines. 49 ^E or * Search multiple files (pass thru END OF FILE). 50 ^F or @ Start search at FIRST file (for /) or last file (for ?). 51 ^K Highlight matches, but don't move (KEEP position). 52 ^R Don't use REGULAR EXPRESSIONS. | 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 ^W WRAP search if no match found. |
|
53 --------------------------------------------------------------------------- 54 55 JJUUMMPPIINNGG 56 57 g < ESC-< * Go to first line in file (or line _N). 58 G > ESC-> * Go to last line in file (or line _N). 59 p % * Go to beginning of file (or _N percent into file). 60 t * Go to the (_N-th) next tag. 61 T * Go to the (_N-th) previous tag. 62 { ( [ * Find close bracket } ) ]. 63 } ) ] * Find open bracket { ( [. 64 ESC-^F _<_c_1_> _<_c_2_> * Find close bracket _<_c_2_>. | 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). 62 t * Go to the (_N-th) next tag. 63 T * Go to the (_N-th) previous tag. 64 { ( [ * Find close bracket } ) ]. 65 } ) ] * Find open bracket { ( [. 66 ESC-^F _<_c_1_> _<_c_2_> * Find close bracket _<_c_2_>. |
65 ESC-^B _<_c_1_> _<_c_2_> * Find open bracket _<_c_1_> | 67 ESC-^B _<_c_1_> _<_c_2_> * Find open bracket _<_c_1_>. |
66 --------------------------------------------------- 67 Each "find close bracket" command goes forward to the close bracket 68 matching the (_N-th) open bracket in the top line. 69 Each "find open bracket" command goes backward to the open bracket 70 matching the (_N-th) close bracket in the bottom line. 71 72 m_<_l_e_t_t_e_r_> Mark the current top line with <letter>. 73 M_<_l_e_t_t_e_r_> Mark the current bottom line with <letter>. --- 50 unchanged lines hidden (view full) --- 124 -b [_N] .... --buffers=[_N] 125 Number of buffers. 126 -B ........ --auto-buffers 127 Don't automatically allocate buffers for pipes. 128 -c ........ --clear-screen 129 Repaint by clearing rather than scrolling. 130 -d ........ --dumb 131 Dumb terminal. | 68 --------------------------------------------------- 69 Each "find close bracket" command goes forward to the close bracket 70 matching the (_N-th) open bracket in the top line. 71 Each "find open bracket" command goes backward to the open bracket 72 matching the (_N-th) close bracket in the bottom line. 73 74 m_<_l_e_t_t_e_r_> Mark the current top line with <letter>. 75 M_<_l_e_t_t_e_r_> Mark the current bottom line with <letter>. --- 50 unchanged lines hidden (view full) --- 126 -b [_N] .... --buffers=[_N] 127 Number of buffers. 128 -B ........ --auto-buffers 129 Don't automatically allocate buffers for pipes. 130 -c ........ --clear-screen 131 Repaint by clearing rather than scrolling. 132 -d ........ --dumb 133 Dumb terminal. |
132 -D [_x_n_._n] . --color=_x_n_._n 133 Set screen colors. (MS-DOS only) | 134 -D xx_c_o_l_o_r . --color=xx_c_o_l_o_r 135 Set screen colors. |
134 -e -E .... --quit-at-eof --QUIT-AT-EOF 135 Quit at end of file. 136 -f ........ --force 137 Force open non-regular files. 138 -F ........ --quit-if-one-screen 139 Quit if entire file fits on first screen. 140 -g ........ --hilite-search 141 Highlight only last match for searches. --- 55 unchanged lines hidden (view full) --- 197 Forward scroll limit. 198 -z [_N] .... --window=[_N] 199 Set size of window. 200 -" [_c[_c]] . --quotes=[_c[_c]] 201 Set shell quote characters. 202 -~ ........ --tilde 203 Don't display tildes after end of file. 204 -# [_N] .... --shift=[_N] | 136 -e -E .... --quit-at-eof --QUIT-AT-EOF 137 Quit at end of file. 138 -f ........ --force 139 Force open non-regular files. 140 -F ........ --quit-if-one-screen 141 Quit if entire file fits on first screen. 142 -g ........ --hilite-search 143 Highlight only last match for searches. --- 55 unchanged lines hidden (view full) --- 199 Forward scroll limit. 200 -z [_N] .... --window=[_N] 201 Set size of window. 202 -" [_c[_c]] . --quotes=[_c[_c]] 203 Set shell quote characters. 204 -~ ........ --tilde 205 Don't display tildes after end of file. 206 -# [_N] .... --shift=[_N] |
205 Horizontal scroll amount (0 = one half screen width) | 207 Set horizontal scroll amount (0 = one half screen width). |
206 --follow-name 207 The F command changes files if the input file is renamed. | 208 --follow-name 209 The F command changes files if the input file is renamed. |
210 --incsearch 211 Search file as each pattern character is typed in. 212 --line-num-width=N 213 Set the width of the -N line number field to N characters. |
|
208 --mouse 209 Enable mouse input. 210 --no-keypad 211 Don't send termcap keypad init/deinit strings. 212 --no-histdups 213 Remove duplicates from command history. 214 --rscroll=C 215 Set the character used to mark truncated lines. 216 --save-marks 217 Retain marks across invocations of less. | 214 --mouse 215 Enable mouse input. 216 --no-keypad 217 Don't send termcap keypad init/deinit strings. 218 --no-histdups 219 Remove duplicates from command history. 220 --rscroll=C 221 Set the character used to mark truncated lines. 222 --save-marks 223 Retain marks across invocations of less. |
224 --status-col-width=N 225 Set the width of the -J status column to N characters. |
|
218 --use-backslash 219 Subsequent options use backslash as escape char. | 226 --use-backslash 227 Subsequent options use backslash as escape char. |
228 --use-color 229 Enables colored text. |
|
220 --wheel-lines=N 221 Each click of the mouse wheel moves N lines. 222 223 224 --------------------------------------------------------------------------- 225 226 LLIINNEE EEDDIITTIINNGG 227 --- 11 unchanged lines hidden (view full) --- 239 ctrl-BACKSPACE ESC-BACKSPACE ........... Delete word to left of cursor. 240 ctrl-DELETE .... ESC-DELETE .... ESC-X ... Delete word under cursor. 241 ctrl-U ......... ESC (MS-DOS only) ....... Delete entire line. 242 UpArrow ........................ ESC-k ... Retrieve previous command line. 243 DownArrow ...................... ESC-j ... Retrieve next command line. 244 TAB ...................................... Complete filename & cycle. 245 SHIFT-TAB ...................... ESC-TAB Complete filename & reverse cycle. 246 ctrl-L ................................... Complete filename, list all. | 230 --wheel-lines=N 231 Each click of the mouse wheel moves N lines. 232 233 234 --------------------------------------------------------------------------- 235 236 LLIINNEE EEDDIITTIINNGG 237 --- 11 unchanged lines hidden (view full) --- 249 ctrl-BACKSPACE ESC-BACKSPACE ........... Delete word to left of cursor. 250 ctrl-DELETE .... ESC-DELETE .... ESC-X ... Delete word under cursor. 251 ctrl-U ......... ESC (MS-DOS only) ....... Delete entire line. 252 UpArrow ........................ ESC-k ... Retrieve previous command line. 253 DownArrow ...................... ESC-j ... Retrieve next command line. 254 TAB ...................................... Complete filename & cycle. 255 SHIFT-TAB ...................... ESC-TAB Complete filename & reverse cycle. 256 ctrl-L ................................... Complete filename, list all. |
247 248 | |