Gnus development mailing list
 help / color / mirror / Atom feed
From: Steinar Bang <sb@dod.no>
Subject: Re: Connecting to cyrus using nnimap-stream type shell
Date: Tue, 25 Jun 2002 07:57:26 +0200	[thread overview]
Message-ID: <87d6ufaojd.fsf@home.lan> (raw)
In-Reply-To: <Pine.LNX.4.44.0204221249310.3349-100000@yxa.extundo.com>

>>>>> Simon Josefsson <jas@extundo.com>:

>> It seems to become stuck in the 
>> "Waiting for response from doohan.somewhere.org...done"
>> line.  The rest of the output is after I took a C-g.

> Ok.  The problem is finding the server greeting then, possibly it is
> messed up by other things (CRLF, telnet greeting, etc).  Edebugging the
> function and peeking in the *nnimap* server buffer should give information
> to why the regexp doesn't match the text in the buffer.

OK.  Edebugging imap-shell-open:

imap.el:
	(when process
=>	  (while (and (memq (process-status process) '(open run))

buffer:
Trying 127.0.0.1...
Connected to doohan.
Escape character is '^]'.
* OK doohan Cyrus IMAP4 v1.5.19 server ready

imap.el:
		      (goto-char (point-max))
=>		      (forward-line -1)

buffer: cursor is now at the start of the line:
* OK doohan Cyrus IMAP4 v1.5.19 server ready

imap.el:
    (if done
	(progn
	  (message "imap: Opening IMAP connection with `%s'...done" cmd)
	  done)
      (message "imap: Opening IMAP connection with `%s'...failed" cmd)
=>     nil)))
(skips out of the function, I think)

buffer:
* CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS X-NON-HIERARCHICAL-RENAME NO_ATOMIC_RENAME UNSELECT X-NETSCAPE
1 OK Completed
(cursor on the first line)

And then it is stuck in 
 "Waiting for response from doohan.somewhere.org...done"
Nothing seems to happen, and C-g starts it working on the next server
to be opened.





  reply	other threads:[~2002-06-25  5:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-19 15:26 Steinar Bang
2002-04-19 15:35 ` Simon Josefsson
2002-04-22  9:29   ` Steinar Bang
2002-04-22 10:52     ` Simon Josefsson
2002-06-25  5:57       ` Steinar Bang [this message]
2002-06-25  9:01         ` Simon Josefsson
2002-06-25 12:41           ` Steinar Bang
2002-06-28 12:35             ` Steinar Bang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d6ufaojd.fsf@home.lan \
    --to=sb@dod.no \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).