=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/less/main.c,v retrieving revision 1.25 retrieving revision 1.26 diff -c -r1.25 -r1.26 *** src/usr.bin/less/main.c 2015/11/09 16:46:43 1.25 --- src/usr.bin/less/main.c 2015/11/09 18:41:46 1.26 *************** *** 75,84 **** * act like LESS_IS_MORE is set. We have to set this as early * as possible for POSIX. */ ! if ((strcmp(progname, "more") == 0) || ! (strcmp(progname, "page") == 0)) { less_is_more = 1; ! } else { s = lgetenv("LESS_IS_MORE"); if (s != NULL && *s != '\0') less_is_more = 1; --- 75,83 ---- * act like LESS_IS_MORE is set. We have to set this as early * as possible for POSIX. */ ! if (strcmp(progname, "more") == 0) less_is_more = 1; ! else { s = lgetenv("LESS_IS_MORE"); if (s != NULL && *s != '\0') less_is_more = 1;