unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Po Lu <luangruo@yahoo.com>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: emacs-devel@gnu.org
Subject: Re: master babe6a5e948 1/2: Introduce a new TRAMP method `androidsu'
Date: Mon, 26 Feb 2024 18:54:42 +0800	[thread overview]
Message-ID: <875xyb5wct.fsf@yahoo.com> (raw)
In-Reply-To: <87r0gzpopy.fsf@gmx.de> (Michael Albinus's message of "Mon, 26 Feb 2024 10:19:21 +0100")

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	other threads:[~2024-02-26 10:54 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <170892805989.23297.10872025500935567738@vcs2.savannah.gnu.org>
     [not found] ` <20240226061420.EF1D4C00231@vcs2.savannah.gnu.org>
2024-02-26  8:51   ` master babe6a5e948 1/2: Introduce a new TRAMP method `androidsu' Michael Albinus
2024-02-26  9:02     ` Po Lu
2024-02-26  9:19       ` Michael Albinus
2024-02-26 10:54         ` Po Lu [this message]
2024-02-28 15:38           ` Michael Albinus
2024-03-02 14:53           ` Michael Albinus
2024-03-03  3:10             ` Po Lu
2024-03-03 10:00               ` Michael Albinus
2024-03-03 11:03                 ` Po Lu
2024-03-03 11:31                   ` Michael Albinus
2024-03-03 12:09                 ` Po Lu
2024-03-03 12:17                   ` Michael Albinus
2024-03-03 12:35                     ` Po Lu
2024-03-03 12:50                       ` Michael Albinus
2024-03-04  3:29                         ` Po Lu
2024-03-04 14:47                           ` Michael Albinus
2024-03-03 11:30               ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=875xyb5wct.fsf@yahoo.com \
    --to=luangruo@yahoo.com \
    --cc=emacs-devel@gnu.org \
    --cc=michael.albinus@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).