On Sat, 07 Sep 2002 05:43:31 +0100GMT, Laurie L Proud wrote:

> On Sun, 01 Sep 2002 18:09:33 -0400, you wrote:

>> Built it, ran it.... Laurie likes Alt+Z so I set the screensaver
>> hotkey to 11264 (Alt+Z decimal value)

> Thank-you Oh Mighty one !

> Glenn, If the following requires serious work please disregard but
> if the screensaver has only 3 items, can we have 3 diferent colours
> i.e. RED BLUE YELLOW     or     RED BLUE GREEN

> Presently Arachne seems to select colo(u)rs at random from a selection
> with the likelyhood of 2 items the same colour.  It looks odd.
> actually 2 colours the same 80% of the time.

That shouldn't be too hard to do.

I'll let you know when it's done. ;-)

> Very relieved to read the busted CACHE.IDX has been fixed !

THAT one was a real BITCH to figure-out.
(lost count of how many 'sleepless nights' it took to fix it)

But when I finally found the problem.....
This is how easy it was to fix it.

--- very near the top of wwwman.cpp ---

long lastseen;        // last seen time
char postflag;        // it is result of operation post

-- and this line near the middle ---

if(sizeof(struct HTTPrecord)==len)
_____________________

--- the changes I made ---
//!!glennmcc: begin Apr 10, 2002
//'postflag' is now 'dynamic' and moved to before 'lastseen'
char dynamic;         // document is dynamic
// char postflag;     // it is result of operation post
long lastseen;        // last seen time
//!!glennmcc: end

//!!glennmcc: begin Apr 10, 2002
//must subtract 2 from 'len' to get the compatibility test to work
    if(sizeof(struct HTTPrecord)==len-2)
//!!glennmcc: end
__________________________

That's right... it was that simple.

Change 'postflag' to 'dynamic' and shift places so
that it comes before 'lastseen'.

_______________________________________

> Very many thanks for the work you have put into this project

Oh, you are most welcome.

And just in case you hadn't guessed.....

I LOVE doing this stuff. ;-)

BTW,

I hope you don't mind that this is being CCed to the lists.

Maybe we can 'kickstart' the rest of the members into doing some talking.
(or argueing, whichever the case may be)<g g g>

OK, come on now the rest of you 'C programmers' .......

Why did the lines need to be reversed to get it to work ????
(now they don't match the order over in the SRC code of core.exe)

And why do we need to subtract 2 for the test to work ????
(that does not match the length as written by core.exe)

'HTTPrecord / cacheitem' contains 11 "fields".

Core.exe writes them into cache.idx      1,2,3,4,5,6,7,8,9,10,11
Wwwman.exe now reads them from cache.idx 1,2,3,4,5,6,7,8,9,11,10

Wwwman.exe now looks for a length of 2 bytes less than core.exe
used so that it can to test for 'version compatibility'.

Logic says that it can't work.... but it DOES work (perfectly).

Figure that one out. <g g g g>

-- 
 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