changetty.c: replace with ncurses