From baecf9bb283e52a829e31ae6f36c4687171a51c5 Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Thu, 30 May 2024 18:55:21 +0200 Subject: [PATCH] Fix job control in remote shell * lisp/net/tramp-sh.el (tramp-methos) : Adapt `tramp-direct-async' argument. (Bug#71259) --- lisp/net/tramp-sh.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el index 615f9219448..87c1bc0b460 100644 --- a/lisp/net/tramp-sh.el +++ b/lisp/net/tramp-sh.el @@ -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"))))