Gnus development mailing list
 help / color / mirror / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: ding@gnus.org, emacs-devel@gnu.org
Subject: Re: nntp.el: netcat
Date: Mon, 31 Mar 2008 13:09:33 +0900	[thread overview]
Message-ID: <b4m3aq7356q.fsf@jpl.org> (raw)
In-Reply-To: <jwv4paqb2yt.fsf-monnier+emacs@gnu.org>

>>>>> Stefan Monnier <monnier@iro.umontreal.ca> wrote:

>> The function name `nntp-open-via-netcat' found in the doc string
>> of `nntp-open-telnet-stream' is not proper for it.  Because...

> I'll trust your judgment on that.  All I wanted to do was to make sure
> we propose to use netcat before telnet since I've had several problems
> with telnet.

I see.  And thanks for improving nntp.el and gnus.texi.

>>|      (nntp "outside"
>>|            (nntp-pre-command "runsocks")
>>|            (nntp-open-connection-function nntp-open-via-netcat)
>>|            (nntp-address "the.news.server"))

>> Have you verified it?

> No, indeed.

Google shows the examples for "runsocks nc", so it will probably
be valid.  Though I'm not sure that it is applicable to various
versions of netcat (the typical ones are the BSD version and the
GNU version).

>> In addition, the arguments ("-e" "none") passed to ssh seems to
>> be necessary:

>> ,---- SSH(1) ----
>>| -e escape_char
>>|         Sets the escape character for sessions with a pty (default: ‘~’).
                                                          ===
I noticed I've overlooked it just after sending the last message.

> No, because the ssh connection will not use a pty (that was necessary
> (and problematic) for telnet, but luckily it's not needed for netcat).

Thanks for clarifying it.

Regards,




  reply	other threads:[~2008-03-31  4:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1JZX3Z-0004w7-P3@cvs.savannah.gnu.org>
2008-03-13 14:12 ` nntp.el: netcat (was: Changes to emacs/lisp/gnus/nntp.el,v) Reiner Steib
2008-03-14 15:01   ` nntp.el: netcat Stefan Monnier
2008-03-27  7:54     ` Katsumi Yamaoka
2008-03-29  3:55       ` Stefan Monnier
2008-03-31  4:09         ` Katsumi Yamaoka [this message]
2008-03-31 13:59           ` Stefan Monnier

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=b4m3aq7356q.fsf@jpl.org \
    --to=yamaoka@jpl.org \
    --cc=ding@gnus.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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).