TRAMP issue with rsync method and direct async process

Troy Hinckley <[email protected]> Tue, 24 Jun 2025 15:44:23 -0500
Newsgroups gmane.emacs.tramp
Message-ID <5a016584-ae6b-43f6-a6b0-b2d0cd4d6b95@Spark>
I have encountered an issue with direct async processes and the rsync method. When I use rsync then try and open a remote a shell I get this message and the shell doesn’t work “sh: no job control in this shell”. I dug into the issue and found that it is this setting

https://cgit.git.savannah.gnu.org/cgit/tramp.git/tree/lisp/tramp-sh.el#n236

The value of tramp-direct-async is set to t for rsync, but is ‘(“-t” “-t”) in scp. If I change this to match scp, then remote shells work again for me. Is there a reason for this difference and is this something can be fixed?