M. Edward (Ed) Borasky
10/25/2006 1:00:00 AM
Gregory Brown wrote:
> On 10/24/06, James Edward Gray II <james@grayproductions.net> wrote:
>> On Oct 24, 2006, at 1:40 PM, Gregory Brown wrote:
>>
>> > irb(main):001:0> RUBY_PLATFORM
>> > => "i386-cygwin"
>>
>> It seems safer to target this one as an exception, rather than mswin,
>> so I'll go with that.
>>
>> One last question though, if Termios was installed for Cygwin would
>> it work OK there? I'm trying to figure out if I need to bypass
>> HighLine's search for that too.
>
> I have no idea how to install termios for Cygwin since it's not part
> of the standard distribution (i don't think), and I'm not really a
> Cygwin user.
>
> However, stty is included with Cygwin, so I think highline would work
> using that.
>
>
Just about anything that will compile and execute on Linux will compile
and execute on CygWin. However, since the Ruby community has deprecated
CygWin, I'm not sure why new code should do other than detect it and
complain. :)
When I run software on a Windows machine, my preference is for native
tools, with CygWin a "plan B" and a Gentoo virtual machine as "plan C".