Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!haven!umd5!zben From: zben@umd5.umd.edu (Ben Cranston) Newsgroups: comp.sys.mac.programmer Subject: Re: Password in TextEdit field? Summary: Font with only one character in it Keywords: TextEdit Message-ID: <6117@umd5.umd.edu> Date: 12 Feb 90 21:51:17 GMT References: <669@tci.bell-atl.com> Reply-To: zben@umd5.umd.edu (Ben Cranston) Distribution: comp Organization: University of Maryland, College Park Lines: 18 In article <669@tci.bell-atl.com> kingman@tci.bell-atl.com (Matt Kingman) writes: > Does anyone have any good ideas on how to implement a password in a > TextEdit field? I did see a really {cute|elegant|klugy} approach to this in a hypercard FTP stack that needed to ask for a password. There was a font installed in the stack (could be installed in your program) that had but one character in it, the diamond used to indicate a typed character. I assume ASCII code zero mapped directly to the diamond and all others mapped to the standard "default character" (last character in the font: the diamond! :-). -- Sig DS.L ('ZBen') ; Ben Cranston * Network Infrastructures Group, Computer Science Center * University of Maryland at College Park * of Ulm