[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#50748: Acknowledgement (28.0.50; tramp-sh.el uses mknod file p which
From: |
Michael Albinus |
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 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
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.
- bug#50748: 28.0.50; tramp-sh.el uses mknod file p which is not available on macos, Damien Merenne, 2021/09/23
- bug#50748: 28.0.50; tramp-sh.el uses mknod file p which is not available on macos, Michael Albinus, 2021/09/23
- Message not available
- bug#50748: Acknowledgement (28.0.50; tramp-sh.el uses mknod file p which is not available on macos), Damien Merenne, 2021/09/23
- bug#50748: Acknowledgement (28.0.50; tramp-sh.el uses mknod file p which is not available on macos),
Michael Albinus <=
- Message not available
- Message not available
- Message not available
- Message not available
- bug#50748: Acknowledgement (28.0.50; tramp-sh.el uses mknod file p which is not available on macos), Michael Albinus, 2021/09/24
- bug#50748: Acknowledgement (28.0.50; tramp-sh.el uses mknod file p which is not available on macos), Damien Merenne, 2021/09/25
- bug#50748: Acknowledgement (28.0.50; tramp-sh.el uses mknod file p which is not available on macos), Michael Albinus, 2021/09/25
- bug#50748: Acknowledgement (28.0.50; tramp-sh.el uses mknod file p which is not available on macos), Michael Albinus, 2021/09/26
- bug#50748: Acknowledgement (28.0.50; tramp-sh.el uses mknod file p which is not available on macos), Damien Merenne, 2021/09/28
- bug#50748: Acknowledgement (28.0.50; tramp-sh.el uses mknod file p which is not available on macos), Michael Albinus, 2021/09/28
- bug#50748: Acknowledgement (28.0.50; tramp-sh.el uses mknod file p which is not available on macos), Damien Merenne, 2021/09/28
- bug#50748: Acknowledgement (28.0.50; tramp-sh.el uses mknod file p which is not available on macos), Michael Albinus, 2021/09/28