[PLUG] minicom scripting?

Daggett, Steve Steve.Daggett at fiserv.com
Thu Dec 11 09:40:02 UTC 2003


Russell Senior asks:
>  Does
> anyone know how to script sending a file in minicom, or a more direct
> way to stuff a file out the serial port (at 2400 baud 7E1)?
> 

stty -F /dev/ttyS0 speed 2400 -parodd -cstopb -ixon
cat FILE > /dev/ttyS0

  You may or may not want XON/XOFF.  The man page is pretty good.

stty -a -F /dev/ttyS0, will show you how COM1 is currently configured.
 
Steve D...




More information about the PLUG mailing list