help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ssh question...


From: tomas
Subject: Re: ssh question...
Date: Tue, 19 Jun 2018 15:36:38 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

-----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-----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]