Subj : Re: New User Script
To : Digital Man
From : Lab Rat
Date : Thu Mar 06 2014 01:16 pm
> Yeah, that would be a better approach. If you're using the current
> development build (v3.16), then you can pass the username and password to
> the JavaScript bbs.rlogin_gate method (as the 2nd and 3rd arguments). Like
> this:
>
> bbs.rlogin_gate(host, name, pass);
>
> If you use that instead of bbs.telnet_gate() in the remote systems's
> rlogin.js, that'll allow you to pass whatever name/pass combination you
> wish via RLogin.
>
> digital man
I'm afraid I just cannot get rlogin_gate to do anything. When I run it in
JavaScript, absolutely nothing happens:
load("sbbsdefs.js");
var host="192.168.0.172";
var name="Bbs Client";
var pass="password";
bbs.rlogin_gate(host, name, pass);
console.writeln("Finished");
console.pause();
I don't even get to see the 'Finished' text. If I connect to the system
192.168.0.172 from SyncTERM using RLogin and those same credentials, it
connects just fine.
If I substitute the rlogin_gate with telnet_gate and use this line:
bbs.telnet_gate(host, TG_RLOGIN);
This connects fine, but of course it's passing the logged in user's
credentials, not the specific ones I want to pass.