Re: !Run always open

2010-07-13 Thread Mike Hobbs
In message <62c4bd3551.old_coas...@old_coaster.yahoo.co.uk> Tony Moore 
wrote:

> On 12 Jul 2010, Mike Hobbs  wrote:

>> This has been bugging me for a while but its very minor...
>>
>> !NetSurf.!Run is always open whilst running NS. This means my backup
>> (to propagate new versions to another machine via USB memory)
>> complains.

> Maybe I misunderstand the problem, but why not quit NetSurf before you
> try to backup?

To answer this and other comments and suggestions:
 1 The 'backup' tool I use is DirSync and its extremely useful
but it doesn't seem to be able to copy files that are open
(even though RISC OS does allow multiple opens for read)
 2 I don't have the luxury of changing the way DirSync works
and the author has stopped maintaining it. Although I
offered to continue to to maintain it, that suggestion fell
on deaf ears.
 3 I could close NetSurf before syncing directories but that is
little different from having to dismiss an error box - it
needs manual intervention. NS is running almost 24x7 too.
 4 I can (and do) edit the !Run file to allow it to close after
NS starts but its a nuisance when updating NS regularly.
 5 Integrity of the backup is not an issue because its just a
NS file that cab be easily recovered from elsewhere, but,
whilst DirSync can ignore directories it can't be told to
ignore files. See 2 above.
 6 The suggestion to get the NS binary to remove the fonts on
exit would be most convenient, or simply don't bother to
remove them at all.  This is what I'd like implemented.


-- 
Mike Hobbs



Re: !Run always open

2010-07-13 Thread dave higton
Quoting Mike Hobbs :

> In message <62c4bd3551.old_coas...@old_coaster.yahoo.co.uk> Tony Moore 
> wrote:
> 
> > On 12 Jul 2010, Mike Hobbs  wrote:
> 
> >> This has been bugging me for a while but its very minor...
> >>
> >> !NetSurf.!Run is always open whilst running NS. This means my backup
> >> (to propagate new versions to another machine via USB memory)
> >> complains.
> 
> > Maybe I misunderstand the problem, but why not quit NetSurf before you
> > try to backup?
> 
> To answer this and other comments and suggestions:
>  1 The 'backup' tool I use is DirSync and its extremely useful
> but it doesn't seem to be able to copy files that are open
> (even though RISC OS does allow multiple opens for read)
>  2 I don't have the luxury of changing the way DirSync works
> and the author has stopped maintaining it. Although I
> offered to continue to to maintain it, that suggestion fell
> on deaf ears.
>  3 I could close NetSurf before syncing directories but that is
> little different from having to dismiss an error box - it
> needs manual intervention. NS is running almost 24x7 too.
>  4 I can (and do) edit the !Run file to allow it to close after
> NS starts but its a nuisance when updating NS regularly.
>  5 Integrity of the backup is not an issue because its just a
> NS file that cab be easily recovered from elsewhere, but,
> whilst DirSync can ignore directories it can't be told to
> ignore files. See 2 above.
>  6 The suggestion to get the NS binary to remove the fonts on
> exit would be most convenient, or simply don't bother to
> remove them at all.  This is what I'd like implemented.

Do you /have/ to have NS running 24/7?

One option may be to have a backup script, which closes NS (and
anything else that may be necessary) before running DirSync.  I
did a similar thing a couple of years or so ago, though using a
Copy rather than DirSync.  I needed to close down Messenger too.

You could even get the script to run NS up again afterwards.

Dave





Re: !Run always open

2010-07-13 Thread David J. Ruck

On 13/07/2010 10:21, Mike Hobbs wrote:

In message<62c4bd3551.old_coas...@old_coaster.yahoo.co.uk>  Tony Moore
wrote:

  6 The suggestion to get the NS binary to remove the fonts on
 exit would be most convenient, or simply don't bother to
 remove them at all.  This is what I'd like implemented.



That is dangerous, as it leaves invalid locations on the font path 
should NetSurf be moved or deleted.


Of course a better solution would be not to store fonts inside an 
application directory, but supply them in a !Fonts to be merged at 
install time.


--
David J. Ruck
email: dr...@druck.org.uk
phone: +44(0)7974 108301




Re: !Run always open

2010-07-13 Thread Rob Kendrick
On Tue, 13 Jul 2010 12:07:53 +0100
"David J. Ruck"  wrote:

> Of course a better solution would be not to store fonts inside an 
> application directory, but supply them in a !Fonts to be merged at 
> install time.

But this complicates the installation procedure (which appears to be
complicated enough given how much difficulty people have), and leaves
an otherwise useless font loaded, bloating font selection menus, even
when NetSurf is not running.

B.