On Thu, Apr 21, 2005 at 06:38:08PM -0700, Jan Dubois wrote:
> On Thu, 21 Apr 2005, Edward Peschko wrote:
> > I noticed that ActiveState had ported Expect to windows, and would
> > like to use the perl Expect module natively on win32 rather than write
> > a wrapper around Expect (the program).
> >
> > Who did the Expect translation at ActiveState, and how easy would
> > it be to modify IO::Pty to be native on win32? (rather than say,
> > using cygwin)
> 
> Expect on Windows effectively acts as a debugger, doing dirty tricks
> like hooking system APIs and injecting code into the other processes to
> get the level of control required by Expect. It is not simply a pty
> emulation. It only tries to look like one. :)
> 
> It was written by our Tcl guys; I don't really know anything about it.
> 
> Cheers,

rrr.  Well, all I can say is that I wouldn't mind Perl cheating in the same way,
and wrapping up all the messy bits into a module and calling it a Pty.. It's not
like perl hasn't cheated this way before.

Or perhaps the expect folks abstracting out all the ugly bits so that you 
could link to a C library that did pseudo-ptys.

(this second bit would be especially helpful for other processes that would 
want 
to use it, such as vim (vim7 is adding a IDE mode, and it would be great if 
it could act like expect and screen-scrape debugging output)

Could you forward on this message to the expect folks? I wouldn't mind at least
talking to them about it.

Ed
_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to