Initial keyboard driver with curses