Re: Recent change in less(1)

From: Ted Lindgreen <ted_at_tednet.nl>
Date: Fri, 10 Aug 2007 10:31:48 +0200
[Quoting Daniel Eischen, on Aug  7, 15:41, in "Re: Recent change in ..."]
....
> > If so I have a question: how to obtain the former behaviour of the -e
> > switch, i.e. quit when EOF is hit twice always (thus whether or not
> > when the file happens to fit on a single page)?
> 
> Perhaps:
> 
>  	if (less_is_more) {
>  		no_init = TRUE;
>  		if (get_quit_at_eof())
>  			quit_if_one_screen = TRUE;
>  	}

Daniel, are you going to check this fix in?

(Or must we live with broken "-e" functionality in future, in which
case at least the man-page should be updated to reflect the new
behaviour IMHO).

-- ted
Received on Fri Aug 10 2007 - 06:31:52 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:16 UTC