STDIN.gets under cygwin doesn't work
------------------------------------

                 Key: JRUBY-5902
                 URL: https://jira.codehaus.org/browse/JRUBY-5902
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.6.2
         Environment: jruby 1.6.0 (ruby 1.8.7 patchlevel 330) (2011-03-15 
f3b6154) (Java HotSpot(TM) Client VM 1.6.0_21) [Windows XP-x86-java]
            Reporter: Patrik Sundberg
            Assignee: Thomas E Enebo
             Fix For: JRuby 1.6.3


Under cmd.exe this works as expected:
> jruby -e "puts 'echo ' + STDIN.gets"
foo
echo foo

But under a cygwin prompt:
$ jruby -e "puts 'echo ' + STDIN.gets"
-- can't enter any input --

This is pretty disruptive for workflow for people working under cygwin. For 
example gem uninstall xxx asking you a question that you can't answer so then 
have to fire up a cmd.exe to do just that bit.

I'm trying to work out some kinks to get rvm+cygwin+jruby to work and it'd be 
great to get that normal workflow working on windows platform, fixing this bug 
would definitely help.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to