input/output threads loops ready; press Alt-x to exit!