Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Hiding Login

0 views
Skip to first unread message

Alejandra Moreno

unread,
Nov 8, 2002, 9:58:25 AM11/8/02
to
Hi!
I want to hide the login and for that i use the TerminalActive property.
However i dont have a fixed charater that i receive back after the login to
trigger that, so I try to activate the terminal after sending the password
but i always get the '******' writen in the terminal. I tried triggering
this echo but it doesn't trigger it. Any suggestions?
Thanxs,
Alejandra


Don Hill

unread,
Nov 11, 2002, 12:14:20 PM11/11/02
to
Alejandra,

The APAX 1.12 version fixed the TerminalActive issue, so make sure you are
using that version first of all. Are you sending the login string in your
application and are you following the string with a carriage return. I think
that you are not actually receiving the "*" characters. If you generate a
dispatcher log, then you should see the real characters being sent. You can
generate a dispatcher log by setting the Logging property to tlOn and
specifying an explicit path and file name (C:\APAX.LOG) for the LogName
property.

The Asterisk (*) is a wildcard. You should be able to look for a carriage
return, and use the asterisk wildcard to receive any number of characters
before the carriage return as long as the carriage return follows directly
after the asterisk when setting up the data trigger. Look at the subjects
"Wildcards" and "Return Carriage trigger" in this newsgroup on Nov 7.

I really don't have enough information to know how your system/application
is working, but I would think that the above information should help you.
Are characters being echoed back? Are escape sequences being used? Are you
in control of both sides?
--
Don Hill (TurboPower Software)
"Alejandra Moreno" <almo...@hotmail.com> wrote in message
news:9yGoLdz...@tpsmail01.turbopower.net...

Alejandra Moreno

unread,
Nov 12, 2002, 4:02:36 AM11/12/02
to
Thanxs Don,
I am using version 1.12. I send the password with a carriage return and i
get echoed back the string of '*', and this are the ones that I cant hide. I
tried enabling a carriage return trigger after the password is sent but I
cant seem to trigger this (I tried with a carriage return and line feed).
Are the triggers enabled inmediately?

Cheers,
Alejandra

"Don Hill" <mails...@turbopower.com> wrote in message
news:QAtLGXai...@tpsmail01.turbopower.net...

Don Hill

unread,
Nov 13, 2002, 7:11:12 PM11/13/02
to
Alejandra,

Did you try using the new OnProcessChar event? There is some information in
the readme.hlp under the "Additions/Changes to the documentation" link.

--
Don Hill (TurboPower Software)
"Alejandra Moreno" <almo...@hotmail.com> wrote in message

news:SInK$oiiCH...@tpsmail01.turbopower.net...

Alejandra Moreno

unread,
Nov 14, 2002, 9:53:36 AM11/14/02
to
Don,

I am trying now the OnProcessChar event to trigger the '*' char and I get
run-time error 13, character mismatched, and when I stop the debugger i get
another error: Format '%s' invalid or incompatible with argument.
This is what I tried:

Private Sub Apax1_OnProcessChar(ByVal CharSource As Apax1.TxCharSource,
ByVal Character As Byte, ReplaceWith As String)

Dim a As String

a = "*"
If Character = CByte(a) Then
ReplaceWith = ""
End If

End Sub

I also tried with a = "\*" and with converting to Byte. What is wrong?

Thanxs again,
Alejandra

"Don Hill" <mails...@turbopower.com> wrote in message

news:2vK8WJ3i...@tpsmail01.turbopower.net...

Alejandra Moreno

unread,
Nov 15, 2002, 4:10:09 AM11/15/02
to
I got it!!
to trigger the asterisk, Character=42, for the info of those interested.

Alejandra

"Alejandra Moreno" <almo...@hotmail.com> wrote in message

news:I2w4c2#iCHA...@tpsmail01.turbopower.net...

0 new messages