Updated to use termios in ansidrv.c rather than termio