unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Damien Merenne <dam@cosinux.org>
Cc: 50748@debbugs.gnu.org
Subject: bug#50748: Acknowledgement (28.0.50; tramp-sh.el uses mknod file p which is not available on macos)
Date: Thu, 23 Sep 2021 16:58:20 +0200	[thread overview]
Message-ID: <878rznbapf.fsf@gmx.de> (raw)
In-Reply-To: <CAAgrLvgmkadzBW98_pDNQC6m0hvOOZo=onE8YFzBGyV_LmWngw@mail.gmail.com> (Damien Merenne's message of "Thu, 23 Sep 2021 13:50:22 +0000")

Damien Merenne <dam@cosinux.org> writes:

Hi Damien,

> No idea about the equivalent mknod command. Using strace on Linux
> shows that both `mknod p` and `mkfifo` results in the exact same
> `mknodat` system call so `mkfifo` could probably be always used ?

Nope. There are GNU/Linux systems, which do not offer the mkfifo
command. For example, my QNAP NAS (which I misuse as test target).

> It's still not working, I don't see any error regarding the mkfifo
> now, I attached the tramp debug buffer. I tried creating the fifo
> manually on the macos laptop and running the command
>
> cd /Users/dam/ &&  exec  2>'/tmp/tramp.EIPAXu' env
> INSIDE_EMACS\=28.0.50\,tramp\:2.5.2-pre
> PS1\=/ssh\:laptop.lan\:/Users/dam/\ \#\$\  sh -c while\ sleep\ 1\;\
> do\ echo\ \$\(hostname\)\ out\;\ echo\ \$\(hostname\)\ err\ \>\&2\;\
> done
>
> And there, it's working, I can cat the fifo and see the stderr output.
> No idea why tramp seems to stall. Running over tramp there is just no
> output in the stdout nor the stderr buffer.

Hmm. The provided traces look as they should. Perhaps we're missing
accept-process-output calls?

Could you, please, add to your test:

(while t
  (accept-process-output)
  (sit-for 0.1))

Best regards, Michael.





  reply	other threads:[~2021-09-23 14:58 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-23  6:29 bug#50748: 28.0.50; tramp-sh.el uses mknod file p which is not available on macos Damien Merenne
2021-09-23 12:39 ` Michael Albinus
     [not found] ` <handler.50748.B.163237864728905.ack@debbugs.gnu.org>
2021-09-23 13:50   ` bug#50748: Acknowledgement (28.0.50; tramp-sh.el uses mknod file p which is not available on macos) Damien Merenne
2021-09-23 14:58     ` Michael Albinus [this message]
     [not found]       ` <CAAgrLvgMO680ujXuycY9tOP_xmrWN=P_C39skKdM94DQBkRstw@mail.gmail.com>
     [not found]         ` <CAAgrLvjq6y18kwvv9gepL1XtcRk5_tF+e7DCCnJitg4L6XuMjQ@mail.gmail.com>
     [not found]           ` <87mto29eah.fsf@gmx.de>
     [not found]             ` <CAAgrLvj-dvjH7ntv7h2ggWMOpACZFaq1W2-O7Q_Sqsn1YuaO3Q@mail.gmail.com>
2021-09-24 16:59               ` Michael Albinus
     [not found]                 ` <CAAgrLvgqEpUzuAm7nkXvfJRZgvjHZhNkmyLNM+ZBfioN_6g53g@mail.gmail.com>
2021-09-25 13:03                   ` Michael Albinus
2021-09-26  8:42                     ` Michael Albinus
2021-09-28  8:10                       ` Damien Merenne
2021-09-28  9:36                         ` Michael Albinus
2021-09-28 12:00                           ` Damien Merenne
2021-09-28 14:06                             ` 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=878rznbapf.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=50748@debbugs.gnu.org \
    --cc=dam@cosinux.org \
    /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).