discuss@mandoc.bsd.lv
 help / color / mirror / Atom feed
From: Ingo Schwarze <schwarze@usta.de>
To: Stephen Gregoratto <dev@sgregoratto.me>
Cc: discuss@mandoc.bsd.lv
Subject: Re: man.cgi and gzip manuals: bug or feature
Date: Sun, 16 Feb 2020 16:30:38 +0100	[thread overview]
Message-ID: <20200216153038.GA82002@athene.usta.de> (raw)
In-Reply-To: <20200216115947.7gsgn5hgkinplzo5@BlackBox>

Hi Stephen,

Stephen Gregoratto wrote on Sun, Feb 16, 2020 at 10:59:47PM +1100:

> man.cgi doesn't handle serving gzipped manuals,

Zipping manual pages is utterly stupid nowadays.  Manual pages are
small in the first place, so there is no point in zipping them.

The only reason why main.c supports zipped manuals is because
some operating systems anachronistically insist on it.  I'd
certainly like to kill the pointless feature, the implementation
is quite ugly, so the code could be nicely simplified.

I'm not going to add similar code to cgi.c.  When you run a server,
just unpack the stuff you are going to serve and be done with it.

Yours,
  Ingo
--
 To unsubscribe send an email to discuss+unsubscribe@mandoc.bsd.lv

      parent reply	other threads:[~2020-02-16 15:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-16 11:59 Stephen Gregoratto
2020-02-16 12:43 ` Jan Stary
2020-02-16 12:55   ` Stephen Gregoratto
2020-02-16 15:30 ` Ingo Schwarze [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200216153038.GA82002@athene.usta.de \
    --to=schwarze@usta.de \
    --cc=dev@sgregoratto.me \
    --cc=discuss@mandoc.bsd.lv \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).