DOpus (111/216)

From:Neil Bothwick
Date:8 Oct 2000 at 09:55:39
Subject:Re: [D5] Re: Shortened shown filenames

Niels de Koning said,

>> Info to Neil Bothwick: Does your Arexx ClearListerCache.dopus5 only
>> work with Hotlist.module? It really doesn´t work here...

No, it's got nothing to do with the module that pened the lister in the
first place. Did you install the fixed version, the first upload was
incomplete.

> What Neils script does is close the current lister and create a new
> lister in its place, but I haven't tested it myself. I thought myself
> that the listercache was not related to one single lister in DOpus, but
> to ALL OPEN listers.

So did I, but closing and opening does appear to cure some problems.

> But cleaning the directory-caches IS the solution I use for this
> problem. Whenever I suffer from those shortened filenames I have to
> issue a "FreeChaches" command to solve the problem. It is important
> though that NONE of the currently open listers show the directory with
> the shortened filenames, because if this were the case the directory
> would not be flushed from the caches which would mean the problem will
> not be solved. When I access the directory after the caches are freed,
> Dopus has to re-read the directory and everything is fine again.

This is what I used to do, but it meant selecting the parent, freeing
the caches and selecting the directory again. I've now added cache
flushing to the script. Add a 'command freecaches' between the lister
close and lister open lines.

Neil



Neil Bothwick - New Media Editor, Amiga Active Magazine
Connected via Wirenet - http://www.wire.net.uk
The UK's first Amiga-only internet access provider
---
RAM = Rarely Adequate Memory



Email majordomo@lss.com.au with 'help' in the body for help.
Members posting binaries to the mailing list will be removed!