readline partially works on unix