tramp-devel
[Top][All Lists]
Advanced

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

Re: Inefficient eshell with tramp


From: Leo
Subject: Re: Inefficient eshell with tramp
Date: Wed, 19 May 2010 20:33:21 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

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




reply via email to

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