From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Newsgroups: gmane.emacs.help Subject: Re: ssh question... Date: Tue, 19 Jun 2018 15:36:38 +0200 Message-ID: <20180619133638.GA20803@tuxteam.de> References: <741FDE4E-703F-4ADE-9BDD-8A6B3711F0FC@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; x-action=pgp-signed Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1529415324 8170 195.159.176.226 (19 Jun 2018 13:35:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 19 Jun 2018 13:35:24 +0000 (UTC) User-Agent: Mutt/1.5.21 (2010-09-15) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 19 15:35:20 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fVGn1-00022y-Pw for geh-help-gnu-emacs@m.gmane.org; Tue, 19 Jun 2018 15:35:19 +0200 Original-Received: from localhost ([::1]:42633 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVGp8-0008CL-Nj for geh-help-gnu-emacs@m.gmane.org; Tue, 19 Jun 2018 09:37:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53253) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVGoU-0008BD-Qm for help-gnu-emacs@gnu.org; Tue, 19 Jun 2018 09:36:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fVGoQ-0002WS-S0 for help-gnu-emacs@gnu.org; Tue, 19 Jun 2018 09:36:50 -0400 Original-Received: from mail.tuxteam.de ([5.199.139.25]:37891) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fVGoQ-0002UK-HV for help-gnu-emacs@gnu.org; Tue, 19 Jun 2018 09:36:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=From:In-Reply-To:Content-Transfer-Encoding:Content-Type:MIME-Version:References:Message-ID:Subject:To:Date; bh=Lgm1JeYQN2DnZKiOeIavJoximFStuHJaMbaMOtjTAjY=; b=oVfu5Z9tQW4Laz43I8mK02TTwtIIIU4wV6K1xuP2hg+ApIDnx5+6UTS7qqTfUQXY+gsKYHAoRiOHWQbRCD2lCpc0z/h0HOGCl8iJWm4O2fUaYSvUphg/g2Q+69Zb0WAzTF1bXv9tPxZ892jvIu1oxpkIXS1AxPfqk+VZ0pYPc49gvVGL3uZvHmJM3tB4tBf+lieRXb6Qd54QowXNWjy8gP19e2MRD0Dse+QUTKBy8SQkv/Zi1l/068/wpWKsTzqysMOwDbThoB4Pl9sqDs/kDd6/Iuc6yFtHs9myNJ4wbY7utV6r7d5aGYXS5dckFLhzMAwuKRdR7EWpfwwvW/SO5Q==; Original-Received: from tomas by mail.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1fVGoI-0005Yc-O8 for help-gnu-emacs@gnu.org; Tue, 19 Jun 2018 15:36:38 +0200 In-Reply-To: <741FDE4E-703F-4ADE-9BDD-8A6B3711F0FC@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 5.199.139.25 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:117221 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, Jun 19, 2018 at 08:26:59PM +0900, Jean-Christophe Helary wrote: > I'm wondering if the following is possible: > > Use emacs from my Mac, and use picolisp as the lisp executable to run with slime, but from my ssh'ed RaspberryPi... > > Basically, can I call an executable from an ssh session to a different machine ? This smells like an A/B question. First the A part (i.e. what you asked): As Loris said, the Org Mode trick is pretty nifty. The underlying machinery is Tramp, and you can get that without Org. Try the following: M-x cd RET then enter a directory in the remote machine: /ssh:me@remote.host:~ (you are prompted for a password, unless your ssh agent session is "open") and then invoke a shell M-x shell This shell will be on the remote host. Likewise if you invoke a shell from a buffer which is editing a file on the remote host (via Tramp). Now the B part (i.e. what you most probably want): https://common-lisp.net/project/slime/doc/html/Connecting-to-a-remote-lisp.html#Connecting-to-a-remote-lisp It seems to be possible to run the Slime (the Emacs side) <-> Swank (the Lisp side) connection over the network. I'd definitely try this first. Cheers - -- tomás -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlspBuYACgkQBcgs9XrR2kaD4gCdGbxbBVXR/vBA20MRdptIoDWb cosAnjlQF6lt4ROkdcKm2WwXfruOZ3Xk =ILwM -----END PGP SIGNATURE-----