[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: nntp-open-via-rlogin-and-telnet - "Denied server"
From: |
Reiner Steib |
Subject: |
Re: nntp-open-via-rlogin-and-telnet - "Denied server" |
Date: |
Tue, 08 Nov 2005 22:23:51 +0100 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
On Sat, Nov 05 2005, Mark Carroll wrote:
> In article <P5f*x4U2q@news.chiark.greenend.org.uk>,
> Mark Carroll <markc@chiark.greenend.org.uk> wrote:
> (snip)
>> (nntp-via-rlogin-command-switches '("-C" "-t" "-e" "none"))
> (snip)
>
> Solved it! That quote shouldn't be there. The 6.2.1.2 Indirect
> Functions section of the Gnus Manual had quotes around the string that
> confused me. (-:
Well, the quotes are printed around almost all literal examples, see
(info "(texinfo)samp").
But maybe we should add an example with ssh to (info "(gnus)Example
Methods")?
--8<---------------cut here---------------start------------->8---
Here's an example for an indirect connection:
@lisp
(setq gnus-select-method
'(nntp "indirect"
(nntp-open-connection-function nntp-open-via-rlogin-and-telnet)
(nntp-via-address "intermediate.host.example")
(nntp-address "the.real.nntp.host")
(nntp-via-rlogin-command "ssh")
(nntp-via-rlogin-command-switches ("-C" "-t" "-e" "none"))
(nntp-end-of-line "\n")))
@end lisp
--8<---------------cut here---------------end--------------->8---
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/