C application that allows configuration of /dev/tty devices