mdocml default-pager.patch uses 'more -s'; -s option unspported in busybox's more
mdocml is patched to use `/bin/more -s’ (instead of `/usr/bin/more -s’) as the default (man) pager, as /bin/more is provided by busybox.
however, busybox’s more implementation does not support -s, and fails with return code 141 (without opening the file):
$ man man; echo $? more: -s: No such file or directory 141
There are a few options to fix:
- change default-pager.patch to remove -s and use `/bin/more’
- change default-pager.patch to use the busybox provided `/usr/bin/less’
- set $MANPAGER
- set $PAGER
I personally prefer (2), because it provides the most functionality (less is more) and is of equal complexity to (1). It’s also in line with the previous patch which avoided setting $MANPAGER/PAGER.
(from redmine: issue id 5190, created on 2016-02-25)