Hello Steffen,

Here is a log from a session where I used ed as the external editor so as to be able to capture the entire session on one screen

#----------------------------------#
& mail <my address there>
Subject: test
Before editor
~e
14
a
In editor
Waiting
.
1,$p
Before editor
In editor
Waiting
wq
32
s-nail: IMAP write error: error:00000000:lib(0):func(0):reason(0)
(continue)
s-nail: There are new messages in the error message ring (denoted by ERROR),
s-nail:   which can be managed with the `errors' command
ERROR# ~p
-------
Message contains:
From: <my address here>
To: <my address there>
Subject: test

Before editor
~p
-------
Message contains:
From: <my address here>
To: <my address there>
Subject: test

Before editor
#------------------------------------#

The time between writing 'Waiting' and exiting with 'wq' was about an hour in this case. You can see that the material entered in the editor was lost following the IMAP write error. Since the error message that I get is different from the one that you get by sending alarm signals, I suggest that this error may not be the result of an alarm signal, but something else. I can speculate that the message is generated by the lines 766-767 in the file s-nail-14.9.22/src/mx/net-socket.c from the 14.9.22 tarball,

    766       snprintf(o, sizeof o, "%s write error",
    767          (sop->s_desc ? sop->s_desc : "socket"));

but, even if that is correct, I don't know what chain of events could get you to those lines.

Stephen Isard


Reply via email to