mirror of
https://codeberg.org/kiss-community/repo
synced 2025-01-11 13:20:08 -07:00
28 lines
583 B
Diff
28 lines
583 B
Diff
--- mdocml-1.13.4/main.c.orig
|
|
+++ mdocml-1.13.4/main.c
|
|
@@ -1042,7 +1042,7 @@
|
|
if (pager == NULL || *pager == '\0')
|
|
pager = getenv("PAGER");
|
|
if (pager == NULL || *pager == '\0')
|
|
- pager = "more -s";
|
|
+ pager = "less";
|
|
cp = mandoc_strdup(pager);
|
|
|
|
/*
|
|
@@ -1063,15 +1063,6 @@
|
|
break;
|
|
}
|
|
|
|
- /* For less(1), use the tag file. */
|
|
-
|
|
- if ((cmdlen = strlen(argv[0])) >= 4) {
|
|
- cp = argv[0] + cmdlen - 4;
|
|
- if (strcmp(cp, "less") == 0) {
|
|
- argv[argc++] = mandoc_strdup("-T");
|
|
- argv[argc++] = tag_files->tfn;
|
|
- }
|
|
- }
|
|
argv[argc++] = tag_files->ofn;
|
|
argv[argc] = NULL;
|
|
|