simplify tty setup
attempt to detect naze32