From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/66611 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general Subject: Re: nntp.el: netcat Date: Mon, 31 Mar 2008 13:09:33 +0900 Organization: Emacsen advocacy group Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp X-Trace: ger.gmane.org 1206936606 14910 80.91.229.12 (31 Mar 2008 04:10:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 31 Mar 2008 04:10:06 +0000 (UTC) Cc: ding@gnus.org, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 31 06:10:37 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JgBLw-00075d-Mc for ged-emacs-devel@m.gmane.org; Mon, 31 Mar 2008 06:10:36 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JgBLK-00063v-Le for ged-emacs-devel@m.gmane.org; Mon, 31 Mar 2008 00:09:58 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JgBLG-00063h-AI for emacs-devel@gnu.org; Mon, 31 Mar 2008 00:09:54 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JgBLF-00063O-6x for emacs-devel@gnu.org; Mon, 31 Mar 2008 00:09:53 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JgBLF-00063L-2m for emacs-devel@gnu.org; Mon, 31 Mar 2008 00:09:53 -0400 Original-Received: from orlando.hostforweb.net ([216.246.45.90]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JgBLF-0004ho-4Q for emacs-devel@gnu.org; Mon, 31 Mar 2008 00:09:53 -0400 Original-Received: from [66.225.201.151] (port=33147 helo=mail.jpl.org) by orlando.hostforweb.net with esmtpa (Exim 4.68) (envelope-from ) id 1JgBL8-00028g-0r; Sun, 30 Mar 2008 23:09:46 -0500 X-Hashcash: 1:20:080331:monnier@iro.umontreal.ca::VtPDlC1hq4dWC4Uz:0000000000000000000000000000000000000AHJT X-Hashcash: 1:20:080331:ding@gnus.org::AB9onxII3PjaqtNO:00004M2r X-Hashcash: 1:20:080331:emacs-devel@gnu.org::dgceZ8Eq6kHI26fM:0000000000000000000000000000000000000000003Hsq X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:/exjyCvuIgkFMe0E86c15fXbYvg= X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - orlando.hostforweb.net X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:94015 gmane.emacs.gnus.general:66611 Archived-At: >>>>> Stefan Monnier 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,