From 4e2d304caa932fcde6f62b843b3f24647bbef4bf Mon Sep 17 00:00:00 2001 From: Xin LI Date: Sat, 16 Jun 2007 02:43:44 +0000 Subject: [PATCH] In previous releases of FreeBSD we have enforced -EfGm, and the new less(1) version enforced only -Em. Restore old behavior in respect with POLA. Submitted by: ru (on -current@) --- contrib/less/main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/contrib/less/main.c b/contrib/less/main.c index 33e8600c11e3..6d0a022ae82d 100644 --- a/contrib/less/main.c +++ b/contrib/less/main.c @@ -135,6 +135,9 @@ main(argc, argv) init_prompt(); + if (less_is_more) + scan_option("-fG"); + s = lgetenv(less_is_more ? "MORE" : "LESS"); if (s != NULL) scan_option(save(s));