AltME: R3 Protocols

Messages

GrahamC
What about using either INSERT or WRITE for other commands like UIDL, and TOP and RSET ?
Or, do you still prefer Query?
Andreas
TOP fits nicely into copy/part, I think
UIDL fits nicely into QUERY either way.
RSET is tough :)
GrahamC
and remove
Andreas
DELE is remove or remove/part
GrahamC
but you have to skip to the correct message first
Andreas
remove/part
GrahamC
easy enough to get wrong
Maxim
that's how remove works... it starts at current position, so it should be the same in doing port stuff.
GrahamC
but there's no concept of position in pop
Andreas
that's the problem with trying to press things into the port abstraction :)
maybe a pop3 scheme is better off with pretending to be positional (as in R2), but then you'll probably have to maintain a list of already deleted messages.
GrahamC
well then it becomes tricky
If you're at the 10th email, and you skip 10 but that includes 5 deleted ones ... you have to skip 15
Andreas
maintaining deleted state is a performance optimisation, no?
GrahamC
I guess it's just math
Andreas
you can always just in/decrement and try if you really are at a message or continue on
GrahamC
I mean it's a potential source of bugs
destructive ones at that

Last message posted 493 weeks ago.