serial terminal script

From: Melchior FRANZ
Date: Thu Jul 04 2013 - 16:11:32 EST


Hey,

maybe someone's interested in a little serial terminal script
that pretty much replaces minicom for communicating with the
embedded Linux boards in our company. It's less than 50 lines
of bash, so I attached it here. Usage:

terminal [<serial-device> [<transfer-rate> [<stty-arguments ...>]]]

e.g.

$ terminal /dev/ttyUSB0 115200

or

$ terminal /dev/ttyUSB0 |& tee -a /var/tmp/terminal.log

Quit by typing Ctrl-A followed by x within 0.5 s.

m.



--
Ginzinger electronic systems GmbH
Gewerbegebiet Pirath 16
A-4952 Weng im Innkreis
www.ginzinger.com

Attachment: terminal
Description: application/shellscript