On Fri 08-May-2020 at 10:00:13 +02, Michael Albinus <[email protected]>
wrote:
> Garjola Dindi <[email protected]> writes:
>
>> Hi,
>
> Hi Garjola,
>
Hi,
Thanks for your answer.
>> I use the following pattern to open a shell on a remote host :
>>
>> (let ((default-directory (concat "/ssh:" user "@" host ":" dir)))
>> (shell name))
>>
>> The issue I am facing is that emacs freezes during the login dialog
>> ("Waiting for prompts from remote shell", etc).
>>
>> Is there a way to let this transaction run asynchronously?
>
> Currently, it is not foreseen to run this asynchronously (aka as an own
> thread). If we would do it, there might be problems in interactive
> dialogues, like password prompts.
>
I understand. After entering the passord, there's still a bit of dialog.
Do you think this could be done in a separate thread?
> Some months ago, I've worked on thread support for Tramp. This work is
> stalled ATM. And it was related rather to file visiting operations, but
> asynchronous processes.
>
This aspect would also be very useful.
Thanks again.
>> Thanks for your help!
>>
>> Garjola.
>
> Best regards, Michael.
--