Linux: Capture output of an already running process ( in pure C! )

ε祈祈猫儿з 提交于 2019-12-03 08:37:36

You might want to take a look at reptyr. It will probably need some adaptation to work for your system though

Have you tried driving the serial port with a kermit script? I would probably forgo trying to insert a more clever proxy on the device and just try and drive the existing interface.

If you really want to get it on the device, you may be able to look at the source to something like screen or kermit to get a sense of how they interact with ttys.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!