You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to run an application using readline that talks to a hardware serial console (a venerable Minitel 1B), which appears as /dev/ttyUSB0. Here is a program that partially works.
The prompt works fine, I can type a line and get the result. However:
Whenever I read a line, the line I've just typed (including the prompt) is printed back to the screen before a new prompt is displayed
Minitel is a strange beast, and function keys such as backspace and arrows are not sent as regular codes. Is there a way to instruct readline of those peculiarities ? Or should I encapsulate my tty and reimplement Read and Write in order to convert those ?
thanks for your attention!
The text was updated successfully, but these errors were encountered:
I'm trying to run an application using readline that talks to a hardware serial console (a venerable Minitel 1B), which appears as
/dev/ttyUSB0
. Here is a program that partially works.The prompt works fine, I can type a line and get the result. However:
tty
and reimplementRead
andWrite
in order to convert those ?thanks for your attention!
The text was updated successfully, but these errors were encountered: