From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sam Steingold Newsgroups: gmane.emacs.devel Subject: screen & emacs Date: Wed, 02 Feb 2011 23:44:39 -0500 Organization: disorganization Message-ID: <87k4hh4thk.fsf@sysu76.podval.org> Reply-To: sds@gnu.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1296708374 4063 80.91.229.12 (3 Feb 2011 04:46:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 3 Feb 2011 04:46:14 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 03 05:46:10 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pkr57-0007Hg-4I for ged-emacs-devel@m.gmane.org; Thu, 03 Feb 2011 05:46:09 +0100 Original-Received: from localhost ([127.0.0.1]:51980 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pkr56-00063E-I5 for ged-emacs-devel@m.gmane.org; Wed, 02 Feb 2011 23:46:08 -0500 Original-Received: from [140.186.70.92] (port=42860 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pkr3k-0005Co-4n for emacs-devel@gnu.org; Wed, 02 Feb 2011 23:44:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pkr3j-00081g-04 for emacs-devel@gnu.org; Wed, 02 Feb 2011 23:44:43 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:40041) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pkr3i-00081a-O0 for emacs-devel@gnu.org; Wed, 02 Feb 2011 23:44:42 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Pkr3g-0006oV-Pi for emacs-devel@gnu.org; Thu, 03 Feb 2011 05:44:40 +0100 Original-Received: from ool-182f83f9.dyn.optonline.net ([24.47.131.249]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 03 Feb 2011 05:44:40 +0100 Original-Received: from sds by ool-182f83f9.dyn.optonline.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 03 Feb 2011 05:44:40 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 24 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: ool-182f83f9.dyn.optonline.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Cancel-Lock: sha1:kmQVPP9GgIyEzH/TaGgFyCluznI= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:135494 Archived-At: 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 automagically. 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.