From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: gui emacs from terminal Date: Fri, 16 Jul 2010 21:44:40 +0200 Message-ID: References: <955206.27103.qm@web51003.mail.re2.yahoo.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=WINDOWS-1252; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1279309526 17166 80.91.229.12 (16 Jul 2010 19:45:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 16 Jul 2010 19:45:26 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Cynthia Page Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jul 16 21:45:14 2010 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.69) (envelope-from ) id 1OZqqP-0002pe-U1 for geh-help-gnu-emacs@m.gmane.org; Fri, 16 Jul 2010 21:45:14 +0200 Original-Received: from localhost ([127.0.0.1]:34549 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OZqqP-0008VL-Eb for geh-help-gnu-emacs@m.gmane.org; Fri, 16 Jul 2010 15:45:13 -0400 Original-Received: from [140.186.70.92] (port=58284 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OZqpy-0008PR-QO for help-gnu-emacs@gnu.org; Fri, 16 Jul 2010 15:44:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OZqpx-0005O6-LG for help-gnu-emacs@gnu.org; Fri, 16 Jul 2010 15:44:46 -0400 Original-Received: from fmmailgate02.web.de ([217.72.192.227]:44621) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OZqpx-0005Nz-4o for help-gnu-emacs@gnu.org; Fri, 16 Jul 2010 15:44:45 -0400 Original-Received: from smtp03.web.de ( [172.20.0.65]) by fmmailgate02.web.de (Postfix) with ESMTP id 2021716C33065; Fri, 16 Jul 2010 21:44:43 +0200 (CEST) Original-Received: from [91.35.211.175] (helo=[192.168.1.2]) by smtp03.web.de with asmtp (WEB.DE 4.110 #4) id 1OZqpu-0004C7-00; Fri, 16 Jul 2010 21:44:42 +0200 In-Reply-To: <955206.27103.qm@web51003.mail.re2.yahoo.com> X-Mailer: Apple Mail (2.936) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX1+DarMIo6KQ6oKLTY4i7S/NckaYSetzhGrNEEVf VDCm6SUAlPyvPTGsQIl897KQt3s5ybPUeJqDQ3weqvJ7lO9MTq rYFETbEJChCKd0gKeXPg== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 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:74204 Archived-At: Am 16.07.2010 um 16:04 schrieb Cynthia Page: > I had a basic misunderstanding of the processes I needed to =20 > accomplish remote > file editing. Originally I thought I was using the emacs that was =20 > installed on > my machine, when I edited files on a server that I was ssh' ing to. =20= > Now I > realize that when I ssh to a server, I am using a version of emacs =20 > that has been > installed on that server. Also that I need X11 on my machine so that =20= > I can use > xterm to run emacs application (from the server) in an xterm window =20= > and with > some menu driven support. There are still some... I, for example, assumed you were trying to ssh =20= to a Mac... Can you locate the emacs binaries on the remote server? Is one of them =20= an X client, i.e., is it using X11 libraries? In that case you can =20 launch this emacs on the remote server and it will open an X11 window =20= (an Emacs frame) on your local Mac with its X11 server running (in =20 case firewalls allow this). When restrict Emacs inside a terminal =20 emulation you really do not need X11 and X11 forwarding enabled in SSH =20= protocol. You *can* connect via SSH from Apple's Terminal application =20= and the remote Emacs will run inside it the same (actually a better) =20 way as it does in Xterm. (It's better because of the well-integrated =20 copy&paste support, it might be worse when Terminal supports only 16 =20 colours =96 some Xterm versions support 128 or 256 colours.) To make this work you should not use the -X option but -Y or set =20 ForwardX11Trusted in your remote server's SSH config file. This will =20 set the environment variable DISPLAY in your remote login shell (as -X =20= also does) that X clients will know where the X server is and where =20 their windows will open. To make GNU Emacs, the X client, open an X window (or Emacs frame) on =20= your local screen you could invoke: ssh -Yf username@host emacs Emacsen also have the command manual-entry built in. Upon invocation =20 they ask for a topic and then they create buffers for each of the =20 topics (man pages) given. This way it's really easy to study the "UNIX =20= manual." You can also follow hyper-links in them... -- Greetings Pete Increase the size of your bike by at least *five* inches!