HP3000-L Archives

May 2001, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Doug Werth <[log in to unmask]>
Reply To:
Doug Werth <[log in to unmask]>
Date:
Wed, 2 May 2001 10:01:35 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (52 lines)
Allen,

Try this:


set echo=off
input PassW;prompt="Enter password ---> "
echo
set echo=on
input CustNo;prompt="Enter customer number ---> "


The echo statement is on a line by itself to advance the cursor on the
screen. Because you have echo disabled while prompting for the password the
cursor will not advance when the user presses return. The next prompt you
issue would be on the same line and would not look very appealing for the
user.

    Enter password ---> Enter customer number --->

Doug.

Doug Werth                             Beechglen Development Inc.
[log in to unmask]                               Cincinnati, Ohio


----- Original Message -----
From: "Porter, Allen H" <[log in to unmask]>
To: <[log in to unmask]>
Sent: Wednesday, May 02, 2001 9:39 AM
Subject: [HP3000-L] Password


> In an MPE command script, how do you collect a password so that only * or
> nothing is echoed back to the user?  I cannot seem to find the answer in
MPE
> or MPEX help.
>
> Thanks in advance
>
> > Allen Porter
> > Maritz Marketing Research Inc., St. Louis
> >       Visit our web site @ http://www.maritzresearch.com
> >
> >
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2