From: Ian S. W. <ian...@us...> - 2009-06-03 17:10:30
|
Hi David. Unless I'm very much mistaken plink *is* an interface to putty which enables it to read from sysin and write to sysout. Surely I should be able to use that? i ------ Original Message ------ Received: 11:50 AM COT, 06/03/2009 From: David Ashley <dav...@gm...> To: Open Object Rexx Users <oor...@li...> Subject: Re: [Oorexx-users] oorexx and putty/plink > Ian S. Worthington wrote: > > Hi. > > > > I'd like to use oorexx to drive a telnet client, such as putty's plink, and > > process the responses, but I can't see how to hook a single program in the > > input and output of that. > > > > What do I need as glue, if anything, between oorexx and plink? > > > > > > ian > > ... > > > > Ian S. Worthington, MBCS. > > > > me: http://isw.me.uk/ > > photos: http://gallery.isw.me.uk/ > > > > > > Free 2GB online backups: > > https://mozy.com/?code=HJW4C8 (code gets you 256MB extra) > > > > Web hosting and support from $2.99/month: > > www.cirtexhosting.com/affiliates/idevaffiliate.php?id=463 > > > > > > Dulce et decorum est pro patria mori, sed dulcius pro patria vivere, et > > dulcissimus pro patria biber. Ergo, bibiamo pro salute patriae. > > > > > > > > > > ------------------------------------------------------------------------------ > > OpenSolaris 2009.06 is a cutting edge operating system for enterprises > > looking to deploy the next generation of Solaris that includes the latest > > innovations from Sun and the OpenSource community. Download a copy and > > enjoy capabilities such as Networking, Storage and Virtualization. > > Go to: http://p.sf.net/sfu/opensolaris-get > > _______________________________________________ > > Oorexx-users mailing list > > Oor...@li... > > https://lists.sourceforge.net/lists/listinfo/oorexx-users > > > > > Ian - > > It is more complicated than that. > > If the telnet program you are using provides a Rexx programmable > interface (an API) then you would use that to hook in Rexx exits to > perform processing for the I/O. But so far as I know there is not telnet > client program that exist that includes Rexx as a programmable interface. > > So the only other alternative is to write a telnet client in Rexx. This > is not an easy task and requires intimate knowledge of terminal types > and other difficult topics. It is probably the reason nobody has stepped > up to this task. > > Bottom line - unless you are willing to step up to the plate and write a > telnet client in Rexx or add Rexx API interfaces to an existing open > source telnet client I believe you are out of luck. But if you are > willing to take on this task I would be willing to supply you with what > support I can offer. > > David Ashley > > ------------------------------------------------------------------------------ > OpenSolaris 2009.06 is a cutting edge operating system for enterprises > looking to deploy the next generation of Solaris that includes the latest > innovations from Sun and the OpenSource community. Download a copy and > enjoy capabilities such as Networking, Storage and Virtualization. > Go to: http://p.sf.net/sfu/opensolaris-get > _______________________________________________ > Oorexx-users mailing list > Oor...@li... > https://lists.sourceforge.net/lists/listinfo/oorexx-users > |