Fix for links to man pages with dots in their name

From: Dima Dorfman <dima(at)unixfreak.org>
Date: Sun, 15 Apr 2001 12:22:14 -0700

There's a problem with your implementation of
$create-refentry-xref-link$ which causes it to fail when trying to
link to a manual page with a dot (.) in its name (e.g., rpc.statd(8)).
Actually, the problem is more likely with man.cgi, but since you're
not using the correct interface to it you can't really blame it.

This was fixed in the English stylesheets in revision 1.7 of
en_US.ISO_8859-1/share/sgml/freebsd.dsl (also see PR docs/26566).
Attached is an untested patch for the German translation which should
fix it there as well (assuming you're using the same man.cgi as
www.freebsd.org).

Regards,

                                        Dima Dorfman
                                        dima(at)unixfreak.org

P.S. I was unable to test this because trying to access
http://www.de.freebsd.org/cgi/man.cgi returns a server error (HTTP 500).

Index: freebsd.dsl
===================================================================
RCS file: /st/src/FreeBSD/doc/de_DE.ISO_8859-1/share/sgml/freebsd.dsl,v
retrieving revision 1.6
diff -u -r1.6 freebsd.dsl
--- freebsd.dsl 2001/04/01 14:07:35 1.6
+++ freebsd.dsl 2001/04/15 19:19:53
@@ -42,11 +42,8 @@
 
         <!-- Specify how to generate the man page link HREF -->
         (define ($create-refentry-xref-link$ refentrytitle manvolnum)
- (string-append "http://www.de.FreeBSD.org/cgi/man.cgi?"
- refentrytitle
- "("
- manvolnum
- ")"))
+ (string-append "http://www.de.FreeBSD.org/cgi/man.cgi?query="
+ refentrytitle "&" "sektion=" manvolnum))
       ]]>
     </style-specification-body>
   </style-specification>

To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-translators" in the body of the message
Received on Sun 15 Apr 2001 - 21:22:22 CEST

search this site