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

Diff for /src/usr.bin/less/less.1 between version 1.36 and 1.37

version 1.36, 2014/05/01 18:59:15 version 1.37, 2014/05/08 06:24:14
Line 52 
Line 52 
 .Nm  .Nm
 is a program similar to the traditional  is a program similar to the traditional
 .Xr more 1 ,  .Xr more 1 ,
 but which allows backward movement in the file as well as forward movement.  but with many more features.
 Also,  It displays text one screenful at a time.
   After showing each screenful, it prompts the user for a command.
   When showing the last line of a file,
 .Nm  .Nm
 does not have to read the entire input file before starting,  displays a prompt indicating end of file and the name of the next file
 so with large input files it starts up faster than text editors like  to examine, if any.
 .Xr vi 1 .  It then waits for input from the user.
 .Nm  
 uses termcap (or terminfo on some systems),  
 so it can run on a variety of terminals.  
 There is even limited support for hardcopy terminals.  
 (On a hardcopy terminal, lines which should be printed at the top  
 of the screen are prefixed with a caret.)  
 .Pp  .Pp
 This version of  This version of
 .Nm  .Nm
 also acts as  also acts as
 .Xr more 1  .Xr more 1
 if it is called as  if it is called as
 .Nm more .  .Nm more ,
 In this mode, the differences are in the prompt and that  or if the
 .Nm more  .Ev LESS_IS_MORE
 exits by default when it gets to the end of the file.  environment variable is set.
   The main differences between the two are summarized in the
   .Sx COMPATIBILITY WITH MORE
   section, below.
   .Pp
 Commands are based on both traditional  Commands are based on both traditional
 .Nm more  .Xr more 1
 and  and
 .Xr vi 1 .  .Xr vi 1 .
 Commands may be preceded by a decimal number,  Commands may be preceded by a decimal number,
Line 1700 
Line 1700 
 behaves (mostly) in conformance with the POSIX "more" command specification.  behaves (mostly) in conformance with the POSIX "more" command specification.
 In this mode, less behaves differently in these ways:  In this mode, less behaves differently in these ways:
 .Pp  .Pp
 The -e option works differently.  The
 If the -e option is not set,  .Fl e
 .Nm  option works differently:
 behaves as if the -E option were set.  it causes
 If the -e option is set,  .Xr more 1
 .Nm  to exit the first time it reaches EOF,
 behaves as if the -e and -F options were set.  not the second.
 .Pp  .Pp
 The -m option works differently.  The
 If the -m option is not set, the medium prompt is used.  .Fl m
 If the -m option is set, the short prompt is used.  option works differently:
   if it is not specified, the medium prompt is used;
   if it is specified, the short prompt is used.
 .Pp  .Pp
 The -n option acts like the -z option.  The
 The normal behavior of the -n option is unavailable in this mode.  .Fl n
   option acts like the
   .Fl z
   option.
   The normal behavior of the
   .Fl n
   option is unavailable in this mode.
 .Pp  .Pp
 The parameter to the -p option is taken to be a  The parameter to the
 .Nm  .Fl p
   option is taken to be a
 command rather than a search pattern.  command rather than a search pattern.
 .Pp  .Pp
 The  The
Line 1850 
Line 1859 
 The name of the editor (used for the v command).  The name of the editor (used for the v command).
 .El  .El
 .Sh SEE ALSO  .Sh SEE ALSO
 .Xr lesskey 1  .Xr lesskey 1 ,
   .Xr more 1
 .Sh AUTHORS  .Sh AUTHORS
 .An Mark Nudelman  .An Mark Nudelman
 .Pp  .Pp

Legend:
Removed from v.1.36  
changed lines
  Added in v.1.37