buffered reader doens't echo to terminal