From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: reader@newsguy.com Newsgroups: gmane.emacs.help Subject: Re: How to connect to remote emacs session Date: Sat, 17 May 2008 23:10:19 -0500 Organization: Still searching... Message-ID: <878wy8uuac.fsf@newsguy.com> References: <87ej81gsro.fsf@newsguy.com> <873aohnqe2.fsf@thievol.homelinux.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1211083864 14052 80.91.229.12 (18 May 2008 04:11:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 18 May 2008 04:11:04 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun May 18 06:11:41 2008 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 1JxaFH-00038M-7z for geh-help-gnu-emacs@m.gmane.org; Sun, 18 May 2008 06:11:39 +0200 Original-Received: from localhost ([127.0.0.1]:56301 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JxaEX-0005B4-Gk for geh-help-gnu-emacs@m.gmane.org; Sun, 18 May 2008 00:10:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JxaEE-00057S-HS for help-gnu-emacs@gnu.org; Sun, 18 May 2008 00:10:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JxaED-000562-F9 for help-gnu-emacs@gnu.org; Sun, 18 May 2008 00:10:33 -0400 Original-Received: from [199.232.76.173] (port=36633 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JxaED-00055m-8j for help-gnu-emacs@gnu.org; Sun, 18 May 2008 00:10:33 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:53278 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JxaED-0001l5-0Z for help-gnu-emacs@gnu.org; Sun, 18 May 2008 00:10:33 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JxaE6-0003aQ-Ns for help-gnu-emacs@gnu.org; Sun, 18 May 2008 04:10:26 +0000 Original-Received: from c-67-162-73-42.hsd1.il.comcast.net ([67.162.73.42]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 18 May 2008 04:10:26 +0000 Original-Received: from reader by c-67-162-73-42.hsd1.il.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 18 May 2008 04:10:26 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 45 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-67-162-73-42.hsd1.il.comcast.net User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.2 (gnu/linux) Cancel-Lock: sha1:GC5vlogUVvyFW+M/tQxFsMpxRk4= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:54103 Archived-At: Thierry Volpiatto 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?