tty_flip_buffer_push() sends data back to itself

前端 未结 1 922
無奈伤痛
無奈伤痛 2021-01-03 15:55

I am trying to run tiny_tty in LDD3. When I use \"cat /dev/ttty0\" to read from it, there is no output and the command is blocked.

Checking the trace, I notice both

相关标签:
1条回答
  • 2021-01-03 16:39

    Your terminal device has ECHO enabled. You can turn it off (and control other flags as well) with stty command:

    stty -F /dev/ttty0 -echo
    

    or use a proper terminal emulation program like picocom or minicom.

    0 讨论(0)
提交回复
热议问题