[Top][All Lists]

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

Re: shell - remote directories not in buffer-menu

From: Michael Albinus
Subject: Re: shell - remote directories not in buffer-menu
Date: Tue, 18 Dec 2007 21:29:31 +0100
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux)

Andreas Röhler <address@hidden> writes:

> Thanks a lot, that works when starting shell while in a
> remote dired buffer.
> With ssh starting from local shell buffer, it's
> unchanged for shell and eshell.

That was not intended with the patch. What it does is:

- You start eshell or shell, let's say from your home directory. The
  buffer list shows

. * *eshell*                32  EShell            ~/

- You go to another directory, for example in Eshell via "cd /sudo::". The
  buffer list shows

. * *eshell*               113  EShell            /sudo:address@hidden:/root/


And, btw, if you are on a remote directory in eshell, you can even call
programs on the remote host. Something like this:

~ $ id
uid=1000(albinus) gid=114(admin) 
~ $ cd /sudo::
/sudo:address@hidden:/root $ id
uid=0(root) gid=0(root) groups=0(root)
/sudo:address@hidden:/root $ hostname
/sudo:address@hidden:/root $ cd /ssh:ford:
/ssh:address@hidden:/home/albinus $ hostname
/ssh:address@hidden:/home/albinus $ 


> Thanks again

Best regards, Michael.

reply via email to

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