On 2010-05-19 14:55 +0100, Michael Albinus wrote:
> eshell calls `start-file-process' (see `eshell-gather-process-output')
> for every single command , which is an asynchronous process. Tramp opens
> another connection for asynchronous processes, what you see.
>
> shell calls once `start-file-process' ("/bin/sh -i"), and lets execute
> all commands inside this process. That's why it is much faster.
>
> I fear it cannot be changed, because eshell is more flexible than
> shell. You could do
>
> ~ $ cd /scp:remotehost:
> /scp:remotehost: $ hostname
> remotehost
> /scp:remotehost: $ cd /scp:anotherhost:
> /scp:anotherhost: $ hostname
> anotherhost
> /scp:anotherhost: $ 
>
> This is not possible with shell.

Thank you for the info. I realised this too after using it some more.
Now I understand the cause I can choose a suitable one for a task.

Leo


_______________________________________________
Tramp-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to