From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: pocmatos@gmail.com (Paulo J. Matos) Newsgroups: gmane.emacs.help Subject: Re: ERC through a gateway Date: Thu, 29 Apr 2010 09:09:32 +0100 Message-ID: References: <871vdzoeye.fsf@rimspace.net> <87wrvryrdz.fsf@rimspace.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1272528777 28275 80.91.229.12 (29 Apr 2010 08:12:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 29 Apr 2010 08:12:57 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Daniel Pittman Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 29 10:12:55 2010 connect(): No such file or directory Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O7Orc-00046x-8k for geh-help-gnu-emacs@m.gmane.org; Thu, 29 Apr 2010 10:12:52 +0200 Original-Received: from localhost ([127.0.0.1]:35528 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O7Orb-0004TP-E1 for geh-help-gnu-emacs@m.gmane.org; Thu, 29 Apr 2010 04:12:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O7OqF-0003MB-M3 for help-gnu-emacs@gnu.org; Thu, 29 Apr 2010 04:11:27 -0400 Original-Received: from [140.186.70.92] (port=49946 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O7OqE-0003KC-42 for help-gnu-emacs@gnu.org; Thu, 29 Apr 2010 04:11:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O7OqC-0006VN-6F for help-gnu-emacs@gnu.org; Thu, 29 Apr 2010 04:11:25 -0400 Original-Received: from cluster-d.mailcontrol.com ([85.115.60.190]:40156) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O7OqB-0006Ul-Ba for help-gnu-emacs@gnu.org; Thu, 29 Apr 2010 04:11:23 -0400 Original-Received: from rly41d.srv.mailcontrol.com (localhost.localdomain [127.0.0.1]) by rly41d.srv.mailcontrol.com (MailControl) with ESMTP id o3T8B53h016785 for ; Thu, 29 Apr 2010 09:11:05 +0100 Original-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by rly41d.srv.mailcontrol.com (MailControl) id o3T8ALgO012104 for ; Thu, 29 Apr 2010 09:10:21 +0100 Original-Received: from cameurexb01.EUROPE.ROOT.PRI ([193.128.72.68]) by rly41d-eth0.srv.mailcontrol.com (envelope-sender ) (MIMEDefang) with ESMTP id o3T88t22005454; Thu, 29 Apr 2010 09:10:21 +0100 (BST) Original-Received: from alma.europe.root.pri ([10.102.144.37]) by cameurexb01.EUROPE.ROOT.PRI with Microsoft SMTPSVC(6.0.3790.4675); Thu, 29 Apr 2010 09:09:33 +0100 In-Reply-To: <87wrvryrdz.fsf@rimspace.net> (Daniel Pittman's message of "Thu, 29 Apr 2010 11:33:12 +1000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-OriginalArrivalTime: 29 Apr 2010 08:09:33.0979 (UTC) FILETIME=[4D6DFEB0:01CAE773] X-Scanned-By: MailControl A_09_40_00 (www.mailcontrol.com) on 10.68.1.151 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:72863 Archived-At: Daniel Pittman writes: > >>> (defun dp/erc-via-ssh-and-netcat (name buffer host port) >>> "Establish a connection via ssh and netcat on the destination host" >>> (let ((process-connection-type nil) >>> (command (list "/usr/bin/ssh" host "nc" "-q" "1" host (int-to-string port)))) >>> (apply 'start-process name buffer command))) > > This uses ssh to connect to a remote machine, then tunnels TCP/IP to a remote > system using netcat. > So, you end up always needing a remote machine that you can ssh to that provides a way to do a direct tcp/ip connection, right? -- PMatos