keyboard driver writes into stdin