help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs


From: Ehud Karni
Subject: Re: Emacs
Date: Thu, 27 Sep 2001 17:50:45 +0200

On Wed, 26 Sep 2001 15:11:58 -0700, Chris Seberino <seberino@spawar.navy.mil> 
wrote:
> 
> Ehud
> 
> I saw your post on the Emacs
> mailing list and was hoping I could
> humbly ask you a question about
> it if you don't mind...
> 
> Can you use Emacs remotely???
> e.g. Can you ssh to a Linux machine
> and edit a file remotely???
> 
> One reason this is important is to
> remotely log into a Linux
> machine to do email.  This requires
> using Emacs remotely to create and edit
> emails.
> 
> Any help would be greatly appreciated.
> 
> Sincerely,
> 
> Chris

Chris, 

In the future please send questions and requests to the mailing list
<help-gnu-emacs@gnu.org>, that's the reason for its existence.
I redirected this mail to the mailing list too.

Anyway, the answer to your questions is big YES. You can SSH to the
Linux system and run Emacs. You have 2 basic options and a 3rd, more
complex way that I use.

The most basic way is to run `emacs -nw' in the SSH window. Since SSH
is just an encrypted telnet, then a non X emacs will work just fine.

The 2nd basic way is to use the X forwarding option of SSH (assuming
you have an X server at your local side). In that case you start 
emcas normally in the SSH session or you use the DISPLAY env variable
set by the SSH to start emcas not within the SSH session.

I use a 3rd way. I create a virtual X server using VNC (see
http://www.uk.research.att.com/vnc), I start emacs with the DISPLAY
set for this virtual X, and I tunnel the VNC viewer thru the SSH to
work remotely on the virtual X (I use it now for this email).

There are some more ways to work on remote files thru SSH, e.g. You
can work on local Emacs and use ange-ftp (I didn't try it myself but
you can find details at - 
    http://parallel.acsu.unsw.edu.au/rks/ange-ftp-over-ssh.html

Ehud.


-- 
 Ehud Karni     Mivtach - Simon  Insurance   /"\
 Tel: +972-3-7966-561 Fax: +972-3-7966-667   \ /  ASCII Ribbon Campaign
 (USA) Fax and  voice  mail: 1-815-5509341    X   Against  HTML  Mail
     Better     Safe     Than     Sorry      / \
     mailto:ehud@unix.simonwiesel.co.il    http://www.simonwiesel.co.il



reply via email to

[Prev in Thread] Current Thread [Next in Thread]