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

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

Re: Using tramp to connect to a remote emacs session


From: Suvayu Ali
Subject: Re: Using tramp to connect to a remote emacs session
Date: Thu, 03 Sep 2009 20:17:27 -0700
User-agent: Thunderbird 2.0.0.23 (X11/20090817)

Hi Anselm,

Anselm Helbig wrote:
At Thu, 03 Sep 2009 09:06:16 -0700,
Suvayu Ali <fatkasuvayu+linux@gmail.com> wrote:
Thanks for the very clear explanation Pete. :) I had a hunch it is something like X-forwarding. I don't really like to do X-forwarding, the interface is usually very unresponsive. I would rather go with `emacs -nw'.

If you want to connect to a remote emacs but don't want to do X
forwarding, then you can do either
  - start emacs with the --daemon option on the remote host; you can
    now connect to the running emacs instance with `emacsclient -t'
    which will give you an emacs terminal frame. Which will, of
    course, work over ssh as well. You can still get a X frame if you
    like by not using -t. This requires Emacs 23 to work.

  - the obvious solution: use GNU screen or a similar tool (dtach,
    tmux, ...), start your console mode emacs in there and reconnect
    as necessary. Works with any version of emacs, obviously.


Sorry for going OT, I looked into screen after your post. Isn't it almost the same as any terminal emulators available on GNU/Linux systems? (xfce4-terminal, konsole, gnome-terminal ...) What are the advantages offered by screen over a regular ssh session in one of these terminal emulators?

--
Suvayu

Open source is the future. It sets us free.




reply via email to

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