From: "Drew Adams" <drew.adams@oracle.com>
Subject: Q on using shell mode remotely
Date: Fri, 28 Jul 2006 14:33:13 -0700 [thread overview]
Message-ID: <MEEKKIABFKKDFJMPIOEBMEMKDDAA.drew.adams@oracle.com> (raw)
My question is: can you use shell mode remotely?
I use ftp through Emacs (ange ftp or tramp with tramp-default-method = ftp)
to access files on a remote box. I have Emacs running on Windows, and the
remote box is GNU/Linux.
In general, I haven't been using shell-mode, locally or remotely. For remote
use, I've been using VNC or Tarantella, opening a terminal window to use a
shell - I haven't used Emacs remotely, except to edit files and such.
I thought I'd try to use Emacs shell mode on the remote box, so I gave it a
try: I opened Dired on a remote directory (/host-address:/home/my-home). I
then used M-x shell. However, the shell opened with a Windows Temp directory
as the pwd, and the shell that was used was my Windows shell (bash). And, I
couldn't cd to a remote directory within the *shell* buffer, even using the
syntax /host-address:/home/my-home...
So, my question is, can it be done? Can you use Emacs shell mode remotely?
If so, how?
Ideally, shell-mode would somehow figure out where I was (e.g. remote
location) and use the appropriate shell when I do `M-x shell', since I
logged into the remote box for ftp. If that couldn't be done automatically,
I could tell Emacs what shell to use for remote use.
Is anything like this possible? How do others use Emacs remotely?
next reply other threads:[~2006-07-28 21:33 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-28 21:33 Drew Adams [this message]
2006-07-28 21:37 ` Q on using shell mode remotely Drew Adams
2006-07-31 15:09 ` Kevin Rodgers
2006-07-31 16:35 ` Drew Adams
2006-07-31 17:51 ` Kevin Rodgers
2006-07-31 18:05 ` Drew Adams
2006-08-01 23:52 ` Kevin Rodgers
2006-08-02 0:21 ` Emacs\compiling Java Frank Murray
2006-08-02 3:35 ` Eli Zaretskii
2006-08-02 17:54 ` Kevin Rodgers
[not found] ` <mailman.4745.1154478071.9609.help-gnu-emacs@gnu.org>
2006-08-02 11:13 ` Hadron Quark
2006-08-02 15:42 ` Q on using shell mode remotely Drew Adams
2006-08-02 16:33 ` Drew Adams
2006-08-04 8:00 ` Drew Adams
[not found] <mailman.4613.1154122648.9609.help-gnu-emacs@gnu.org>
2006-07-28 21:46 ` David Kastrup
2006-07-28 22:56 ` Drew Adams
2006-07-29 8:33 ` Eli Zaretskii
2006-07-29 13:47 ` Drew Adams
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=MEEKKIABFKKDFJMPIOEBMEMKDDAA.drew.adams@oracle.com \
--to=drew.adams@oracle.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.
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).