in reply to Re^5: Reading terminal input while program is runningin thread Reading terminal input while program is running