[vox-tech] preventing display of typed text?

Peter Jay Salzman vox-tech@lists.lugod.org
Thu, 20 Jun 2002 23:36:24 -0700


without checking, i've used 2 perl modules that might help:

term which implements the advanced features that termcap provides like
underlining and boldfacing text

ncurses which basically implements the C style ncurses library.

i would imagine both modules allow you to do this.  in fact, i _know_
that C/ncurses has a function to block echo in raw mode.  i'm guessing
that perl/ncurses can do this too.

pete


begin Ryan <ryan@mother.com> 
> On Thursday 20 June 2002 10:55 pm, Ryan wrote:
> > I have a perl script that I need to have take in a password, does anyone
> > know what escape sequences are used to start and stop this behavior?
> 
> Er, by this behavior I mean not show the text that is typed, like passwd and 
> su do.

-- 
GPG Fingerprint: B9F1 6CF3 47C4 7CD8 D33E  70A9 A3B9 1945 67EA 951D