I sent this a day or so back, but it didn't get through - resending ...

I'm going to make some comments here - that are possibly misguided ...

Firstly, if you just type 'wwwman', you get a copyright message which
includes 1998, 1999 Arachne Labs and 1999 Bernhard Eriksson. If the
source you have isn't the right one, perhaps Bernie has the right source?

Secondly, there is at least one other problem with 'wwwman' that no
one has mentioned - it doesn't work with big directories.

Finally, I'm not entirely sure what this "cacheindex" feature is ... but
anyhow, shouldn't 'wwwman' be able to tell if the cache of the directory
listing is current before using it? I invariably have to "refresh/reload"
anything 'wwwman' shows me, because too often it's outdated and
I can't trust it.

Regards,
Joe.

> -----Original Message-----
> From: Glenn McCorkle [SMTP:[EMAIL PROTECTED]]
> Sent: Sunday, April 07, 2002 12:56 PM
> To:   [EMAIL PROTECTED]
> Subject:      Re: wwwman.cpp (was Re: Comments?)
> 
> On 7 Apr 2002 01:35:21 -0000, [EMAIL PROTECTED] wrote:
> 
> > wrote:
> >>> wouldnt a new rewrite from scratch be the best?
> >> Why a complete rewrite. ???
> 
> > I thought it was a mess...
> 
> Yes, it's a mess.
> 
> But it works. ;-)
> 
> >> AFAIK,
> >> The only thing that doesn't work is "cacheindex".
> > AFAIK,ME2.
> 
> >> But, the major problem is:
> >> We don't have the correct copy of wwwman.cpp
> > Why not???
> 
> I don't know why.
> The correct one seems to have been lost. :(
> 
> >> When compiled....
> >> The cacheindex feature is incompatable with *all* versions of A.
> 
> > If i have understood the source correctly, then the
> > problem resides in;  struct HTTPrecord{}
> > Which is best to copy from the arachne source where it also must
> exist...
> 
> That's the second thing I tried.
> (first was to change "stringsize" from 40 to 48)
> 
> No luck.... still does not work.
> 
> /* old format
> struct HTTPrecord
> {
>  char URL[URLSIZE];    // Uniform Resource Locator
>  int x;                // coordinates where the document was last
> displayed
>  long y;               //
>  long size;            // size in bytes
>  char knowsize;        // logical - size is valid
>  char mime[STRINGSIZE];// mime type
>  char locname[80];     // full filename (after conversion to
> TXT,HTM,GIF,BMP)
>  char rawname[80];     // full filename (before conversion)
>  int handle;           // file handle
>  long lastseen;        // last seen time
>  char postflag;        // it is result of operation post
> }
> */
> 
> //new format (from cache.h in ASRC170)
> struct HTTPrecord
> {
>  char URL[URLSIZE];    // Uniform Resource Locator
>  int x;                // coordinates where the document was last
> displayed
>  long y;               //
>  long size;            // size in bytes
>  char knowsize;        // logical - size is valid
>  char mime[STRINGSIZE];// mime type
>  char locname[80];     // full filename (after conversion to
> TXT,HTM,GIF,BMP)
>  char rawname[80];     // full filename (before conversion)
>  int handle;           // file handle
>  long lastseen;        // last seen time
>  char dynamic;         // document is dynamic
> }
>  cacheitem;
> 
> 
> 
> 
> --
>  Glenn
>  http://arachne.cz/
>  http://www.delorie.com/listserv/mime/
>  http://www.angelfire.com/id/glenndoom/download.htm
>  http://www.thispagecannotbedisplayed.com/

Reply via email to