diff options
author | Ralph Amissah <ralph@amissah.com> | 2007-07-07 09:21:47 +0100 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2007-07-07 09:21:47 +0100 |
commit | 52f8b9c0b1e1606a4260ef2e0df4d525497691b1 (patch) | |
tree | cfb189e2c1dce1af31fc4eb9c414b3bbc6128202 /lib/sisu/v0/urls.rb | |
parent | 0.55.1 sync (diff) |
cgi-sample search form; texinfo fix; xml scaffold; help, man pages etc. visited; screen output, color set to true; docbook entries removed
* cgi generated sample search form
* order results on files of the same title, in multiple files (with
different filenames)
* postgresql, character case sensitivity, control, on/off
* tail decoration, gplv3 & sisu info
* texinfo/info (pinfo) module starts to do something vaguely useful again
[not a much used module, testing required]
* print XML rendition of document structure to screen -T
* sisurc.yml default, color set to true
[apologies if this causes anyone any inconvenience, it is configurable in
sisurc.yml]
* help, man pages, README (man(8) related and env, 'sisu -V')
* docbook entries removed for the present time
* sisu-install (install ruby rant script renamed) and permissions set to
executable
Diffstat (limited to 'lib/sisu/v0/urls.rb')
-rw-r--r-- | lib/sisu/v0/urls.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sisu/v0/urls.rb b/lib/sisu/v0/urls.rb index a18cdc2f..09b15f2d 100644 --- a/lib/sisu/v0/urls.rb +++ b/lib/sisu/v0/urls.rb @@ -103,7 +103,7 @@ module SiSU_urls 'a (Plain-text (footnotes))'=>@fn[:plain], 'A (Plain-text (footnotes) dos)'=>@fn[:plain], 'b (XHTML)'=>@fn[:xhtml], - 'B (Docbook XML)'=>@fn[:docbook], + #'B (Docbook XML)'=>@fn[:docbook], 'D[iu] (DBI import/update postgresql)'=>'dbi psql', 'd[iu] (DBI import/update sqlite)'=>'dbi sqlite', 'e (Plain-text (endnotes))'=>@fn[:plain], @@ -137,7 +137,7 @@ module SiSU_urls end end def urls_maintenance(opt,x,y) - if x=~/^([aAbBceEhHmNopwxXy])/ and opt.cmd =~/[aAbBceEhHmNopwxXy]/ and x=~/^[#{opt.cmd}]/ + if x=~/^([aAbceEhHmNopwxXy])/ and opt.cmd =~/[aAbceEhHmNopwxXy]/ and x=~/^[#{opt.cmd}]/ m=$1 f=y tool=@editor @@ -180,7 +180,7 @@ module SiSU_urls @pwd_stub="#@webserv_url"[m,1] @u.each do |x,y| if @opt.fns =~ @m_regular - if x=~/^([aAbBceEhHNopsSwxXyY])/ and @opt.cmd=~/[aAbBceEhHNopsSwxXyY]/ and x=~/^[#{@opt.cmd}]/ + if x=~/^([aAbceEhHNopsSwxXyY])/ and @opt.cmd=~/[aAbceEhHNopsSwxXyY]/ and x=~/^[#{@opt.cmd}]/ m=$1 tell=SiSU_Screen::Ansi.new(@opt.cmd,"-#{x}","#@browser #@webserv_url/#@fnb/#{y}") tell.result unless @opt.cmd =~/q/ |