diff options
author | Ralph Amissah <ralph@amissah.com> | 2010-09-18 14:23:52 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2010-09-22 10:01:35 -0400 |
commit | 244f9e9671e15892beb2e5b2e7e7e88a3785b8e7 (patch) | |
tree | ef372908c1c5160ceeeaacbbcc1c93687ef987b7 /lib/sisu/v2/urls.rb | |
parent | options, bullet proof matches for --long-options (effects minor fix) (diff) |
urls, sysenv, set manpage viewer to "man"
Diffstat (limited to 'lib/sisu/v2/urls.rb')
-rw-r--r-- | lib/sisu/v2/urls.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sisu/v2/urls.rb b/lib/sisu/v2/urls.rb index 1011eda4..951a787a 100644 --- a/lib/sisu/v2/urls.rb +++ b/lib/sisu/v2/urls.rb @@ -220,7 +220,7 @@ module SiSU_urls end if x=~/^i/ \ and @opt.cmd =~/i/ - SiSU_Screen::Ansi.new(@opt.cmd,"-#{x}","#{@prog.manpage_generator} #{@env.path.manpage}/#{@fnb}.1 |most").result + SiSU_Screen::Ansi.new(@opt.cmd,"-#{x}","#{@prog.manpage_viewer} #{@env.path.manpage}/#{@fnb}.1").result @opt.cmd.gsub!(/I/,'') end if x=~/^P/ \ @@ -264,7 +264,7 @@ module SiSU_urls when /^I/ SiSU_Screen::Ansi.new(@opt.cmd,"-#{x}","cd #{@env.path.texinfo}; pinfo ./#{@fnb}.#{y}; cd -") when /^i/ - SiSU_Screen::Ansi.new(@opt.cmd,"-#{x}","#{@prog.manpage_generator} #{@env.path.manpage}/#{@fnb}.1 |most") + SiSU_Screen::Ansi.new(@opt.cmd,"-#{x}","#{@prog.manpage_viewer} #{@env.path.manpage}/#{@fnb}.1") end unless @opt.cmd =~/q/ tellx.result if tellx |