1
#! /bin/sh /usr/share/dpatch/dpatch-run
2
## 900_ri_pager.dpatch by akira yamada <akira@debian.org>
4
## All lines beginning with `## DP:' are a description of the patch.
5
## DP: try 'pager' before 'less'.
6
## DP: See http://redmine.ruby-lang.org/issues/show/1171
9
diff -urNad ruby1.9-1.9.0.1~/lib/rdoc/ri/display.rb ruby1.9-1.9.0.1/lib/rdoc/ri/display.rb
10
--- ruby1.9-1.9.0.1~/lib/rdoc/ri/display.rb 2008-01-31 15:48:35.000000000 +0900
11
+++ ruby1.9-1.9.0.1/lib/rdoc/ri/display.rb 2008-03-06 11:35:27.000000000 +0900
15
unless @use_stdout then
16
- for pager in [ ENV['PAGER'], "less", "more", 'pager' ].compact.uniq
17
+ for pager in [ ENV['PAGER'], "pager", "less", "more" ].compact.uniq
18
return IO.popen(pager, "w") rescue nil