-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

i
The Saturday 2007-12-15 at 18:23 -0600, Rajko M. wrote:

That links gives you all the info pages in the system, using any browser.
It is provided by "info2html...rpm, but the rpm is broken.


Type in Konqueror Location field
info:
press Enter and you will see this:
info:/dir
with all info articles listed in the window.

I know that konqueror displays info pages, but I do not want to use konqueror for that, not today. There is a package in opensuse that claims to be able to do it, and it is broken. Somebody must know how to repair it. I don't.



I guess that is what you are looking for, but if you insist on the other way
than you have to configure Apache, find where is hidden customized css that
is used by Konqueror, install it and that's all ;-)

That is above my knowledge. I don't even know what a css is - nor do I care, in fact... I simply installed an rpm provided by opensuse, and I expect it to work. As simple as that.


The file is contained in the rpm source, by the way. I copied it over, the output is beautified, but the main error remain:


] File IO Error
] The Info file could not be opened for reading.


This seems to come from the /srv/www/cgi-bin/info2html file (in perl):

#---------------------------------------------------------
#                     DieFileNotFound
#---------------------------------------------------------
# Replies and error message if the file '$FileName' is
# not accessible.
#---------------------------------------------------------
# Don't reveal where we're looking... --jonh 5/20/97 (and reapplied 5/4/1998)
sub DieFileNotFound{
  local($FileName) = CGI::escape(@_);
  #-- TEXT : error message if a file could not be opened
  print <<"EOF";
<html>
<head>
<title>Info Files  - Error Message</title>
$BOTS_STAY_AWAY
$HTML_HEAD_STUFF
</head>
<body bgcolor="#ffffff" link="#008000" alink="#008000" vlink="#fb8000" class='error noopen'>
<h1>File IO Error</h1>
The Info file could not be opened for reading.
</body>
</html>


I modified that to print the filename. Then traced the problem to this piece of code (by substituting "$BaseInfoFile" with "'aqui falla'", one by one on each of the function calls, and seeing it printed after one of the changes):

$PROGRAM = $ENV{'SCRIPT_NAME'};

$CommandLine = DeEscape($ENV{'QUERY_STRING'});  # jonh DeEscape() 1997.05.16
if ($CommandLine =~ /\(([^\)]+)\)(.+)/) {
    $BaseInfoFile = &DeEscape($1);
    $NodeName     = &DeEscape($2);
    &DirnameCheck($BaseInfoFile) || &DieFileNotFound($BaseInfoFile);  <===
} elsif( $CommandLine =~ /^([-_0-9a-zA-Z]+)$/) {  # tolerate bare queries
    $BaseInfoFile = &DeEscape($1);
    $NodeName     = 'Top';
} else {
    $BaseInfoFile = 'dir';
    $NodeName     = 'Top';
}


The test that fails is the one marked "<===", but that is all I'm able to trace - I don't know perl, after all.

The fact remains: the package info2html is broken.


- -- Cheers,
       Carlos E. R.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)

iD8DBQFHZJOwtTMYHG2NR9URAhgkAJ4yvTxAdwhdIv1v3B5HdFf6ynQV/wCfcOzM
Z36o/pRHC1suDWMK5rRDjOA=
=W43f
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to