Gnus development mailing list
 help / color / mirror / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
Subject: Re: netcat supported in nntp-open-via-rlogin-and-telnet?
Date: Mon, 12 Apr 2004 16:29:18 +0900	[thread overview]
Message-ID: <b9yisg5irht.fsf@jpl.org> (raw)
In-Reply-To: <87k70m5epf.fsf@dod.no>

>>>>> In <87k70m5epf.fsf@dod.no>
>>>>>	Steinar Bang <sb@dod.no> wrote:

> I guess splitting the function will make the simplest code, since the
> behaviour of netcat and telnet are so dissimilar.

I've installed the nntp-open-via-rlogin-and-netcat function and
new server variables nntp-netcat-command and nntp-netcat-switches.
Those variables default to "nc" and nil respectively.

This article is posted to the gnus.ding newsgroup by the
following method:

(nntp "quimby2"
      (nntp-address "news.gnus.org")
      (nntp-end-of-line "\r\n")
      (nntp-open-connection-function nntp-open-via-rlogin-and-netcat)
      (nntp-via-address "intermediate host")
      (nntp-netcat-command "/home/yamaoka/bin/nc")
      (nntp-via-rlogin-command "ssh")
      (nntp-via-rlogin-command-switches ("-C" "-e" "none")))

Specifying nntp-end-of-line and nntp-netcat-command may be
needless because of the default values.  Also
nntp-via-rlogin-command-switches may not need to be specified
since the "-t" option is not required.

I will maintain the info document later.
-- 
Katsumi Yamaoka <yamaoka@jpl.org>



  reply	other threads:[~2004-04-12  7:29 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-23  9:10 Problems using nntp-open-via-rlogin-and-telnet Steinar Bang
2004-03-23 11:19 ` Katsumi Yamaoka
2004-03-23 12:28   ` Steinar Bang
2004-04-10 20:24     ` How to debug nntp-open-via-rlogin-and-telnet? Steinar Bang
2004-04-10 20:32   ` netcat supported in nntp-open-via-rlogin-and-telnet? (Was: Problems using nntp-open-via-rlogin-and-telnet) Steinar Bang
2004-04-11  1:03     ` netcat supported in nntp-open-via-rlogin-and-telnet? Katsumi Yamaoka
2004-04-11 22:31       ` Steinar Bang
2004-04-12  7:29         ` Katsumi Yamaoka [this message]
2004-04-12  9:04           ` Katsumi Yamaoka
2004-04-13 10:28           ` Steinar Bang
2004-04-13 10:47             ` Katsumi Yamaoka
2004-04-13 20:34               ` Steinar Bang
2004-04-13 22:48                 ` Katsumi Yamaoka
2004-04-13 23:10                   ` Katsumi Yamaoka
2004-04-17 20:14                   ` Steinar Bang
2004-04-22 20:08                     ` Steinar Bang
2004-05-14 19:55           ` 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=b9yisg5irht.fsf@jpl.org \
    --to=yamaoka@jpl.org \
    /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).