[BioRuby-cvs] bioruby/lib/bio/shell session.rb,1.10,1.11
Katayama Toshiaki
k at pub.open-bio.org
Wed Dec 7 02:50:47 EST 2005
Update of /home/repository/bioruby/bioruby/lib/bio/shell
In directory pub.open-bio.org:/tmp/cvs-serv27465/lib/bio/shell
Modified Files:
session.rb
Log Message:
* less command is changed to use config
Index: session.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/shell/session.rb,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** session.rb 28 Nov 2005 12:07:42 -0000 1.10
--- session.rb 7 Dec 2005 07:50:44 -0000 1.11
***************
*** 123,127 ****
def less(file)
! pager = ENV['PAGER'] || "less"
system("#{pager} #{file}")
end
--- 123,127 ----
def less(file)
! pager = Bio::Shell.config[:pager] || ENV['PAGER'] || "less"
system("#{pager} #{file}")
end
More information about the bioruby-cvs
mailing list