Can Rev Telnet?

MisterX b.xavier at internet.lu
Fri Jul 2 07:10:06 EDT 2004


After a little digging, there might be a possibility.

The problem is the entering of a special "interactive"
shell program that waits for information to be typed in.

I tried to telnet into my router and couldn't get the info
back even though I queued all the commands in.

If I paste the text into the shell, it works but you can't
seem to send it to the shell command.

But there's two modes to telnet... See the telnet.chm file
in your winnt folder: client side.

So the key may be to be able to send a control-] (ascii 27)
to the shell. I tried this too and no go.

My guess is that you have to write your own telnet client...

Here's the RFC...
http://www.faqs.org/rfcs/rfc854.html

cheers
Xavier

> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com
> [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of MisterX
> Sent: Friday, July 02, 2004 12:20
> To: How to use Revolution
> Subject: RE: Can Rev Telnet?
>
>
> Not that RR can't do this but there are plenty of
> scripteable telnets that would avoid the protocol
> programming involved... You seem to be looking for
> a faster solution...
>
> You can use RR to do the shell("arp -s ")
> and then launch the telnet and run a macro
> or an applescript or the shell to tell it what to do...
>
>
>
> > -----Original Message-----
> > From: use-revolution-bounces at lists.runrev.com
> > [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Gardner,
> > Joseph A
> > Sent: Friday, July 02, 2004 09:37
> > To: use-revolution at lists.runrev.com
> > Subject: RE: Can Rev Telnet?
> >
> >
> > Really appreciate all the responses to my query. What my group
> > does a lot of is configure Lantronix micro print servers for
> > small non-LAN printers. We've been doing this through the Win DOS
> > command console line-by-tedious-line and I'm just getting fed up
> > with it. I thought I'd take a shot at writing a little scripted
> > tool that would run all the lines automagically and would also
> > work on the Mac. Running the config lines should be easy once I
> > got a telnet session started. I would also need to script an "arp
> > -s" command as the first step and the shell structure looks like
> > it may be what I've been searching for. Will try some things out
> > and hope for the best.
> >
> > Thanks to all for the help!
> >
> > joe.
> >
> > > ----------
> > >
> > > From: "MisterX" <b.xavier at internet.lu>
> > >
> > > have you tried
> > >
> > > answer shell("telnet /?")
> > >
> > > I dont know if the shell will be blocked though because the
> > nature of telnet
> > > (like ftp or nslookup).
> > > Otherwise there is a stack that does FTP for metacard (google
> > it) which does
> > > a similar thing.
> > >
> > > There was this one nice telnet applescriptable tool on the mac.
> > Alas I dont
> > > know of any similar
> > > tools on PCs.
> > >
> > > use tcp port 23 to send your sockets.
> > > I dont know the protocols but there shure is an rfc for it to
> > learn them.
> > >
> > > Hope that helps. Telling us what you want to do may bring
> > another solution
> > > though...
> > > Cheers
> > > Xavier
> > >
> > > > From: Jay Madren
> > > >
> > > > Are you wanting to remotely execute console/command prompt
> > > > commands from one
> > > > Windows NT/2000/XP machine to another?  If so, take a look at PsExec
> > > > www.sysinternals.com (part of the PsTools suite) - and it's
> > free.  If your
> > > > needs are different, then please ignore this.
> > > >
> > > > Jay Madren
> > _______________________________________________
> > use-revolution mailing list
> > use-revolution at lists.runrev.com
> > http://lists.runrev.com/mailman/listinfo/use-revolution
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution



More information about the use-livecode mailing list