Fix job control in remote shell
authorMichael Albinus <michael.albinus@gmx.de>
Thu, 30 May 2024 16:55:21 +0000 (18:55 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Thu, 30 May 2024 16:55:21 +0000 (18:55 +0200)
* lisp/net/tramp-sh.el (tramp-methos) <scp, ssh>:
Adapt `tramp-direct-async' argument.  (Bug#71259)

lisp/net/tramp-sh.el

index 615f921944842898e9314c75587f463fb5224da3..87c1bc0b4608ea439c156c5a5eb106a8f270b133 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"))))