Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: 0.9.2 BUG: Manual page viewing does not work, BUG report< Next Oldest | Next Newest >
jaalto Offline





Group: Members
Posts: 5
Joined: Jan. 2005
Posted: Jan. 17 2005,22:13 QUOTE

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";
Back to top
Profile PM 
tronik Offline





Group: Members
Posts: 182
Joined: Dec. 2004
Posted: Jan. 19 2005,13:52 QUOTE

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.


--------------
-william
atlanta, GA, USA

DSL 1.0+2.4.27/sata : P4 2.4norwood : 512ddr2 : nvgf4ti4200-64 : 128mbLexar Jumpdrive Elite
Back to top
Profile PM WEB 
Crosbie
Unregistered






Posted: Jan. 19 2005,22:44 QUOTE

I think this was true in earlier versions (9.0?).  I thought I'd knackered something up in my HD install. :)
Back to top
2 replies since Jan. 17 2005,22:13 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: 0.9.2 BUG: Manual page viewing does not work

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code