unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* ssh + term + tcsh or remote eshell
@ 2002-09-28  2:46 ftrw
  2002-09-28 12:30 ` Kai Großjohann
  0 siblings, 1 reply; 2+ messages in thread
From: ftrw @ 2002-09-28  2:46 UTC (permalink / raw)


Hi,

I have two machines: local and remote.  I run emacs on X windows on
local.  I want to edit files and run shells as identically as possible
on both machines through my local emacs window.

For editing remote files on my local machine, tramp works fine.

Option 1 for shells:  eshell

   For a local shell, I can use eshell.  

   Can I run an eshell process via gnuserv or emacsclient on the remote
   machine, seeing it on my local machine?

Option 2 for shells:  emacs term program

   If I run tcsh through a local term buffer, I have these problems:

      --I do not see colors that I normally see in an xterm tcsh (as 
        found in http://tcshrc.sourceforge.net).

      --To have TAB completion in the shell, I need to be in Term: char
        mode, but then I must prefix all of the normal emacs control key
        bindings with an extra C-c.

      --To avoid that extra C-c, I can switch to Term: line mode, but
        then I lose shell TAB completion.

   If I run tcsh on the remote machine through ssh.el
   (http://www.splode.com/~friedman/software/emacs-lisp/), then I get
   various problems with special characters sent by the remote tcsh.
   I assume they are for colors and fonts (for instance, in the
   prompt).

So I would like to use the same shell (eshell or tcsh) on both
machines, have them act the same, use them both in emacs and have
useful shell features (history, e.g.) that one normally finds in an
xterm shell.

Thank you for any help.

Ryan

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: ssh + term + tcsh or remote eshell
  2002-09-28  2:46 ssh + term + tcsh or remote eshell ftrw
@ 2002-09-28 12:30 ` Kai Großjohann
  0 siblings, 0 replies; 2+ messages in thread
From: Kai Großjohann @ 2002-09-28 12:30 UTC (permalink / raw)


ftrw@uaf.edu writes:

>    Can I run an eshell process via gnuserv or emacsclient on the remote
>    machine, seeing it on my local machine?

In eshell, you can do "cd /[ssh/remote-host]/path/to/directory" (for
the old Tramp, or "cd /ssh:remote-host:/path/to/directory" for newer
Tramps).

It is not quite seamless, though.  I think that "uname -a", for instance,
shows the wrong hostname.  Hm.  Testing...  Ah, it doesn't show any
output at all.  This is not good :-(

kai
-- 
~/.signature is: umop ap!sdn    (Frank Nobis)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-09-28 12:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-28  2:46 ssh + term + tcsh or remote eshell ftrw
2002-09-28 12:30 ` Kai Großjohann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).