Re: Accessibility of man pages

Alejandro Colomar
2023-04-08T22:39:31Z

[-- Attachment #1.1: Type: text/plain, Size: 2533 bytes --]

On 4/8/23 23:53, Alejandro Colomar wrote:
> Colin, did I do anything wrong to have this slowness in man(1) with
> uncompressed pages? Also, it's finding some repeated lines; did we
> find a bug?
>
>
> $ man -Kaw RLIMIT_NOFILE
> /opt/local/man/expanded__/share/man/man3/errno.3
> /opt/local/man/expanded__/share/man/man2/select.2
> /opt/local/man/expanded__/share/man/man2/select.2
> /opt/local/man/expanded__/share/man/man2/select.2
> /opt/local/man/expanded__/share/man/man2/select.2
> /opt/local/man/expanded__/share/man/man3/getdtablesize.3
> /opt/local/man/expanded__/share/man/man3/mq_open.3
> /opt/local/man/expanded__/share/man/man3/sysconf.3
> /opt/local/man/expanded__/share/man/man2/fcntl.2
> /opt/local/man/expanded__/share/man/man2/fcntl.2
> /opt/local/man/expanded__/share/man/man2/open.2
> /opt/local/man/expanded__/share/man/man2/open.2
> /opt/local/man/expanded__/share/man/man2/open.2
> /opt/local/man/expanded__/share/man/man2/poll.2
> /opt/local/man/expanded__/share/man/man2/poll.2
> /opt/local/man/expanded__/share/man/man2/seccomp_unotify.2
> /opt/local/man/expanded__/share/man/man2/pidfd_getfd.2
> /opt/local/man/expanded__/share/man/man2/dup.2
> /opt/local/man/expanded__/share/man/man2/dup.2
> /opt/local/man/expanded__/share/man/man2/dup.2
> /opt/local/man/expanded__/share/man/man2/getrlimit.2
> /opt/local/man/expanded__/share/man/man2/getrlimit.2
> /opt/local/man/expanded__/share/man/man2/getrlimit.2
> /opt/local/man/expanded__/share/man/man2/getrlimit.2
> /opt/local/man/expanded__/share/man/man2/getrlimit.2
> /opt/local/man/expanded__/share/man/man2/pidfd_open.2
> /opt/local/man/expanded__/share/man/man2/select.2
> /opt/local/man/expanded__/share/man/man2/select.2
> /opt/local/man/expanded__/share/man/man2/select.2
> /opt/local/man/expanded__/share/man/man2/select.2
> /opt/local/man/expanded__/share/man/man5/proc.5
> /opt/local/man/expanded__/share/man/man5/proc.5
> /opt/local/man/expanded__/share/man/man7/capabilities.7
> /opt/local/man/expanded__/share/man/man7/fanotify.7
> /opt/local/man/expanded__/share/man/man7/unix.7
>
> $ grep -n RLIMIT_NOFILE /opt/local/man/expanded__/share/man/man2/select.2
> 412:.B RLIMIT_NOFILE

Ahh, it seems to be following symlinks as if they were actual pages.
But for some reason this only happens for uncompressed pages, and not
for .gz pages. Bug here :)

>
>
> Cheers,
> Alex
>

--
<http://www.alejandro-colomar.es/>
GPG key fingerprint: A9348594CE31283A826FBDD8D57633D441E25BB5

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]