all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Kastrup <dak@gnu.org>
Subject: Re: Q on using shell mode remotely
Date: Fri, 28 Jul 2006 23:46:31 +0200	[thread overview]
Message-ID: <8564hhqu6g.fsf@lola.goethe.zz> (raw)
In-Reply-To: mailman.4613.1154122648.9609.help-gnu-emacs@gnu.org

"Drew Adams" <drew.adams@oracle.com> writes:

> I said:
>
>     And, I couldn't cd to a remote directory within the
>     *shell* buffer, even using the syntax
>     /host-address:/home/my-home...

That would be rather silly to expect.  After all, the cd has to be
interpreted by the shell.

Try using
M-x eshell RET
and you'll find things work better.

> Actually, the cd command is accepted, and the new value of
> default-directory reflects it.

Emacs is fooled into believing that the shell is changing directories.

> But if I do pwd in the shell buffer, it still prints the Windows
> Temp directory (and ls shows files in that Temp directory).

Try doing something like

M-!

in a remote file buffer.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

       reply	other threads:[~2006-07-28 21:46 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.4613.1154122648.9609.help-gnu-emacs@gnu.org>
2006-07-28 21:46 ` David Kastrup [this message]
2006-07-28 22:56   ` Q on using shell mode remotely Drew Adams
2006-07-29  8:33     ` Eli Zaretskii
2006-07-29 13:47       ` Drew Adams
2006-07-28 21:33 Drew Adams
2006-07-28 21:37 ` 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 15:42           ` Drew Adams
2006-08-02 16:33             ` Drew Adams
2006-08-04  8:00             ` 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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8564hhqu6g.fsf@lola.goethe.zz \
    --to=dak@gnu.org \
    /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.