]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix job control in remote shell
authorMichael Albinus <michael.albinus@gmx.de>
Thu, 30 May 2024 16:55:21 +0000 (18:55 +0200)
committerEshel Yaron <me@eshelyaron.com>
Thu, 30 May 2024 18:14:37 +0000 (20:14 +0200)
* lisp/net/tramp-sh.el (tramp-methos) <scp, ssh>:
Adapt `tramp-direct-async' argument.  (Bug#71259)

(cherry picked from commit baecf9bb283e52a829e31ae6f36c4687171a51c5)

lisp/net/tramp-sh.el

index 16153b1d6ab3822db28504c6044aad8c2a935bb7..30ee1c54e32e8a1d26e33d69dec54c5ed321e0c8 100644 (file)
@@ -189,7 +189,7 @@ The string is used in `tramp-methods'.")
                 (tramp-login-args           (("-l" "%u") ("-p" "%p") ("%c")
                                             ("-e" "none") ("%h")))
                 (tramp-async-args           (("-q")))
-                (tramp-direct-async         t)
+               (tramp-direct-async         ("-t" "-t"))
                 (tramp-remote-shell         ,tramp-default-remote-shell)
                 (tramp-remote-shell-login   ("-l"))
                 (tramp-remote-shell-args    ("-c"))
@@ -253,7 +253,7 @@ The string is used in `tramp-methods'.")
                 (tramp-login-args           (("-l" "%u") ("-p" "%p") ("%c")
                                             ("-e" "none") ("%h")))
                 (tramp-async-args           (("-q")))
-                (tramp-direct-async         t)
+               (tramp-direct-async         ("-t" "-t"))
                 (tramp-remote-shell         ,tramp-default-remote-shell)
                 (tramp-remote-shell-login   ("-l"))
                 (tramp-remote-shell-args    ("-c"))))