1.TH LESS 1 "Version 415: 15 Nov 2007" |
2.SH NAME 3less \- opposite of more 4.SH SYNOPSIS 5.B "less \-?" 6.br 7.B "less \-\-help" 8.br 9.B "less \-V" --- 784 unchanged lines hidden (view full) --- 794last two. 795For example, \fI-x9,17\fP will set tabs at positions 9, 17, 25, 33, etc. 796The default for \fIn\fP is 8. 797.IP "\-X or \-\-no-init" 798Disables sending the termcap initialization and deinitialization strings 799to the terminal. 800This is sometimes desirable if the deinitialization string does 801something unnecessary, like clearing the screen. |
802.IP "\-y\fIn\fP or \-\-max-forw-scroll=\fIn\fP" 803Specifies a maximum number of lines to scroll forward. 804If it is necessary to scroll forward more than \fIn\fP lines, 805the screen is repainted instead. 806The \-c or \-C option may be used to repaint from the top of 807the screen if desired. 808By default, any forward movement causes scrolling. 809.IP "\-[z]\fIn\fP or \-\-window=\fIn\fP" --- 27 unchanged lines hidden (view full) --- 837.IP "\-~ or \-\-tilde" 838Normally lines after end of file are displayed as a single tilde (~). 839This option causes lines after end of file to be displayed as blank lines. 840.IP "\-# or \-\-shift" 841Specifies the default number of positions to scroll horizontally 842in the RIGHTARROW and LEFTARROW commands. 843If the number specified is zero, it sets the default number of 844positions to one half of the screen width. |
845.IP "\-\-no-keypad" 846Disables sending the keypad initialization and deinitialization strings 847to the terminal. 848This is sometimes useful if the keypad strings make the numeric 849keypad behave in an undesirable manner. 850.IP "\-\-follow-name" 851Normally, if the input file is renamed while an F command is executing, 852.I less 853will continue to display the contents of the original file despite 854its name change. 855If \-\-follow-name is specified, during an F command 856.I less 857will periodically attempt to reopen the file by name. 858If the reopen succeeds and the file is a different file from the original 859(which means that a new file has been created 860with the same name as the original (now renamed) file), 861.I less 862will display the contents of that new file. |
863.IP \-\- 864A command line argument of "\-\-" marks the end of option arguments. 865Any arguments following this are interpreted as filenames. 866This can be useful when viewing a file whose name begins with a "\-" or "+". 867.IP + 868If a command line option begins with \fB+\fP, 869the remainder of that option is taken to be an initial command to 870.I less. --- 819 unchanged lines hidden --- |