In developing an application that uses APC codes (like "\x1b_...\x1b/") to 
communicate with an external process, I noticed that when I try this with 
remote processes, TRAMP does not faithfully pass binary sequences on to the 
process.  I tracked it down to the use of the flags "-t -t" in the ssh call 
(the backend I am using).  I was able to lift that restriction with:

  (setf (alist-get 'tramp-direct-async (alist-get "ssh" tramp-methods nil nil 
#'equal)) '(("")))

But this feels rather hackish.  Is there a recommended way to request that 
TRAMP do no translation of binary data sent to a processes it starts, for all 
of its various connections methods?  This is a normal PTY  process, not a pipe, 
and I use direct async.

Thanks,

JD


Reply via email to