diff options
Diffstat (limited to 'contrib/less/less.hlp')
-rw-r--r-- | contrib/less/less.hlp | 62 |
1 files changed, 51 insertions, 11 deletions
diff --git a/contrib/less/less.hlp b/contrib/less/less.hlp index 333a0b576c5e..901a11c2fae5 100644 --- a/contrib/less/less.hlp +++ b/contrib/less/less.hlp @@ -51,6 +51,7 @@ ^F or @ Start search at FIRST file (for /) or last file (for ?). ^K Highlight matches, but don't move (KEEP position). ^R Don't use REGULAR EXPRESSIONS. + ^S _n Search for match in _n-th parenthesized subpattern. ^W WRAP search if no match found. --------------------------------------------------------------------------- @@ -76,7 +77,7 @@ '_<_l_e_t_t_e_r_> Go to a previously marked position. '' Go to the previous position. ^X^X Same as '. - ESC-M_<_l_e_t_t_e_r_> Clear a mark. + ESC-m_<_l_e_t_t_e_r_> Clear a mark. --------------------------------------------------- A mark is any upper-case or lower-case letter. Certain marks are predefined: @@ -104,6 +105,7 @@ +_c_m_d Execute the less cmd each time a new file is examined. !_c_o_m_m_a_n_d Execute the shell command with $SHELL. + #_c_o_m_m_a_n_d Execute the shell command, expanded like a prompt. |XX_c_o_m_m_a_n_d Pipe file between current pos & mark XX to shell command. s _f_i_l_e Save input to a file. v Edit the current file with $VISUAL or $EDITOR. @@ -161,8 +163,10 @@ Ignore the LESSOPEN environment variable. -m -M .... --long-prompt --LONG-PROMPT Set prompt style. - -n -N .... --line-numbers --LINE-NUMBERS - Don't use line numbers. + -n ......... --line-numbers + Suppress line numbers in prompts and messages. + -N ......... --LINE-NUMBERS + Display line number at start of each line. -o [_f_i_l_e] . --log-file=[_f_i_l_e] Copy to log file (standard input only). -O [_f_i_l_e] . --LOG-FILE=[_f_i_l_e] @@ -184,7 +188,7 @@ -T [_t_a_g_s_f_i_l_e] --tag-file=[_t_a_g_s_f_i_l_e] Use an alternate tags file. -u -U .... --underline-special --UNDERLINE-SPECIAL - Change handling of backspaces. + Change handling of backspaces, tabs and carriage returns. -V ........ --version Display the version number of "less". -w ........ --hilite-unread @@ -205,32 +209,68 @@ Don't display tildes after end of file. -# [_N] .... --shift=[_N] Set horizontal scroll amount (0 = one half screen width). + --exit-follow-on-close + Exit F command on a pipe when writer closes pipe. --file-size Automatically determine the size of the input file. --follow-name The F command changes files if the input file is renamed. + --header=[_N[,_M]] + Use N lines and M columns to display file headers. --incsearch Search file as each pattern character is typed in. - --line-num-width=N - Set the width of the -N line number field to N characters. + --intr=_C + Use _C instead of ^X to interrupt a read. + --line-num-width=_N + Set the width of the -N line number field to _N characters. + --modelines=_N + Read _N lines from the input file and look for vim modelines. --mouse Enable mouse input. --no-keypad Don't send termcap keypad init/deinit strings. --no-histdups Remove duplicates from command history. - --rscroll=C + --no-number-headers + Don't give line numbers to header lines. + --no-search-headers + Don't search in header lines or columns. + --no-vbell + Disable the terminal's visual bell. + --redraw-on-quit + Redraw final screen when quitting. + --rscroll=_C Set the character used to mark truncated lines. --save-marks Retain marks across invocations of less. - --status-col-width=N - Set the width of the -J status column to N characters. + --search-options=[EFKNRW-] + Set default options for every search. + --show-preproc-errors + Display a message if preprocessor exits with an error status. + --proc-backspace + Process backspaces for bold/underline. + --SPECIAL-BACKSPACE + Treat backspaces as control characters. + --proc-return + Delete carriage returns before newline. + --SPECIAL-RETURN + Treat carriage returns as control characters. + --proc-tab + Expand tabs to spaces. + --SPECIAL-TAB + Treat tabs as control characters. + --status-col-width=_N + Set the width of the -J status column to _N characters. + --status-line + Highlight or color the entire line containing a mark. --use-backslash Subsequent options use backslash as escape char. --use-color Enables colored text. - --wheel-lines=N - Each click of the mouse wheel moves N lines. + --wheel-lines=_N + Each click of the mouse wheel moves _N lines. + --wordwrap + Wrap lines at spaces. --------------------------------------------------------------------------- |