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

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

Re: emacs(client|server) vs. gnu(client|server)


From: Sven Utcke
Subject: Re: emacs(client|server) vs. gnu(client|server)
Date: 18 Sep 2002 11:13:28 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

Phillip Lord <address@hidden> writes:

> >>>>> "Sven" == Sven Utcke <address@hidden> writes:
> 
>   Sven> address@hidden (Kai
>   Sven> =?iso-8859-15?q?Gro=DFjohann?=) writes:
> 
>   >> Both started from the same base and then diverged.  gnuclient can
>   >> contact an Emacs running on another host for editing files.
> 
>   Sven> Talking about which: I normally sit in front of kogs31, and
>   Sven> have gnuclient set up in such a way that if I am logged into
>   Sven> another machine (kogs2, say) via ssh, if I edit a file there
>   Sven> an emacs frame pops up on kogs31.

This is with:

kogs2>/home/utcke% echo $EDITOR 
gnuclient -h kogs31.informatik.uni-hamburg.de -r/r:kogs2:

where I am connecting to an Emacs running on kogs31, and the file is
found on kogs2 using an (old) version of tramp.

>   Sven> So far so well.  But yesterday I then moved bodily to kogs2,
>   Sven> and needed to edit something on the display of kogs2.  I
>   Sven> _thought_ I would be able to use gnuclient to signal the emacs
>   Sven> on kogs31 to open a window on kogs2 to let me edit, but not
>   Sven> so.  So, does this mean that the above can not be done, or
>   Sven> only that I am to dump to understand the manual?
> 
> gnuclient can do this I think, with the -h parameter, to specific the
> hostname. 

Well, the above didn't work (I assume it opened a frame on display
kogs31:0.  So I would need some way to specify the display on which
the emacs should open (maybe $DISPLAY does this already?), and some
way to tunnel that display...

> The easiest way to get this to work is just to stick "ssh kog31" in
> front of the gnuclient call....

Hmm.  Yes, I suppose you are right...

Sven
-- 
 _  __                     The Cognitive Systems Group
| |/ /___  __ _ ___                                       University of Hamburg
| ' </ _ \/ _` (_-<  phone:    +49 (0)40 42883-2576      Vogt-Koelln-Strasse 30
|_|\_\___/\__, /__/  fax  :    +49 (0)40 42883-2572             D-22527 Hamburg
          |___/ http://kogs-www.informatik.uni-hamburg.de/~utcke/home.html


reply via email to

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