#!/bin/sh # TODO make this only set the parameters when it's not set already. stty -F /dev/ttyS1 raw speed 38400 eol 10 cs8 -ignpar -cstopb -echo exec ./a /dev/ttyS1