From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.devel Subject: Re: Back to emacsclient/server Date: Tue, 24 Oct 2006 16:40:55 +0100 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1161704893 3164 80.91.229.2 (24 Oct 2006 15:48:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 24 Oct 2006 15:48:13 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 24 17:48:12 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GcOUn-0000Fc-Cy for ged-emacs-devel@m.gmane.org; Tue, 24 Oct 2006 17:47:21 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GcOUm-0004FP-FH for ged-emacs-devel@m.gmane.org; Tue, 24 Oct 2006 11:47:16 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GcOUQ-0004Ek-KZ for emacs-devel@gnu.org; Tue, 24 Oct 2006 11:46:54 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GcOUN-0004CS-Tt for emacs-devel@gnu.org; Tue, 24 Oct 2006 11:46:54 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GcOUN-0004CM-JK for emacs-devel@gnu.org; Tue, 24 Oct 2006 11:46:51 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GcOUN-0001GG-Co for emacs-devel@gnu.org; Tue, 24 Oct 2006 11:46:51 -0400 Original-Received: from root by ciao.gmane.org with local (Exim 4.43) id 1GcOSc-00086F-D7 for emacs-devel@gnu.org; Tue, 24 Oct 2006 17:45:04 +0200 Original-Received: from fw01.cmbrmaks.akamai.com ([80.67.64.10]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 24 Oct 2006 17:45:02 +0200 Original-Received: from tzz by fw01.cmbrmaks.akamai.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 24 Oct 2006 17:45:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 27 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: fw01.cmbrmaks.akamai.com X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:F9vHXwAgax3MGgH0c+0c9MGTZjk= 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:61103 Archived-At: On 24 Oct 2006, monnier@iro.umontreal.ca wrote: >> This may seem like an offbeat suggestion, but I think Emacs could >> behave like a SSH daemon for emacsclient/server interactions.. > > You mean: no change to server.el, and simply change emacsclient such that > it runs emacsclient on the server host via ssh? > > I used to do that with a script and it's trivial to do, indeed. No, I mean: 1) on the client side ssh tzz@hostname:4567 '(function)' 2) on the Emacs side, running on `hostname' with IP `ip' ; bind to ip:4567 (sshd ip 4567) ; add a user for remote execution, with the following keys (sshd-add-keys "tzz" "~/.ssh/identity" "~/.ssh/id_dsa") So emacsclient would be gone, and server.el would be sshd.el or something similar. Ted