emacs-devel
[Top][All Lists]
Advanced

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

Re: master babe6a5e948 1/2: Introduce a new TRAMP method `androidsu'


From: Po Lu
Subject: Re: master babe6a5e948 1/2: Introduce a new TRAMP method `androidsu'
Date: Mon, 26 Feb 2024 18:54:42 +0800
User-agent: Gnus/5.13 (Gnus v5.13)

Michael Albinus <michael.albinus@gmx.de> writes:

> FWIW, after a very very first look on your code I'm even not convinced
> we need a new Tramp backend for what you want to achieve.

Perhaps not, but at the very minimum a replacement for:

  ;; Android su binaries contact a background service to
  ;; obtain authentication; during this process, input
  ;; received is discarded, so input cannot be
  ;; guaranteed to reach the root shell until its prompt
  ;; is displayed.
  (with-current-buffer (process-buffer p)
    (tramp-wait-for-regexp p tramp-connection-timeout
                           "#[[:space:]]*$"))

will be required during connection setup.  Thanks.


reply via email to

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