From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Suvayu Ali Newsgroups: gmane.emacs.help Subject: Re: Using tramp to connect to a remote emacs session Date: Thu, 03 Sep 2009 20:17:27 -0700 Message-ID: <4AA086C7.2040100@gmail.com> References: <4A9EFA5A.1030002@gmail.com> <0A289BAA-4358-453E-AB08-9EF9CCA2402E@Web.DE> <87zl9cc7h1.wl%anselm.helbig+news2009@googlemail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1252034284 32394 80.91.229.12 (4 Sep 2009 03:18:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Sep 2009 03:18:04 +0000 (UTC) Cc: Emacs mailing list To: Anselm Helbig Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 04 05:17:57 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MjPJE-0003ih-QF for geh-help-gnu-emacs@m.gmane.org; Fri, 04 Sep 2009 05:17:57 +0200 Original-Received: from localhost ([127.0.0.1]:57940 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MjPJD-00010l-Ob for geh-help-gnu-emacs@m.gmane.org; Thu, 03 Sep 2009 23:17:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MjPIr-00010F-BS for help-gnu-emacs@gnu.org; Thu, 03 Sep 2009 23:17:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MjPIm-0000z9-VG for help-gnu-emacs@gnu.org; Thu, 03 Sep 2009 23:17:32 -0400 Original-Received: from [199.232.76.173] (port=49258 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MjPIm-0000z5-Ok for help-gnu-emacs@gnu.org; Thu, 03 Sep 2009 23:17:28 -0400 Original-Received: from mail-px0-f195.google.com ([209.85.216.195]:35845) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MjPIl-0006uI-Ut for help-gnu-emacs@gnu.org; Thu, 03 Sep 2009 23:17:28 -0400 Original-Received: by pxi33 with SMTP id 33so377337pxi.11 for ; Thu, 03 Sep 2009 20:17:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=EnxDUbJjlt7U63Owhkkyw9P0fErG+bDOMlf4TEXXecg=; b=qZn6reKyJVvNFx5Zmch9SS5l3iEgg/UfBfzqxCcI/us9uH9U8rl29BadimKqY7+v8D xxv89zfWJ3cLFYtjwaovcczfD2OMrUrq6bH7FezH8wDxlqEJghxzsDt3Z7+KDa4I587h IMsXYWceVc/EMQ3O5S0MXaro6cKlNDBQaHMJw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=LdTQ9OdUZDp+KWR9GiffiutU2KMqA9bAR8z5LzbtZbRWzEwUDL6JCJMnGOfW6eiaAV VBweJ8E/dBQHp8GCfxnnBR+OTZwXqNfGI1j7Qa5El6t/6Hj4kSUT1uhVpAsyBr2yc8DW 5sTEu/kqxIsxtu6VbrauSKB1hqC1gEIUcw8IM= Original-Received: by 10.115.28.14 with SMTP id f14mr9206661waj.216.1252034246797; Thu, 03 Sep 2009 20:17:26 -0700 (PDT) Original-Received: from ?142.58.122.14? (p8460-6.phys.sfu.ca [142.58.122.14]) by mx.google.com with ESMTPS id 23sm129729pxi.13.2009.09.03.20.17.25 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 03 Sep 2009 20:17:26 -0700 (PDT) User-Agent: Thunderbird 2.0.0.23 (X11/20090817) In-Reply-To: <87zl9cc7h1.wl%anselm.helbig+news2009@googlemail.com> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:67831 Archived-At: Hi Anselm, Anselm Helbig wrote: > At Thu, 03 Sep 2009 09:06:16 -0700, > Suvayu Ali 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.