On Wed, 11 Dec 2002 18:37:39 +00, Bastiaan Edelman, PA3FFZ wrote:

> On Wed, 11 Dec 2002 00:24:07 -0400, Glenn McCorkle wrote:jQBx-�`

>> On Wed, 11 Dec 2002 01:38:51 +00, Bastiaan Edelman, PA3FFZ wrote:

>>> Hi Glenn,
>>>      I think you did not understand my question...
>>> I just want back my cache, not a temp cache which will be erased any
>>> time by leaving Arachne, but a cache that stays and can be deleted by F8
>>> if I want to.

> <snip>

>> Ok,
>> Does  the directory pointed to by this line in arachne.cfg exist?

>> CachePath .\cache\
> No, the first dot and \ were not there, I changed it to the above.
> (Is this a typo in 1.71?)

The .\ is not there by default in any version of Arachne that I checked.
(it's only there in my ACF file in v1.71;UE01... glennmcc.acf)<f>

It only seems to be needed for use on 'some' versions of Dos.
(yours is one those versions)<g>

Since .\ will not cause any problems even if a particular version
of Dos does not need it......
I will update the packages later this evening.

> Also set Cache2TEMP to NO.

> Now this is working well.

> ********************************************************************

> I have .JPG not converted to bmp but to .GIF and virtual screen enabled.
> Converting to BMP does not give a vertical scroll (x-axis) of the image
> but a JPG image does... and now the GIF is stored in the cache too.

> ********************************************************************

> There is a problem with black and white BMP-images => red box.
> This problem exists in all Arachne versions as far as I know.

> Would it be possible to convert BMP to GIF in Arachne... without an
> external program? Than this problem would also been solved.

No it would not be paosible without an external program.
(it would also require a re-write of the code to do anything with
 local BMPs other than to view them 'directly')

However, for 'remote' BMPs, this will do the job.

image/bmp >GIF|cjpeg.exe -colors 256 $1 -outfile bmp2gif.jpg
 | djpeg.exe -colors 256 bmp2gif.jpg>$2

image/x-bitmap >GIF|cjpeg.exe -colors 256 $1 -outfile bmp2gif.jpg
 | djpeg.exe -colors 256 bmp2gif.jpg>$2

We need both lines because some sites send content-type image/bmp while
others send image/x-bitmap

But I'm sorry to say that this will not work with those 2 color BMPs
(cjpeg only works with 8 bit and 24bit BMP files)

> ********************************************************************

>>>> Cache2Temp Yes
>>>> is only used for "local" files.

> Cache2TEMP No sends the files to cache dir

Correct.

And Cache2Temp Yes sends ('local' files only), to the %TEMP% or
%ARACHNETEMP% directory.
(remote files *always* go to the 'regular' cache directory)

> ************** I will look into the next matter now **************

>>>> When we exit Arachne... that arachne.tmp sub-directory will be
>>>> automatically emptied and removed.

>>>> --- from the bottom of arachne.bat ---

> I rem'ed out something do prevent deleting the cache in TEMP when I quit
> Arachne ... no luck. (No idea what $roura$ means)
> Would be nice to have the temp cache deleted at a (new) start of Arachne
> and I think that could be done by placing the delete codes to the start
> of Arachne.bat and not at the end.
> The files are indeed in the C:\TEMP\Arachne.tmp, I looked with F10.

> :end
> rem if exist $roura?.bat del $roura?.bat
> rem if exist %ARACHNETEMP%\$roura$.bat del %ARACHNETEMP%\$roura$.bat
> rem if exist %TEMP%\$roura$.bat del %TEMP%\$roura$.bat
> if exist *._$b del *._$b
> REM if exist %ARACHNETEMP%\*._$b del %ARACHNETEMP%\*._$b
> REM if exist %TEMP%\*._$b del %TEMP%\*._$b
> if exist ip-up.bat del ip-up.bat
> if exist ppp.log echo Type 'arachne -u' to terminate SLIP/PPP connection.
> if exist lock del lock
> if not exist %TEMP%\ARACHNE.TMP\*.* goto done
> for %%f in (%TEMP%\arachne.tmp\*.*) do del %%f
> rd %TEMP%\arachne.tmp>NUL
> :done
> echo.

As a said... the temp dir is only used for local files.
(files that are aleady on your hard drive, CDroms, diskettes.... etc...)

All remote files (D/Led from the net), are saved into the
regular cache directory, not into temp.

So there is never any reason to save those files in the temp dir.
(they are "temporary" files which are needed only for this session)

Here are some examples of what will be saved in temp.

The resulting HTM files created by insight.exe when we view CNM, TBS,
MES files.

The resulting BMPs from viewing c:\myfiles\whatever.jpg (or .PNG)
(in your case these will be GIFs instead of BMPs)

$roura?.bat (the temp fiole is created whenever we Alt+E out of Arachne.
(contains the 're-entry' commands to go back into Arachne
 when we 'exit' a Dos shel)

It will not contain any BMPs or GIFs from viewig JPGs or PNGs D/Led
from remote sites.

The resulting BMP or GIF from viewing http://www.you.com/me.jpg
will be save into the regular cache dir.


>>>> And of-coarse if all else fails. There's always RTFM. ;-)
>>>> file://doc/tempdir.htm
> This would be a good help for newbies to setup temp dir... but no
> details how to change or switch off caching to temp dir.

> Regards, Bastiaan

> BTW what means RTFM?

Read The Fine Manual. ;-)

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