crashes after being out of desktop
Tom Hughes
tom at compton.nu
Wed Apr 21 16:40:16 BST 1999
In message <3afc45f648.rav21 at gromit.mk-net.demon.co.uk>
Richard van der Hoff <rav21 at cam.ac.uk> wrote:
> I notice that RemoteNB still crashes after a period out of the desktop, so
> that RemoteNB does not get polled, and the IMAP connection times out.
It is nothing to do with the connection timing out unless you're
talking to a server which violates the spec. I am very careful to
make sure that I ping the server frequently enough to prevent
timeouts.
Your problems are (as far as I know) all down to you using Pine
to access the mailbox at the same time as RemoteNB. The UW imapd
using the default unix mailbox format does not like this (it's
not imapd's fault really, it's the naff unix mailbox format).
> I realise that it's a difficulty, but it seems a bit messy for it just to
> die; would it not be possible (Tom) to detect that the connection has been
> lost and reopen it?
The latest versions have code in them specifically to avoid the
problems you were having and this is the first I've heard that
it isn't working.
The change I made was to open the mailbox for read only except
for the brief periods when I need write access (such as when
deleting a message). This should stop the connection being closed
when another program asks for write access which is the problem
you were having.
In general it is not possible just to reopen the connection as
you would have to be able to restore the exact state of the
previous connection which can be difficult if you're in the middle
of a sequence of commands.
Tom
--
Tom Hughes (tom at compton.nu)
http://www.compton.nu/
...I was an atheist until I realised I was God.
More information about the remotenb
mailing list