From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: Cynthia Page <pageskipro@yahoo.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: gui emacs from terminal
Date: Fri, 16 Jul 2010 21:44:40 +0200 [thread overview]
Message-ID: <B8B42A67-932E-412C-8837-451C002B0AB9@Web.DE> (raw)
In-Reply-To: <955206.27103.qm@web51003.mail.re2.yahoo.com>
Am 16.07.2010 um 16:04 schrieb Cynthia Page:
> I had a basic misunderstanding of the processes I needed to
> accomplish remote
> file editing. Originally I thought I was using the emacs that was
> installed on
> my machine, when I edited files on a server that I was ssh' ing to.
> Now I
> realize that when I ssh to a server, I am using a version of emacs
> that has been
> installed on that server. Also that I need X11 on my machine so that
> I can use
> xterm to run emacs application (from the server) in an xterm window
> and with
> some menu driven support.
There are still some... I, for example, assumed you were trying to ssh
to a Mac...
Can you locate the emacs binaries on the remote server? Is one of them
an X client, i.e., is it using X11 libraries? In that case you can
launch this emacs on the remote server and it will open an X11 window
(an Emacs frame) on your local Mac with its X11 server running (in
case firewalls allow this). When restrict Emacs inside a terminal
emulation you really do not need X11 and X11 forwarding enabled in SSH
protocol. You *can* connect via SSH from Apple's Terminal application
and the remote Emacs will run inside it the same (actually a better)
way as it does in Xterm. (It's better because of the well-integrated
copy&paste support, it might be worse when Terminal supports only 16
colours – some Xterm versions support 128 or 256 colours.)
To make this work you should not use the -X option but -Y or set
ForwardX11Trusted in your remote server's SSH config file. This will
set the environment variable DISPLAY in your remote login shell (as -X
also does) that X clients will know where the X server is and where
their windows will open.
To make GNU Emacs, the X client, open an X window (or Emacs frame) on
your local screen you could invoke:
ssh -Yf username@host emacs
Emacsen also have the command manual-entry built in. Upon invocation
they ask for a topic and then they create buffers for each of the
topics (man pages) given. This way it's really easy to study the "UNIX
manual." You can also follow hyper-links in them...
--
Greetings
Pete
Increase the size of your bike by at least *five* inches!
next prev parent reply other threads:[~2010-07-16 19:44 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-14 10:47 gui emacs from terminal Cynthia Lee Page
2010-07-15 8:14 ` Peter Dyballa
2010-07-15 11:51 ` Tim Visher
2010-07-16 1:02 ` Kevin Rodgers
2010-07-16 4:27 ` Melton Low
2010-07-16 7:30 ` Peter Dyballa
2010-07-16 14:04 ` Cynthia Page
2010-07-16 16:22 ` Bastian Beischer
2010-07-16 19:44 ` Peter Dyballa [this message]
[not found] <mailman.10.1279168075.3908.help-gnu-emacs@gnu.org>
2010-07-15 16:38 ` Pascal J. Bourguignon
2010-07-16 8:48 ` Giacomo Boffi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=B8B42A67-932E-412C-8837-451C002B0AB9@Web.DE \
--to=peter_dyballa@web.de \
--cc=help-gnu-emacs@gnu.org \
--cc=pageskipro@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.