tramp-devel
[Top][All Lists]
Advanced

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

Re: tramp does not see bash, inotify-tools on my android/termux


From: Michael Albinus
Subject: Re: tramp does not see bash, inotify-tools on my android/termux
Date: Wed, 20 Nov 2024 16:44:32 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Gregor Zattler <telegraph@gmx.net> writes:

> Hi Michael,

Hi Gregor,

> Is the string "android" in this setting :
>
>     (connection-local-set-profiles
>      '(:application tramp :machine "android")
>      'tramp-connection-local-termux-profile)
>
> a regexp?

No. It is the host name (plus port, if specified).

> I'm having trouble to have one setting
> which covers various ways to name the
> same machine, hiere:
>
> andrid
> android.lan
> android.lan#2222
>
> etc.  But this is a minor concern, i can
> use the same way of addressing the machine.

>     (connection-local-set-profiles
>      '(:application tramp :machine "android")
>      'tramp-connection-local-termux-profile)

(dolist (host '("android" "android.lan" "android.lan#2222"))
  (connection-local-set-profiles
   `(:application tramp :machine ,host)
   'tramp-connection-local-termux-profile))

Untested, of course :-)

> Ciao; Gregor

Best regards, Michael.



reply via email to

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