readline support #6