tramp-devel
[Top][All Lists]
Advanced

[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/

<promotion>

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) 
groups=4(adm),20(dialout),24(cdrom),25(floppy),29(audio),30(dip),44(video),46(plugdev),100(users),109(lpadmin),111(scanner),114(admin)
~ $ cd /sudo::
/sudo:address@hidden:/root $ id
uid=0(root) gid=0(root) groups=0(root)
/sudo:address@hidden:/root $ hostname
arthur
/sudo:address@hidden:/root $ cd /ssh:ford:
/ssh:address@hidden:/home/albinus $ hostname
LKG29808F
/ssh:address@hidden:/home/albinus $ 

</promotion>

> Thanks again

Best regards, Michael.




reply via email to

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