[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#13677: 24.2.50; workng on remote hosts with eshell is not very enjoy
From: |
Michael Albinus |
Subject: |
bug#13677: 24.2.50; workng on remote hosts with eshell is not very enjoyable |
Date: |
Wed, 13 Feb 2013 17:32:30 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>>> Every stat command starts a new tramp process, which, in my case, takes
>>> about 3-4 seconds to get going and renders eshell fairly useless for
>>> this kind of work.
>
> I think you want to enable "ControlPersist" and/or related options in
> your ~/.ssh/config, so that only the first ssh needs to authenticate and
> subsequent ones just reuse the connection already setup by the first.
I've committed a patch to Tramp to use ControlMaster=auto whenever
possible. This might speed up remote processes a little bit, but most of
the startup time is still spent in Tramp's hand-shaking.
It would be good if we could have a mechanism to say eshell, whether an
external command shall run synchronously or asynchronously. I doubt,
that there will be a clever automatic detection. Eshell cannot know in
advance, wheter an external command is interactive, or not.
> Stefan
Best regards, Michael.