Page 1 of 2

DCGET ... PASSWORD suggestion

Posted: Wed Apr 08, 2015 6:16 am
by Tom
Hi, Roger.

What about a DCGET ... PASSWORD SHOWLASTCHARACTER clause? Instead of this when typing "ROGER":

"*****"

this:

"****R"

should be shown if the last action was typing the "R". This is standard behaviour in most password SLEs now.

Not urgent. Just an idea. Only three or maybe ten lines in _DCXBPGT.PRG to be changed. ;)

Re: DCGET ... PASSWORD suggestion

Posted: Wed Apr 08, 2015 6:37 am
by bwolfsohn
Tom wrote:Hi, Roger.

What about a DCGET ... PASSWORD SHOWLASTCHARACTER clause? Instead of this when typing "ROGER":

"*****"

this:

"****R"

should be shown if the last action was typing the "R". This is standard behaviour in most password SLEs now.

Not urgent. Just an idea. Only three or maybe ten lines in _DCXBPGT.PRG to be changed. ;)
would be a nice addition...

Re: DCGET ... PASSWORD suggestion

Posted: Wed Apr 08, 2015 9:55 am
by rdonnay
That makes a lot of sense.
It will be in the next release.

Re: DCGET ... PASSWORD suggestion

Posted: Thu Apr 09, 2015 12:20 am
by Tom
rdonnay wrote:That makes a lot of sense.
It will be in the next release.
I see a little problem coming with this. For showing filled circles instead of asterisks, a symbol font can be used for the password. Symbol fonts like Marlett don't have standard characters. I don't believe it's possible to mix two fonts in a SLE.

Re: DCGET ... PASSWORD suggestion

Posted: Thu Apr 09, 2015 3:14 am
by Wolfgang Ciriack
Can someone explain the sense of this feature ?

Re: DCGET ... PASSWORD suggestion

Posted: Thu Apr 09, 2015 3:42 am
by Tom
Hi, Wolfgang.

The user sees the last character typed. This reduces typo errors.

Re: DCGET ... PASSWORD suggestion

Posted: Thu Apr 09, 2015 4:37 am
by Zdeno Bielik
if I correct understand it, Tom wants something likes this
while typing ROGER - it will step-by-step shows in DCGET next:

R
*O
**G
***E
****R

Re: DCGET ... PASSWORD suggestion

Posted: Thu Apr 09, 2015 6:44 am
by rdonnay
Actually, there can be 2 problems with this. First is the symbol problem, second is the timeout. People will complain because the last character should only show for 1 second. This requires more code and complicates things. The symbol issue could be handled if the XbpSle class supported owner drawing but I don't think it does. I'll look into this.

Re: DCGET ... PASSWORD suggestion

Posted: Thu Apr 09, 2015 6:51 am
by Koverhage
The user sees the last character typed. This reduces typo errors.
Yes and all people behind the typing person ;-)

Re: DCGET ... PASSWORD suggestion

Posted: Thu Apr 09, 2015 7:13 am
by rdonnay
Yes and all people behind the typing person ;-)
How about an audio feedback then?

"You typed R"
"You typed O"
"You typed G"
...

Hmmm. That's not such a good idea either.
The user sees the last character typed. This reduces typo errors.
We can use the Google method in the Validation code:

Did you mean "hack78wing23!$" ?