Does this restore the old behaviour?

I don't remember why -E was left out... Alexandr?


Index: main.c
===================================================================
RCS file: /cvs/src/usr.bin/less/main.c,v
retrieving revision 1.11
diff -u -p -r1.11 main.c
--- main.c      16 Sep 2011 18:12:09 -0000      1.11
+++ main.c      6 Oct 2011 12:50:24 -0000
@@ -135,6 +135,7 @@ main(argc, argv)
        init_prompt();
 
        if (less_is_more) {
+               scan_option("-E");
                scan_option("-G");
                scan_option("-L");
                scan_option("-X");


On Thu, Oct 06, 2011 at 11:07:30AM +0100, Stuart Henderson wrote:
> With the old version of less, when called as either "more" or "less",
> if you press either G or F ^C, you would be left at a prompt at the end
> of the file.
> 
> In the updated version these differ; called as "less" this works fine,
> but as "more" it exits.
> 
> Not sure if this is intentional but I'm finding it quite annoying as
> I find it a lot easier to type "more" than "less"..

Reply via email to