How to hide passwd keyin?? [message #4213] |
Sat, 13 May 1995 00:00  |
schieb
Messages: 8 Registered: May 1994
|
Junior Member |
|
|
Hi,
I have an app. where a user types in a passwd. How do set IDL to
not display the passwd entered? I thought about setting the font
to 'blank' but since this app. runs on different machines, with
undetermined fonts, I don't think it'll fly....
Thanks,
--Brian
| Brian D. Schieber
| SeaDAS/SeaWiFS Projects
| Laboratory for Hydrospheric Processes
| NASA/Goddard Space Flight Center
| Code 971/GSC, Greenbelt, MD 20771
| schieb@shark.gsfc.nasa.gov
| http://shark.gsfc.nasa.gov/~schieb/home_page.html/
|
|
|
Re: How to hide passwd keyin?? [message #4294 is a reply to message #4213] |
Wed, 17 May 1995 00:00  |
plugge
Messages: 17 Registered: May 1995
|
Junior Member |
|
|
In article <3p2iqe$326@post.gsfc.nasa.gov>, schieb@shark.gsfc.nasa.gov (Brian D. Schieber) writes:
|>Hi,
|> I have an app. where a user types in a passwd. How do set IDL to
|>not display the passwd entered? I thought about setting the font
|>to 'blank' but since this app. runs on different machines, with
|>undetermined fonts, I don't think it'll fly....
|>
|>Thanks,
|>
|>--Brian
|>
Hallo,
you may use the function char=get_kbrd(1) - it returns the pressed key without
displaying it to the terminal. For the RETURN key, test byte(char) eq 13.
Michel
------------------------------------------------------------ -------------
Michael Plugge _ Fachhochschule Mannheim
/ \ Hochschule fuer Technik und Gestaltung
Institut fuer SV und BIV / \ Email: plugge@biv7.sr.fht-mannheim.de
Speyerer Str. 4 / \ Tel: 0621 2926208
68163 Mannheim / \ --o /\
Germany / -- - \<,- / \/\
/ \ (_)/ (_) / \/\
------------------------------------------------------------ -------------
|
|
|