Bugs: Browse | Submit New | Admin

[#5036] Please implement expect.rb for Windows Ruby

Date:
2006-07-12 20:44
Priority:
3
Submitted By:
Doug Holland (meldroc)
Assigned To:
Yukihiro Matsumoto (matz)
Category:
Misc / Other Standard Library
State:
Closed
Platform:
 
Summary:
Please implement expect.rb for Windows Ruby

Detailed description
I've written a series of scripts on my Linux box at work that make extensive use of expect.rb in the standard
Unix/Linux-based Ruby distribution.  When I tried moving these scripts over to a Windows machine, I found that Windows
Ruby doesn't have expect.rb at all.

Adapting my scripts to not use expect.rb would be an exceptional pain.  Please implement expect.rb for Windows Ruby.

Add A Comment: Notepad

Please login


Followup

Message
Date: 2006-07-21 21:58
Sender: Tom Copeland

Closing per Matz's answer here:

http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/8304

However, you may want to read through the responses, especially
the notes from Sam Roberts and U. Nakamura.

Yours,

tom
Date: 2006-07-12 20:58
Sender: Daniel Berger

Doug,

First, this is a feature request, not a bug.

Second, expect.rb is a wrapper around pty.h, which does not exist
on Windows.  You can't just "make it work".

There are ports of expect (the tcl lib) for Windows, and it looks
like it's possible, but it won't be trivial.

- Dan

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

Field Old Value Date By
status_idOpen2006-07-21 21:58tom
assigned_tonone2006-07-21 21:58tom
close_date2006-07-21 21:582006-07-21 21:58tom