Skip to contentSkip to conversation

serial terminal script

DISCUSSION Melchior FRANZ 1 participant 2 messages Jul 4, 2013 – Jul 6, 2013

lore
Share & tools
lore
#0 lore raw

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.

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