* Dealing with compressed man pages
@ 2012-02-07 9:39 Joerg Sonnenberger
0 siblings, 0 replies; only message in thread
From: Joerg Sonnenberger @ 2012-02-07 9:39 UTC (permalink / raw)
To: discuss
Hi all,
at the moment, it is the responsibility of the man(1) frontend and
similar programs to handling uncompressing man pages. They generally do
this by building a pipe to "preprocess" the man page with zcat, just
like they did with tbl(1). Given that we removed most needs for such a
pipeline and there are at least two frontends dealing with man pages
(apropos/makewhatis and man), I wonder if it wouldn't simplify things if
the decompressing is done as part of the file loop. Detecting zlib/gzip
is trivial and the amount of code small as well. I don't think the
parallelism is noticable even on modern system due to the small man page
size. Comments?
Joerg
--
To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-02-07 9:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-07 9:39 Dealing with compressed man pages Joerg Sonnenberger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).