[BACK]Return to less.nro CVS log [TXT][DIR] Up to [local] / src / usr.bin / less

Diff for /src/usr.bin/less/Attic/less.nro between version 1.1 and 1.2

version 1.1, 1996/09/21 05:39:45 version 1.2, 1996/09/21 06:06:40
Line 1 
Line 1 
 .TH LESS 1  .TH LESS 1
 .SH NAME  .SH NAME
 less \- opposite of more  less, more \- view files on a crt
 .SH SYNOPSIS  .SH SYNOPSIS
 .B "less -?"  .B "less|more -?"
 .br  .br
 .B "less -V"  .B "less|more -V"
 .br  .br
 .B "less [-[+]aBcCdeEfgGiImMnNqQrsSuUVwX]"  .B "less|more [-[+]aBcCdeEfgGiImMnNqQrsSuUVwX]"
 .br  .br
 .B "     [-b \fIbufs\fP] [-h \fIlines\fP] [-j \fIline\fP] [-k \fIkeyfile\fP]"  .B "     [-b \fIbufs\fP] [-h \fIlines\fP] [-j \fIline\fP] [-k \fIkeyfile\fP]"
 .br  .br
Line 18 
Line 18 
   
 .SH DESCRIPTION  .SH DESCRIPTION
 .I Less  .I Less
 is a program similar to  is a program similar to the traditional
 .I more  .I more
 (1), but which allows backward movement  (1), but which allows backward movement
 in the file as well as forward movement.  in the file as well as forward movement.
Line 35 
Line 35 
 (On a hardcopy terminal, lines which should be printed at the top  (On a hardcopy terminal, lines which should be printed at the top
 of the screen are prefixed with a caret.)  of the screen are prefixed with a caret.)
 .PP  .PP
 Commands are based on both  This version of
   .I less
   also acts as
 .I more  .I more
   (1) if it is called as
   .I more.
   In this mode, the differences are in the prompt and that
   .I more
   exits by default when it gets to the end of the file.
   Commands are based on both traditional
   .I more
 and  and
 .I vi.  .I vi.
 Commands may be preceded by a decimal number,  Commands may be preceded by a decimal number,
Line 282 
Line 291 
 Examine the previous file in the command line list.  Examine the previous file in the command line list.
 If a number N is specified, the N-th previous file is examined.  If a number N is specified, the N-th previous file is examined.
 .PP  .PP
   .IP ":t"
   Go to supplied tag.
   .PP
 .IP ":x"  .IP ":x"
 Examine the first file in the command line list.  Examine the first file in the command line list.
 If a number N is specified, the N-th file in the list is examined.  If a number N is specified, the N-th file in the list is examined.
Line 377 
Line 389 
 .I less  .I less
 is running, via the "\-" command.  is running, via the "\-" command.
 .PP  .PP
 Options are also taken from the environment variable "LESS".  Options are also taken from the environment variable "LESS" if the
   command is
   .I less
   , or from the environment variable "MORE" if the command is
   .I more.
 For example,  For example,
 to avoid typing "less -options ..." each time  to avoid typing "less -options ..." each time
 .I less  .I less
Line 439 
Line 455 
 .IP -C  .IP -C
 The -C option is like -c, but the screen is cleared before it is repainted.  The -C option is like -c, but the screen is cleared before it is repainted.
 .IP -d  .IP -d
 The -d option suppresses the error message  The -d option causes the default prompt to include the basic directions
 normally displayed if the terminal is dumb;  ``[Press space to continue, 'q' to quit.]''.  The -d
 that is, lacks some important capability,  option also causes the message ``[Press 'h' for instructions.]'' to be
 such as the ability to clear the screen or scroll backward.  displayed when an invalid command is entered (normally, the bell is
 The -d option does not otherwise change the behavior of  rung).  This option is useful in environments where users may not be
 .I less  experienced with pagers.
 on a dumb terminal).  
 .IP -D\fBx\fP\fIcolor\fP  .IP -D\fBx\fP\fIcolor\fP
 [MS-DOS only]  [MS-DOS only]
 Sets the color of the text displayed.  Sets the color of the text displayed.
Line 462 
Line 477 
 the second time it reaches end-of-file.  the second time it reaches end-of-file.
 By default, the only way to exit  By default, the only way to exit
 .I less  .I less
 is via the "q" command.  is via the "q" command, except in
   .I more
   mode, where
   .I less
   will exit at the end of a file.
 .IP -E  .IP -E
 Causes  Causes
 .I less  .I less
Line 1181 
Line 1200 
 .IP LESS  .IP LESS
 Flags which are passed to  Flags which are passed to
 .I less  .I less
   automatically.
   .IP MORE
   Flags which are passed to
   .I more
 automatically.  automatically.
 .IP LESSBINFMT  .IP LESSBINFMT
 Format for displaying non-printable, non-control characters.  Format for displaying non-printable, non-control characters.

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2