Gnus development mailing list
 help / color / mirror / Atom feed
From: kai.grossjohann@uni-duisburg.de (Kai Großjohann)
Subject: Re: 'g' in the group buffer still very slow
Date: Mon, 09 Dec 2002 18:22:34 +0100	[thread overview]
Message-ID: <84of7vxg2t.fsf@lucy.cs.uni-dortmund.de> (raw)
In-Reply-To: <87hedn2su2.fsf@gmx.de>

Martin Rohde <martin.rohde@gmx.de> writes:

> Well, nntp-send-command looks, if there's an echo, and then deletes
> it. I don't understand most of the code in nntp-open-connection, so
> I don't know if anything of this patch makes sense. And I don't know
> how to test it, because i don't know how to force such a local echo.

If nobody steps forward to test it (I don't have the time, sadly),
then you'll need to find a way to do it yourself.  I'm not sure, but
you might be successful with using telnet to open a connection.

You could create a new server definition that uses telnet instead of
connecting directly.  See the variable nntp-open-connection-function
and the function nntp-open-telnet-stream, referenced from the
variable.  Maybe you can twiddle the telnet args such that echoing is
used?  You might wish to manually send stuff to the server in the
server buffer (" *server foo *nntpd*" or somesuch, mind the leading
space) using process-send-string.  Then you can see whether the
server echoes commands.  (I hope that the echo removal isn't done in
a process filter.)

> What this code does, is to send a "MODE READER" as a No-Op command,
> when the connection is established (I think ;), and then it looks,
> just like in nntp-send-command, if the command is echoed in the
> server-buffer. If so, it deletes it and sets nntp-delete-echo to t
> for future reference (I hope).

I'm afraid that spot is too early.  Some servers might require
authentication to log in.  Thinking...  Hm...  Oh!  It doesn't matter:
if the server requires authentication, then it just sends an error
message which is just as good for your purposes as a success message.

But "mode reader" is not a no-op, could that be a problem?
-- 
~/.signature is: umop ap!sdn    (Frank Nobis)



  reply	other threads:[~2002-12-09 17:22 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-21 20:16 Sebastian D.B. Krause
2002-07-26 12:45 ` Simon Josefsson
2002-07-26 12:52   ` Kai Großjohann
2002-12-08 18:00   ` Sebastian D.B. Krause
2002-12-08 19:45     ` Kai Großjohann
2002-12-08 20:28       ` Sebastian D.B. Krause
2002-12-08 23:33       ` Martin Rohde
2002-12-09  7:49         ` Kai Großjohann
2002-12-09 14:02           ` Martin Rohde
2002-12-09 17:22             ` Kai Großjohann [this message]
2002-12-09 22:38               ` Martin Rohde
2002-12-10 18:30                 ` Martin Rohde
2002-12-11  4:13                   ` kgreiner
2002-12-11 20:05                     ` Martin Rohde
2002-12-11 21:09                       ` kgreiner
2002-12-12 11:37                       ` Kai Großjohann
2002-12-13 15:41                         ` Martin Rohde
2002-12-13 16:24                           ` Kai Großjohann
2002-12-13 17:18                             ` Martin Rohde
2002-12-14 12:52                               ` Kai Großjohann
2002-12-14 14:11                                 ` Martin Rohde
2002-12-11  8:21                   ` Kai Großjohann
2002-12-09  8:36         ` Kai Großjohann

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=84of7vxg2t.fsf@lucy.cs.uni-dortmund.de \
    --to=kai.grossjohann@uni-duisburg.de \
    /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).