* How to connect to remote emacs session
@ 2008-05-17 9:54 reader
2008-05-17 11:04 ` Thierry Volpiatto
0 siblings, 1 reply; 9+ messages in thread
From: reader @ 2008-05-17 9:54 UTC (permalink / raw)
To: help-gnu-emacs
I know there is quite a lot of information on how to connect to remote
email sessions but a lot of it is old I think.
I wondered if some could post a brief outline of how that is done.
Just the needed steps and tools involved.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: How to connect to remote emacs session
2008-05-17 9:54 How to connect to remote emacs session reader
@ 2008-05-17 11:04 ` Thierry Volpiatto
2008-05-18 4:10 ` reader
0 siblings, 1 reply; 9+ messages in thread
From: Thierry Volpiatto @ 2008-05-17 11:04 UTC (permalink / raw)
To: reader; +Cc: help-gnu-emacs
reader@newsguy.com writes:
> I know there is quite a lot of information on how to connect to remote
> email sessions but a lot of it is old I think.
>
> I wondered if some could post a brief outline of how that is done.
> Just the needed steps and tools involved.
>
>
>
If you use multi-tty version of emacs and a server is running on this
emacs , you can use:
,----
| emacsclient -t
`----
To run a server on emacs:
,----
| (server-start)
`----
--
A + Thierry
Pub key: http://pgp.mit.edu
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: How to connect to remote emacs session
2008-05-17 11:04 ` Thierry Volpiatto
@ 2008-05-18 4:10 ` reader
2008-05-18 8:19 ` Peter Dyballa
0 siblings, 1 reply; 9+ messages in thread
From: reader @ 2008-05-18 4:10 UTC (permalink / raw)
To: help-gnu-emacs
Thierry Volpiatto <thierry.volpiatto@gmail.com> writes:
> reader@newsguy.com writes:
>
>> I know there is quite a lot of information on how to connect to remote
>> email sessions but a lot of it is old I think.
>>
>> I wondered if some could post a brief outline of how that is done.
>> Just the needed steps and tools involved.
>>
>>
>>
> If you use multi-tty version of emacs and a server is running on this
> emacs , you can use:
> ,----
> | emacsclient -t
> `----
> To run a server on emacs:
>
> ,----
> | (server-start)
> `----
I guess I'm not understanding how this is supposed to work. I'm
looking for a way to ssh into a box1 running emacs-23 with the server
running, then in my ssh terminal box2, I want to use emacsclient to
edit something or more likely I'd like be able to to connect to a gnus
session box1 emacs is having.
Or at least be able to turn off the gnus session with something
besides kill -TERM $pidtoemacs
Box1 is running emacs-23 the server and gnus
The best way I have to test it right now is
from box1 ssh to box2. fron box2 ssh back to box1 and in the ssh
session try to test this out.
What happens when I run emacsclient -t somefile is I get a horrible
puce background with wheat foreground and syntax coloring that is
useless and partially invisible due to poor choice of colors.
Will I have to adjust every detail or is there some global way to tell
emacs to use sensible colors for terminal imulation window.
And how do I get to the gnus session?
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: How to connect to remote emacs session
2008-05-18 4:10 ` reader
@ 2008-05-18 8:19 ` Peter Dyballa
2008-05-18 14:07 ` reader
0 siblings, 1 reply; 9+ messages in thread
From: Peter Dyballa @ 2008-05-18 8:19 UTC (permalink / raw)
To: reader; +Cc: help-gnu-emacs
Am 18.05.2008 um 06:10 schrieb reader@newsguy.com:
> And how do I get to the gnus session?
Via the DISPLAY environment variable?
--
Greetings
Pete
When Richard Stallman goes to the loo, he core dumps.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: How to connect to remote emacs session
2008-05-18 8:19 ` Peter Dyballa
@ 2008-05-18 14:07 ` reader
2008-05-18 15:52 ` Peter Dyballa
0 siblings, 1 reply; 9+ messages in thread
From: reader @ 2008-05-18 14:07 UTC (permalink / raw)
To: help-gnu-emacs
Peter Dyballa <Peter_Dyballa@Web.DE> writes:
> Am 18.05.2008 um 06:10 schrieb reader@newsguy.com:
>
>> And how do I get to the gnus session?
>
>
> Via the DISPLAY environment variable?
I must be pretty dense but I'm not getting how that is done.
Can you describe in some detail how to accomplish this:
Box1 is running emacs-23 in X with server turned on and gnus session
started
box2 no x environment - ssh's to box1 and wants to connect to the
ongoing gnus session running in emacs.
What does user on box2 need to do?
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: How to connect to remote emacs session
2008-05-18 14:07 ` reader
@ 2008-05-18 15:52 ` Peter Dyballa
2008-05-18 16:23 ` James Cloos
2008-05-18 22:47 ` reader
0 siblings, 2 replies; 9+ messages in thread
From: Peter Dyballa @ 2008-05-18 15:52 UTC (permalink / raw)
To: reader; +Cc: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 343 bytes --]
Am 18.05.2008 um 16:07 schrieb reader@newsguy.com:
> What does user on box2 need to do?
Launch X11 and make SSH forward X11 connections.
Another option could be to use a socket for communication. Isn't this
all described in the documentation?
--
Greetings
Pete
For some reason, this fortune reminds everyone of Marvin Zelkowitz.
[-- Attachment #2: Type: text/html, Size: 3316 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: How to connect to remote emacs session
2008-05-18 15:52 ` Peter Dyballa
@ 2008-05-18 16:23 ` James Cloos
2008-05-18 22:48 ` reader
2008-05-18 22:47 ` reader
1 sibling, 1 reply; 9+ messages in thread
From: James Cloos @ 2008-05-18 16:23 UTC (permalink / raw)
To: help-gnu-emacs; +Cc: Peter Dyballa, reader
>> What does user on box2 need to do?
I just tested this.
If you have an emacs already running, make sure to run (server-start).
ssh to that box
in the ssh session run:
:; emacsclient -t
that will create a TTY frame. Then you can just switch to the *Group*
buffer and use Gnus as usual.
When done, use C-x 5 0 to close the frame (just like closing an X11 frame).
The -t option can also be spelled --tty.
-JimC
--
James Cloos <cloos@jhcloos.com> OpenPGP: 1024D/ED7DAEA6
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: How to connect to remote emacs session
2008-05-18 15:52 ` Peter Dyballa
2008-05-18 16:23 ` James Cloos
@ 2008-05-18 22:47 ` reader
1 sibling, 0 replies; 9+ messages in thread
From: reader @ 2008-05-18 22:47 UTC (permalink / raw)
To: help-gnu-emacs
Peter Dyballa <Peter_Dyballa@Web.DE> writes:
> . . . . . . . . . . . . . . . . . . . . . . Isn't this
> all described in the documentation?
If you mean emacsclient documentation then no... I saw no mention of
ssh or gnus in there.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: How to connect to remote emacs session
2008-05-18 16:23 ` James Cloos
@ 2008-05-18 22:48 ` reader
0 siblings, 0 replies; 9+ messages in thread
From: reader @ 2008-05-18 22:48 UTC (permalink / raw)
To: help-gnu-emacs
James Cloos <cloos@jhcloos.com> writes:
>>> What does user on box2 need to do?
>
> I just tested this.
[...]
Thanks for the walkthru
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2008-05-18 22:48 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-17 9:54 How to connect to remote emacs session reader
2008-05-17 11:04 ` Thierry Volpiatto
2008-05-18 4:10 ` reader
2008-05-18 8:19 ` Peter Dyballa
2008-05-18 14:07 ` reader
2008-05-18 15:52 ` Peter Dyballa
2008-05-18 16:23 ` James Cloos
2008-05-18 22:48 ` reader
2008-05-18 22:47 ` reader
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).