From: caleb clausen Date: 2010-07-11T09:47:41+09:00 Subject: [ruby-core:31182] [Bug #3428] ri outputs ansi escape sequences even when stdout is not a tty Issue #3428 has been updated by caleb clausen. File rdoc_ansi_esc_test.diff added Sorry for the delay getting back to you on this. Here's a patch which expands test_formatter slightly to exercise the path when output is not a tty. I had hoped to write a high-level black box test, which would be more robust and thorough. But that has proved to be a little more involved than I anticipated. ---------------------------------------- http://redmine.ruby-lang.org/issues/show/3428 ---------------------------------------- http://redmine.ruby-lang.org