>>>>> "G" == Gilles Filippini <gilles.filippini / free.fr> writes:

G> I'll use FXScintilla. As soon as I'll have figured out how to manage IRB
G> standard streams it shouldn't be difficult to branch them on the text
G> editor. SciTE already does this with Scintilla.

 Well, you can try

pigeon% cat b.rb
#!/usr/bin/ruby
require 'irb'
class << STDOUT
   def write(s)
      $stderr.puts "HERE #{s}"
   end
end
IRB.start
pigeon% 

pigeon% b.rb
irb(main):001:0> aaa 
HERE NameError
HERE : 
HERE undefined local variable or method `aaa' for #<Object:0x401c6ce0>
HERE 
HERE    from (irb):1
HERE 
irb(main):002:0> HERE 
pigeon% 



Guy Decoux