[macruby-changes] [2944] MacRuby/trunk/lib/rdoc/ri/driver.rb

source_changes at macosforge.org source_changes at macosforge.org
Mon Nov 2 18:38:22 PST 2009


Revision: 2944
          http://trac.macosforge.org/projects/ruby/changeset/2944
Author:   lsansonetti at apple.com
Date:     2009-11-02 18:38:22 -0800 (Mon, 02 Nov 2009)
Log Message:
-----------
disable ri paging facility for now

Modified Paths:
--------------
    MacRuby/trunk/lib/rdoc/ri/driver.rb

Modified: MacRuby/trunk/lib/rdoc/ri/driver.rb
===================================================================
--- MacRuby/trunk/lib/rdoc/ri/driver.rb	2009-11-03 02:36:34 UTC (rev 2943)
+++ MacRuby/trunk/lib/rdoc/ri/driver.rb	2009-11-03 02:38:22 UTC (rev 2944)
@@ -82,7 +82,9 @@
 
   def self.default_options
     options = {}
-    options[:use_stdout] = !$stdout.tty?
+    # XXX Because of a bug in IO.popen, MacRuby is unable to use the pager facility.
+    #options[:use_stdout] = !$stdout.tty?
+    options[:use_stdout] = true
     options[:width] = 72
     options[:formatter] = RDoc::RI::Formatter.for 'plain'
     options[:interactive] = false
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20091102/5ff0756c/attachment-0001.html>


More information about the macruby-changes mailing list