Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: JRuby 1.1.6
-
Fix Version/s: None
-
Component/s: Extensions
-
Labels:None
-
Number of attachments :
Description
The display program for ri/rdoc depends on being able to popen less/more/pager to do paging of the results. The launch of the pager itself works fine in JRuby, but it immediately terminates after a page of data, probably because to a subprocess of the JVM it does not look like a real terminal. If there's a way to make our popen look like a terminal to subprocesses, it would probably solve this. For now I have forcibly disabled paging in ri, so it will at least output the entire content.
Issue Links
- relates to
-
JRUBY-4231
[regression] ri is broken on Windows
-
Note that the current behavior actually seems to hang on Windows, so there's some process juggling that's not working right. See
JRUBY-3630for a description, and fixing this should also include testing on Windows.