On 3 Apr 2002, Jered Floyd wrote:
First, the fix; make imap-gssapi-open match imap-kerberos4-open in
this way:
...
- (setq imap-client-eol "\n")
+ (setq imap-client-eol "\n"
+ imap-calculate-literal-size-first t)
This has been fixed in Oort Gnus, I recomend that the patch be applied to
XEmacs as well.
Oh, by the way, remember how I said that imtest uses fgets()? It
uses
a 2k buffer there. Which means that if you ever try to send a line
longer than 2K, imtest will insert spurious newlines in it, and you're
just fucked.
It depends on your OS, on IRIX the buffer is 256 characters which makes
things rather unusable.
However, recent Cyrus IMAPD imtest uses some other approach, so it works
better. Please try it. (I don't remember whether the approach was to not
use fgets() or set the terminal into returning character-by-characters
instead of line-by-line.)
Isn't this fun?
RMS seems to not like integrating authentication/encryption into core
Emacs, so the situation will not improve. It will likely get worse as new
incompatible versions of the external programs are released.