[REBOL] Re: pop problems
From: gscottjones:mchsi at: 17-Oct-2002 16:09
From: "Graham Chiu"
...
> Interestingly it is again from the same person ( on a
> yahoogroups mailing list ). So, there is something about
> her messages that exposes a problem with the pop scheme.
>
> More debugging to do ...
Hi, Graham,
Isn't it fun to debug a difficult to reproduce problem?
;-)
I was trying to create errors last night and this morning, but was only
successful
once, so it is hard to reproduce the problem while trying
different things.
It may be totally obvious to you, so apologies in advance, but some of the
things I was trying, in order to see where problems may lies, is to have the
function print every line, like the following:
read-til-dot: func [port buf][
while [(line: system/words/pick port/sub-port 1) <> "."] [
print line
insert tail buf line
insert tail buf newline
]
buf
]
Similarly, I telnet-ed to my mail server on port 110 then used something
like the following to get to a message 1. It also prints everything up to
the single period on a line.
USER yourname
PASS yourpass
LIST
RETR 1
If you find the problem, I would certainly be interested in hearing what it
is. Good luck.
--Scott Jones