From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/56983 Path: main.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: netcat supported in nntp-open-via-rlogin-and-telnet? Date: Mon, 12 Apr 2004 16:29:18 +0900 Organization: Emacsen advocacy group Sender: ding-owner@lists.math.uh.edu Message-ID: References: <873c80yllq.fsf@dod.no> <87ekqvy3oy.fsf_-_@dod.no> <87k70m5epf.fsf@dod.no> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1081755021 12046 80.91.224.253 (12 Apr 2004 07:30:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 12 Apr 2004 07:30:21 +0000 (UTC) Original-X-From: ding-owner+M5523@lists.math.uh.edu Mon Apr 12 09:30:14 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BCvtW-0008P2-00 for ; Mon, 12 Apr 2004 09:30:14 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1BCvsr-0000IJ-00; Mon, 12 Apr 2004 02:29:33 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1BCvsn-0000IE-00 for ding@lists.math.uh.edu; Mon, 12 Apr 2004 02:29:29 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1BCvsn-00033L-6V for ding@lists.math.uh.edu; Mon, 12 Apr 2004 02:29:29 -0500 Original-Received: from quimby.gnus.org (quimby.gnus.org [80.91.224.244]) by justine.libertine.org (Postfix) with ESMTP id CB4B93A021B for ; Mon, 12 Apr 2004 02:29:28 -0500 (CDT) Original-Received: from news by quimby.gnus.org with local (Exim 3.35 #1 (Debian)) id 1BCvsm-0003M5-00 for ; Mon, 12 Apr 2004 09:29:28 +0200 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 30 Original-NNTP-Posting-Host: washington.hostforweb.net Original-X-Trace: quimby.gnus.org 1081754968 12900 69.61.11.2 (12 Apr 2004 07:29:28 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Mon, 12 Apr 2004 07:29:28 +0000 (UTC) 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.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:R4MIw/yHRVY+z2HPQKfeYAuwoFI= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:56983 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:56983 >>>>> In <87k70m5epf.fsf@dod.no> >>>>> Steinar Bang 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