From: Logan Capaldo Date: 2005-03-22T04:42:43+09:00 Subject: Re: reading password from stdin On Tue, 22 Mar 2005 04:24:53 +0900, vladimir konrad wrote: > Hello, > > How to disable output when reading with readline on linux? The script needs > to read a password and I would like it not to display... > > Any ideas? > > Vladimir > > I would imagine it would require 'curses'. A "simpler" method might be figuring out what $TERM is and getting the proper escape sequences to make the foreground the same color as the background. Off course, that's kind of the point of curses...and if your script ends up on some really weird terminal somewhere it might mess it up.