-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide a Emulated Terminal as virtual pty for connected calls #1
Comments
We could make a TCP listener to receive the asterisk_modem connection back into Python and then decide whenever just to log the output or to make it also available as a PTY for interaction with minicom https://stackoverflow.com/questions/48781155/how-to-connect-inet-socket-to-pty-device-in-python |
Other example pty/shell https://github.com/infodox/python-pty-shells/blob/master/tcp_pty_shell_handler.py |
Example of Socat use from Python: |
Probably using socat, even if may sounds a "dirty design decision", would gave us clean portability across multiple operating system for the PTY-related handling code? |
Evaluate socat for vmodem
socat -u TCP4-LISTEN:8290 PTY,link=$HOME/vmodem0,rawer,wait-slave
The text was updated successfully, but these errors were encountered: