[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Asynchronous login?
From: |
Garjola Dindi |
Subject: |
Re: Asynchronous login? |
Date: |
Fri, 08 May 2020 16:43:46 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
On Fri 08-May-2020 at 10:00:13 +02, Michael Albinus <address@hidden> wrote:
> Garjola Dindi <address@hidden> 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.
--