Re: Reliably sending binary codes to TRAMP processes

Michael Albinus <[email protected]> Wed, 29 Jan 2025 14:21:47 +0100
Newsgroups gmane.emacs.tramp
Message-ID <[email protected]>
Jordan Ellis Coppard <[email protected]> writes:

Hi Jordan,

> If I set TERM=dumb or manually invoke project compile with `zig build
> --color off run` instead it all works as expected.
>
> So I should either have that flag passed every time, else I need a way
> to add TERM=dumb in a direct-async command.

What about this in your "ham" method:

--8<---------------cut here---------------start------------->8---
		  (tramp-login-args (("exec")
				 ("-it")
				 ("-u" "jammy") ; default user `jammy'
				 ("-e" "TERM=dumb")
				 ("--workdir" "/home/jammy/project")
				 ("%h")
				 ("%l")))
--8<---------------cut here---------------end--------------->8---

> /Jordan

Best regards, Michael.