Extended readline interface to control echo and history during password prompts