[PLUG] Re: minicom scripting?
Galen Seitz
galens at seitzassoc.com
Thu Dec 11 00:33:02 UTC 2003
Keith Morse <kgmorse at mpcu.com> wrote:
> On Wed, 10 Dec 2003, Russell Senior wrote:
>
> >
> > A neighbor asked me to help him push a text file from Linux over a
> > serial port to a 3D milling machine. First I try to sell him on using
> > the print spooler (which I think would be kind of cool). No dice,
> > besides he's still using sneaker net. So I fire up minicom, set the
> > comm parameters and save it to a special configuration. He just wants
> > to send a file as ASCII, so in conventional-interface minicom there is
> > a lot clicky-click to get to the right spot to enter the filename.
> > I'd like to script that for him. I noticed that minicom has some
> > scripting capability, but it wasn't documented in the man page. 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)?
> >
>
> Another option I would suggest is kermit. Has a very extensible language
> for scripting. Also there is an article on slashdot today about it.
>
I second that recommendation. I've used kermit's scripting capability
for several projects.
galen
More information about the PLUG
mailing list