User Feedback :: 0.9.2 BUG: Manual page viewing does not work



It seems that the default URL for manual pages us not working any more from Europe. It says:

 $ man man
 ...

Forbidden
You don't have permission to access /cgi-bin/unixhelp/man-cgi on this server.

Apache/1.3.28 Server at mirrors.ccs.neu.edu Port 80

- - - - - - - -

Here is patch. It would be nice to be able to copy paste the URL also
to other browser, since links(1) does not allow copying text with mouse
from the terminal.

--- /usr/local/bin/man.orig     2005-01-18 00:03:22.000000000 -0500
+++ /usr/local/bin/man  2005-01-18 00:10:36.000000000 -0500
@@ -3,6 +3,7 @@
# written for Damn Small Linux by John Andrews March 07 2004

use strict;
+my $MANURL='http://www.mcsr.olemiss.edu/cgi-bin/man-cgi?';

my $usage = "What manual page do you want?\nUsage:\tman [application]\n";
my ($where, $ls_l, $bb_yes_no, $is_bb, $grab, @info, @if_bb );
@@ -46,8 +47,9 @@

else {

-    $grab = 'http://mirrors.ccs.neu.edu/cgi-bin/unixhelp/man-cgi?' . $ARGV[0];
+    $grab = $MANURL . $ARGV[0];

}

-system("links $grab")
+system("links $grab");
+print $grab, "\n";

Thanks for that. Manpages dont work in the default configuration anymore due to the default manserver taking their manpages offline (not just for Europe, but for everyone). Hopefully this will be changed in future versions, or we can sponsor our own cgi man pages. ;)

If anyones interested in helping out I'd be happy to host/maintain it.

I think this was true in earlier versions (9.0?).  I thought I'd knackered something up in my HD install. :)

original here.