add ncurses for raw tty processing