Hot answers tagged kermit
the best way to pass a file through xmodem is to use sx. In debian this application is part of 'lrzsz' package. In debian: apt-get install screen lrzsz screen /dev/ttyUSB0 115200 Then press Ctrl-A followed by : and type: exec !! sx yourbinary.bin This will send the file to ttyUSB0 over xmodem protocol
If you want to use zmodem you have to set the zmodem option to pass, if your screen session is already running, press CTRL+A : and just enter zmodem pass . To send the data just use the sz command from the lrzsz package. If you want to receive data via screen you have to set the value to catch.
The main use of minicom during its heyday was for talking to modems which understood the Hayes command set (AT commands). AT commands are terminated by carriage return. It was convenient to be able to type ATDT5550123 Enter and have the correct command terminator sent to the modem.
To suggest an alternative, have you tried minicom or screen. The thing you are wanting is to change the line disciplne, it sounds like you are in raw mode (each character sent to remote) instead of buffered (or cooked) mode (cr triggers buffer to be sent). there is also a half way house semi-cooked mode (cbreak). All these values can be set using the stty ...
Only top voted, non community-wiki answers of a minimum length are eligible