Tag Info

Hot answers tagged

2

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.


1

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 ...


1

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



Only top voted, non community-wiki answers of a minimum length are eligible