cvs commit: src/contrib/less main.c

Xin LI delphij at FreeBSD.org
Mon Aug 13 09:15:27 PDT 2007


delphij     2007-08-13 16:15:26 UTC

  FreeBSD src repository

  Modified files:
    contrib/less         main.c 
  Log:
  Be more careful handling no_init flag.  It should be enforced
  in *all* less_is_more cases, On the other hand, quit_if_one_screen
  should apply iff less_is_more *and* -e.
  
  This change revises the previous change further, which tried
  to make less(1) not to send @ti:@te before and after view of
  one file in more(1) mode, but affected less -e behavior by
  accident.
  
  This is essentially the same patch desichen@ has posted on
  -current at .  I have adjusted it a bit in order to minimize
  difference between our version and the vendor branch.
  
  Approved by:    re (bmah, earlier logically equivalent version)
  
  Revision  Changes    Path
  1.11      +4 -2      src/contrib/less/main.c


More information about the cvs-src mailing list