Using for example serial-term, or in lisp make-serial-process one can open a serial port within Emacs. But both will fail if the tty is access on a remote computer thought tramp.

Is there any alternative to using a remote Emacs for this?

  • On a similar note, we can't use TRAMP paths even for local serial devices (e.g. /su::/dev/ttyS0), which I could imagine as coming in handy if the device's permissions won't normally let you use it.
    – PythonNut
    Feb 22 '16 at 14:48
  • Could you please elaborate what you are trying to achieve? Tramp over serial line or something another? Jun 21 '17 at 14:50
  • it's serial line over tramp: the tty is not on the local computer, but on another computer. I've a device controlled by serial line, connected to a remote computer, and I want to control it from my local computer. I can do it in shell using ssh then Emacs then serial-term, but I can't control it from my local Emacs then tramp then serial-term.
    – Rémi
    Jun 22 '17 at 6:17

Tramp doesn't support this, and I have also no plans to implement. But if somebody wants to volunteer an implementation, pls contact me or the the Tramp ML tramp-devel@gnu.org.

  • Could this be implemented without knowing C?
    – PythonNut
    Feb 22 '16 at 23:44
  • Don't know, haven't investigated yet. But if it goes into Tramp it must be Lisp. Feb 23 '16 at 7:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.