[Top][All Lists]

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

screen & emacs

From: Sam Steingold
Subject: screen & emacs
Date: Wed, 02 Feb 2011 23:44:39 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

I use gnu screen on a server S to which I connect using ssh from various
client boxes (e.g., a windows desktop D and a linux laptop L).
This is great: I always see the same shell sessions on S regardless
where I connect from.
There is only one problem: I run ssh with ForwardX11=yes, so when I
start emacs on S, I see the usual GUI window on D or L (I still have to
figure out the right setting for DISPLAY for some reason) which is
precisely what I want.
Alas, when I open an emacs on S while connected from D and then go over
to L and ssh to S, then the screen session gets stolen from D and
appears on L, __BUT__ the emacs window (again, emacs is running on S,
but the window is shown on D) stays on D and does not go over to L
Is there a way around this (except for "emacs -nw")?

PS. One thing I hate about screen is that it does not terminate
"gracefully" on reboot: it is killed so the bash histories of various
widows are not saved...

Sam Steingold (http://sds.podval.org/) on Ubuntu 10.04 (lucid)
http://www.memritv.org http://dhimmi.com http://thereligionofpeace.com
http://pmw.org.il http://mideasttruth.com
MS: Brain off-line, please wait.

reply via email to

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