Gnus development mailing list
 help / color / mirror / Atom feed
* can't get indirect nntp to work
@ 2002-11-08 15:09 Denys Duchier
  2002-11-08 15:56 ` Katsumi Yamaoka
  0 siblings, 1 reply; 3+ messages in thread
From: Denys Duchier @ 2002-11-08 15:09 UTC (permalink / 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




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-11-09 10:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-08 15:09 can't get indirect nntp to work Denys Duchier
2002-11-08 15:56 ` Katsumi Yamaoka
2002-11-09 10:31   ` Denys Duchier

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).