tramp-devel
[Top][All Lists]
Advanced

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

Re: tramp hangs


From: Michael Albinus
Subject: Re: tramp hangs
Date: Thu, 19 Sep 2019 19:31:09 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Mark Geary <address@hidden> writes:

Hi Mark,

>> Hard to say. However, the command line using stat(1) is kind of complex,
>> maybe Solaris has problems with this. So you could instruct Tramp *not*
>> to use stat (it will apply a perl script then, or a simple ls), which
>> might work better.
>
> My tests show that it's just the length of the command, not any other
> kind of complexity.  An echo command with a single argument works if
> the total length is 256 or less and fails if it is more than 256 characters.

I see, thank you for the test. Could you please run in a bash shell on
that remote host the command "getconf -a"?

>> (add-to-list 'tramp-connection-properties '("sfmg10" "stat" nil))
>>
>> after you have loaded Tramp, but before you try to connect that host for
>> the first time?
>
> That works. Thanks.

Good to know. So you are not blocked anymore.

I still have no idea how to solve this in general. Maybe we can only
document this. And/or raise a user-error, asking to avoid stat for a
remote Solaris system.

> Mark

Best regards, Michael.



reply via email to

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