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

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

Re: Q on using shell mode remotely


From: David Kastrup
Subject: Re: Q on using shell mode remotely
Date: Fri, 28 Jul 2006 23:46:31 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

"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 via email to

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