From: Denys Duchier <Denys.Duchier@ps.uni-sb.de>
Subject: can't get indirect nntp to work
Date: Fri, 08 Nov 2002 16:09:01 +0100 [thread overview]
Message-ID: <isu1is2j5e.fsf@elk.ps.uni-sb.de> (raw)
I have been trying to connect to the news server at my previous place
of employment by using ssh to go through my account there, but I can't
get it to work. Here is the setting I am using:
(setq gnus-select-method
'(nntp "news.ps.uni-sb.de"
(nntp-address "news.ps.uni-sb.de")
(nntp-via-rlogin-command "ssh")
(nntp-via-rlogin-command-switches nil)
(nntp-via-user-name "duchier")
(nntp-via-address "elk.ps.uni-sb.de")
(nntp-open-connection-function nntp-open-via-rlogin-and-telnet)))
when opening the connection, it seems to block in nntp-wait-for-string
when executing accept-process-output. If I execute:
ssh -l duchier elk.ps.uni-sb.de telnet -8
interactively at the shell, then I can successfully give it further
commands to interact with the nntp server. However:
ssh -l duchier elk.ps.uni-sb.de telnet -8 < FOO
where FOO contains the same commands, only _seems_ to execute the 1st
one, namely the open and then closes the connection.
I just don't get it! what am I doing wrong?
Cheers,
PS:
BTW, the nntp-first wait-for-string should probably be:
(nntp-wait-for-string "^\r?telnet")
instead:
(nntp-wait-for-string "^r?telnet")
--
Dr. Denys Duchier Denys.Duchier@ps.uni-sb.de
Forschungsbereich Programmiersysteme (Programming Systems Lab)
Universitaet des Saarlandes, Geb. 45 http://www.ps.uni-sb.de/~duchier
Postfach 15 11 50 Phone: +49 681 302 5618
66041 Saarbruecken, Germany Fax: +49 681 302 5615
next reply other threads:[~2002-11-08 15:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-08 15:09 Denys Duchier [this message]
2002-11-08 15:56 ` Katsumi Yamaoka
2002-11-09 10:31 ` Denys Duchier
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=isu1is2j5e.fsf@elk.ps.uni-sb.de \
--to=denys.duchier@ps.uni-sb.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).