Properly delimit _all_ termios stuff

The "robot_cmd" function can only work if we actually are doing the
termios stuff, so #ifdef that out too.