PHP 8.5.2
Preview: man-db Size: 1.82 KB
//lib/mime/packages/man-db

# priority=6 above the default 5 on the basis that viewing a man page
# with man is above average sensible.
#
# Priority above /usr/lib/mime/packages/groff-base "nroff -mandoc"
# since "man" has the advantage of running preprocessors such as tbl
# specified in the man page and so gives better results.  Eg on
# /usr/share/man/man1/gtbl.1.gz (the tbl man page uses tbl).  Locale
# charset handling in man is probably better too.
#
# "man -X" is only priority=6 since the gxditview it runs is rather
# basic and perhaps something more sophisticated could be higher.  The
# X entry is before the tty so the X is preferred under X.  (The tty
# one still works there, in its declared needsterminal.)
#
# "-X100" seems to make better output than the default -X 75 dpi.
# Dunno if that's some font dodginess or matching the X server's
# advertised screen size resolution or something.
#
# "test -e gxditview" because it's in the "groff" package which is
# only a Suggests of man-db and so may not be available.

application/x-troff-man; /usr/bin/man -X100 -l %s; test=test -n "$DISPLAY" -a -e /usr/bin/gxditview; description=Man page; priority=6
text/troff; /usr/bin/man -X100 -l %s; test=test -n "$DISPLAY" -a -e /usr/bin/gxditview; description=Man page; priority=6
application/x-troff-man; /usr/bin/man -l %s; needsterminal; description=Man page; priority=6
text/troff; /usr/bin/man -l %s; needsterminal; description=Man page; priority=6

# "-Tascii" gives backspace overstriking, so use "col -b" to undo
# that.  Piping to col also means "man" has a non-tty output and so
# does not run its usual "more" etc pager, ensuring this entry is
# non-interactive.
#
application/x-troff-man; /usr/bin/man -Tascii -l %s | col -b; copiousoutput; description=Man page; priority=2
text/troff; /usr/bin/man -Tascii -l %s | col -b; copiousoutput; description=Man page; priority=2

Directory Contents

Dirs: 0 × Files: 9

Name Size Perms Modified Actions
255 B lrw-r--r-- 2023-10-16 11:11:07
Edit Download
454 B lrw-r--r-- 2024-01-13 19:09:56
Edit Download
90 B lrw-r--r-- 2023-02-12 10:17:35
Edit Download
1.82 KB lrw-r--r-- 2024-03-29 19:33:19
Edit Download
97 B lrw-r--r-- 2021-08-07 14:03:18
Edit Download
321 B lrw-r--r-- 2024-01-01 21:15:10
Edit Download
77 B lrw-r--r-- 2023-05-30 10:34:18
Edit Download
90 B lrw-r--r-- 2025-06-05 12:17:38
Edit Download
346 B lrw-r--r-- 2024-08-27 04:05:12
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).