This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I'm using the output window in the Ruby support to run user processes. Some of these can take input. For example, create a Ruby application and change the showing source file to x = gets puts "Bye " + x Run it. In previous milestones, this worked; you could enter input in the textfield below the output window (which my code enabled by calling InputOutput.setInputVisible(true) But recently, it's no longer working. I suspect this is because of the improved handling of I/O where there's a cursor in the output window itself? I imagine this was implemented precisely to allow the kind of thing I'm trying to do, but either it's not working, or I'm supposed to do something different to enable it.
By "it's no longer working", I meant that pressing the Return key seems to have no effect, it does not seem to "commit" the input to the process such that the program can proceed.
fixed. got broken by another fix that needs Enter to follow links in OW. Following links now works only when no input is requested (mouse clicking still works in that case). When input is requested by the underlying process, enter key means "send what was typed"
*** Issue 107221 has been marked as a duplicate of this issue. ***
input can be sent by enter now, that's ok. The other thing is that input is not shown during typing, I'll file another issue for that. verified in Product Version: NetBeans IDE 6.0 (Build 200711261600) Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05 System: Linux version 2.6.20-16-generic running on i386; UTF-8; en_US (nb) Userdir: /home/tomas/.netbeans/6.0