discuss@mandoc.bsd.lv
 help / color / mirror / Atom feed
From: "Thomas Güttler" <guettliml@thomas-guettler.de>
To: discuss@mdocml.bsd.lv
Subject: Links into HTML page would be great
Date: Tue, 28 Feb 2017 15:33:00 +0100	[thread overview]
Message-ID: <8ffc686a-f898-4952-ae6f-3b8881469f17@thomas-guettler.de> (raw)

Hi,

it would be great if you could create a link which points to this:


   http://man.openbsd.org/OpenBSD-current/man5/ssh_config.5#ServerAliveInterval

Unfortunately the "#ServerAliveInterval" part does not work. You can only create
a link to the man-page, not "ServerAliveInterval".

the matching nroff source is here:

   https://github.com/openbsd/src/blob/master/usr.bin/ssh/ssh_config.5#L1473

I think a lot of HTML versions of man pages would benefit, if you could
create pointing to "ssh_config.5#ServerAliveInterval"

Of course above is just an example. This should work for all man pages, not for
ssh_config only.

My background: I see a lot of answers at the Q+A site serverfault.com where
the user copy+pastes snippets from man pages.

It would be much better if you could create a link to the matching definition.

Here is the nroff snippet:

{{{
.It Cm ServerAliveInterval
Sets a timeout interval in seconds after which if no data has been received
from the server,
....
}}}

I have no clue how nroff works. I guess it is not easy to implement.

What do you think?

Regards,
   Thomas Güttler


-- 
Thomas Guettler http://www.thomas-guettler.de/
--
 To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv

             reply	other threads:[~2017-02-28 14:33 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-28 14:33 Thomas Güttler [this message]
2017-03-12 18:08 ` Ingo Schwarze
2017-03-12 19:39   ` Ingo Schwarze
2017-03-13  9:42     ` Thomas Güttler
2017-03-13  9:56       ` Jan Stary
2017-03-14  1:49         ` Ingo Schwarze
2017-03-14  9:39         ` Jan Stary
2017-03-14 17:17           ` Ingo Schwarze
2017-03-13  9:59       ` Thomas Güttler
2017-03-13 15:32         ` Ingo Schwarze
2017-03-13 21:35       ` Ingo Schwarze

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=8ffc686a-f898-4952-ae6f-3b8881469f17@thomas-guettler.de \
    --to=guettliml@thomas-guettler.de \
    --cc=discuss@mdocml.bsd.lv \
    --subject='Re: Links into HTML page would be great' \
    /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

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).