With runscript one can script minicom serial line sessions. I try to script the reception of a file transferred with ymodem. Minicom uses external programs for file transmission. I tried runscript's "!"-command which opens a shell, but I am not able to connect to the data stream within this shell. Do you know how to receive a file with rb or sexyz from within a minicom runscript script?
Thank you!
code
exec 5<"$PORT"; exec 6>"$PORT"; sexyz -k ry "$DATA_DIR/" <&5 >&6code
It nevertheless would be intresting to know how to do it with runscript...