110 lines
2.7 KiB
Diff
110 lines
2.7 KiB
Diff
diff -Naur mandoc-1.14.5.orig/apropos.1 mandoc-1.14.5/apropos.1
|
|
--- mandoc-1.14.5.orig/apropos.1 2019-03-10 05:56:43.000000000 -0400
|
|
+++ mandoc-1.14.5/apropos.1 2020-06-04 01:50:14.939916079 -0400
|
|
@@ -73,7 +73,7 @@
|
|
If the standard output is a terminal device and
|
|
.Fl c
|
|
is not specified, use
|
|
-.Xr more 1
|
|
+.Xr less 1
|
|
to paginate them.
|
|
In
|
|
.Fl a
|
|
@@ -340,7 +340,7 @@
|
|
Any non-empty value of the environment variable
|
|
.Ev MANPAGER
|
|
is used instead of the standard pagination program,
|
|
-.Xr more 1 ;
|
|
+.Xr less 1 ;
|
|
see
|
|
.Xr man 1
|
|
for details.
|
|
@@ -363,7 +363,7 @@
|
|
.Ev MANPAGER
|
|
is not defined.
|
|
If neither PAGER nor MANPAGER is defined,
|
|
-.Xr more 1
|
|
+.Xr less 1
|
|
.Fl s
|
|
is used.
|
|
Only used if
|
|
diff -Naur mandoc-1.14.5.orig/main.c mandoc-1.14.5/main.c
|
|
--- mandoc-1.14.5.orig/main.c 2019-03-10 05:56:43.000000000 -0400
|
|
+++ mandoc-1.14.5/main.c 2020-06-04 01:49:34.933764454 -0400
|
|
@@ -1171,7 +1171,7 @@
|
|
if (pager == NULL || *pager == '\0')
|
|
pager = getenv("PAGER");
|
|
if (pager == NULL || *pager == '\0')
|
|
- pager = "more -s";
|
|
+ pager = "less -s";
|
|
cp = mandoc_strdup(pager);
|
|
|
|
/*
|
|
diff -Naur mandoc-1.14.5.orig/man.1 mandoc-1.14.5/man.1
|
|
--- mandoc-1.14.5.orig/man.1 2019-03-10 05:56:43.000000000 -0400
|
|
+++ mandoc-1.14.5/man.1 2020-06-04 01:50:14.943249368 -0400
|
|
@@ -75,7 +75,7 @@
|
|
for a description of the contents of this file.
|
|
.It Fl c
|
|
Copy the manual page to the standard output instead of using
|
|
-.Xr more 1
|
|
+.Xr less 1
|
|
to paginate it.
|
|
This is done by default if the standard output is not a terminal device.
|
|
.Pp
|
|
@@ -258,7 +258,7 @@
|
|
Any non-empty value of the environment variable
|
|
.Ev MANPAGER
|
|
is used instead of the standard pagination program,
|
|
-.Xr more 1 .
|
|
+.Xr less 1 .
|
|
If
|
|
.Xr less 1
|
|
is used, the interactive
|
|
@@ -314,7 +314,7 @@
|
|
.Ev MANPAGER
|
|
is not defined.
|
|
If neither PAGER nor MANPAGER is defined,
|
|
-.Xr more 1
|
|
+.Xr less 1
|
|
.Fl s
|
|
is used.
|
|
.El
|
|
diff -Naur mandoc-1.14.5.orig/mandoc.1 mandoc-1.14.5/mandoc.1
|
|
--- mandoc-1.14.5.orig/mandoc.1 2019-03-10 05:56:43.000000000 -0400
|
|
+++ mandoc-1.14.5/mandoc.1 2020-06-04 01:50:14.949915948 -0400
|
|
@@ -52,13 +52,13 @@
|
|
If the standard output is a terminal device and
|
|
.Fl c
|
|
is not specified, use
|
|
-.Xr more 1
|
|
+.Xr less 1
|
|
to paginate the output, just like
|
|
.Xr man 1
|
|
would.
|
|
.It Fl c
|
|
Copy the formatted manual pages to the standard output without using
|
|
-.Xr more 1
|
|
+.Xr less 1
|
|
to paginate them.
|
|
This is the default.
|
|
It can be specified to override
|
|
@@ -627,7 +627,7 @@
|
|
Any non-empty value of the environment variable
|
|
.Ev MANPAGER
|
|
is used instead of the standard pagination program,
|
|
-.Xr more 1 ;
|
|
+.Xr less 1 ;
|
|
see
|
|
.Xr man 1
|
|
for details.
|
|
@@ -641,7 +641,7 @@
|
|
.Ev MANPAGER
|
|
is not defined.
|
|
If neither PAGER nor MANPAGER is defined,
|
|
-.Xr more 1
|
|
+.Xr less 1
|
|
.Fl s
|
|
is used.
|
|
Only used if
|