TIP: Click on subject to list as thread! ANSI
echo: foxpro
to: BRUCE MCKINNON
from: STEVEN READ
date: 1997-02-02 16:14:00
subject: Hiding passwords and fpw2

Bruce,
BM> ==========================================================
BM> Packet: PC-OHIO
BM> Date: 01-29-97 (14:14)             Number: 1632
BM> From: BRUCE MCKINNON               Refer#: NONE
BM>   To: ALL                           Recvd: NO
BM> Subj: HIDING PASSWORDS AND FPW2      Conf: (799) FOXPRO-F
BM> ----------------------------------------------------------
BM> Has anyone figured out a nice way to replace characters echoed in
BM> GETs with '*' characters.  I want to do this to hide passwords on
BM> screen, but can't figure out how I can mix hidden passwords with a
BM> screen of regular GETs.  Any thoughts appreciated.  Bruce.
I don't have FP/WIN installed at the moment so I didn't test this .prg
with windows.  It works fine under DOS.  It doesn't show asterisks,
instead works by blanking the color during input.  Maybe it would be
acceptable.
SET TALK OFF
CLEAR
m.fn = '                '
m.ln = '                '
m.pword = "PASSWORD"
m.jobno = '         '
DEFINE WINDOW logon FROM 6,14 TO 16,65 ;
  TITLE 'Logon Window' FLOAT SHADOW SYSTEM COLOR SCHEME 8
  ACTIVATE WINDOW logon
  @ 1,2 SAY 'First Name: ' GET m.fn
  @ 3,2 SAY 'Last Name:  ' GET m.ln
  @ 5,2 SAY 'Password:   ' GET m.pword color ,x
  @ 7,2 SAY 'Job Number: ' GET m.jobno
  READ
RELEASE WINDOW logon
I'd like to hear or see a repost if you get it to work under FPW.
Later, Steve,  in western New York State (USA)
---
 * QMPro 1.53 * steven.read@pcohio.com
--- InterEcho 1.19
---------------
BM> * Origin: The Largest TeleFinder BBS in Oz (3:712/406.0)
* Origin: PC-Ohio PCBoard * Cleveland, OH * 216-381-3320 (1:157/200)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.