[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference jamin::pathworks32

Title:Digital PATHWORKS 32
Moderator:SPELNK::curless
Created:Fri Nov 01 1996
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:337
Total number of notes:1612

44.0. "password assistant under win95?" by VMSNET::M_SMITH () Tue Nov 26 1996 11:04

T.RTitleUserPersonal
Name
DateLines
44.1SPELNK::curlessTue Nov 26 1996 21:429
44.2how?VMSNET::M_SMITHTue Dec 03 1996 13:246
44.3SPELNK::curlessWed Dec 04 1996 09:1815
44.4You're not using a local lock box, are you ?WOTVAX::16.194.208.3::sharkeyaThe answer really is 42Wed Dec 04 1996 16:274
44.5SPELNK::curlessThu Dec 05 1996 10:1214
44.6not working yet!!VMSNET::M_SMITHFri Dec 06 1996 08:5912
44.7Yes, it doesSPELNK::curlessFri Dec 06 1996 10:0525
44.8i am doing that!VMSNET::M_SMITHFri Dec 06 1996 10:396
44.9oopsVMSNET::M_SMITHFri Dec 06 1996 10:456
44.10is it in powerterm yet?VMSNET::M_SMITHFri Dec 06 1996 11:406
44.11PowerTerm 525 speaks .SCR tooJOBIM::VUJNOVICI�t�r��t���l�z�t��L���l�z�t��Fri Dec 06 1996 12:0619
44.12Yes, but not on EFT2SPELNK::curlessMon Dec 09 1996 14:126
44.13more on password assistantVMSNET::DMCFARLANDWed Jan 22 1997 14:1726
44.14Try a .SCR firstJOBIM::VUJNOVICI�t�r��t���l�z�t��L���l�z�t��Wed Jan 22 1997 17:0019
44.15.scr file works fine...VMSNET::DMCFARLANDThu Jan 23 1997 14:1112
44.16How do you psss account as a p parameterYAKKA::KINGSMILLGeoff Kingsmill, AustraliaSat Jan 25 1997 00:3629
I would like to pass the account as a parameter but can not get it to work.
It works if I use "send username:kingsmill" but fails if I use 
"send username:$p2". Any ideas why? What is the syntax to do this?

Thanks,
Geoff..

C:\pt525 telnet.psl yakka kingsmill

#TELNET.PSL
# Opens a TELNET connection (Via TCP/IP WINSOCK api).
#
# Parameters: $p1 - hostname
#             $p2 - username
#             $p3 - port (optional)
#
set comm-type telnet
set host-name $p1
if [info exist p3] {
 set telnet-port $p3
}
session open
wait 15 for "Username: "
send username:$p2
wait 10 for "Password: "
send password:$p2
window title "$p1 $p2"
run keys.psl

44.17Ericom notified...JOBIM::VUJNOVICI�t�r��t���l�z�t��L���l�z�t��Sat Jan 25 1997 16:010
44.18Bad news for this versionJOBIM::VUJNOVICI�t�r��t���l�z�t��L���l�z�t��Mon Jan 27 1997 07:374
Ericom replied that in this version passing parameters to these
two commands is not supported. I suppose that send username and send 
password are treated exectly like they are in VT320, where you
cannot supply a passed parameter or a variable.