Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Apr 2001 15:00:04 -0700 (PDT)
From:      Dima Dorfman <dima@unixfreak.org>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: misc/26566: man.cgi fails to retrieve manpages with '.' 
Message-ID:  <200104142200.f3EM04309386@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/26566; it has been noted by GNATS.

From: Dima Dorfman <dima@unixfreak.org>
To: chern@serenivision.com
Cc: FreeBSD-gnats-submit@freebsd.org, nik@freebsd.org
Subject: Re: misc/26566: man.cgi fails to retrieve manpages with '.' 
Date: Sat, 14 Apr 2001 14:51:24 -0700

 clee@serenivision.com writes:
 > 
 > >Number:         26566
 > >Category:       misc
 > >Synopsis:       man.cgi fails to retrieve manpages with '.'
 > 
 > require '/usr/local/www/bsddoc/bin/man.cgi';
 
 That script is over 1000 lines with umpteen references to external
 sites and sources.  Not to mention that it's not in CVS.  I don't
 think you want to touch it. :-)
 
 That said, this is trivial to fix by making the stylesheets use the
 correct interface to man.cgi.  Patch attached below.
 
 Nik (cc'd), any objections to me checking this in?
 
 					Dima Dorfman
 					dima@unixfreak.org
 
 
 Index: freebsd.dsl
 ===================================================================
 RCS file: /st/src/FreeBSD/doc/en_US.ISO_8859-1/share/sgml/freebsd.dsl,v
 retrieving revision 1.6
 diff -u -r1.6 freebsd.dsl
 --- freebsd.dsl	2001/03/24 09:42:02	1.6
 +++ freebsd.dsl	2001/04/14 21:48:56
 @@ -53,11 +53,8 @@
  
          <!-- Specify how to generate the man page link HREF -->
          (define ($create-refentry-xref-link$ refentrytitle manvolnum)
 -          (string-append "http://www.FreeBSD.org/cgi/man.cgi?"
 -                          refentrytitle
 -                         "("
 -                         manvolnum
 -                         ")"))
 +	  (string-append "http://www.FreeBSD.org/cgi/man.cgi?query="
 +			 refentrytitle "&" "sektion=" manvolnum))
        ]]>
      </style-specification-body>
    </style-specification>

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104142200.f3EM04309386>