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