Forum: Ruby apt-cgi-1.0

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
unknown (Guest)
on 2006-04-19 09:05
(Received via mailing list)
Hi,

== Abstract
w3m local CGI of APT.
Package names are hyperlinked, so you can navigate freely.

((<apt-sary|URL:http://www.rubyist.net/~rubikitch/computer/apt-sary/>))
makes it much faster.

=== Examples

  w3m apt:grep      # apt-cache search grep
  w3m apt-show:grep # apt-cache show grep
  w3m apt-file:grep # apt-file search grep



It is available at
http://www.rubyist.net/~rubikitch/computer/apt-cgi...


== What's new

=== [2006/04/19] 1.0 released
Initial release


== Install
Please execute the following commands.

  ruby -ropen-uri -e
'URI("http://www.rubyist.net/~rubikitch/archive/apt-cgi-...
> apt-cgi-1.0.tar.gz
  tar xzvf apt-cgi-1.0.tar.gz


When you failed, please download it from the next link.

*
((<apt-cgi-1.0.tar.gz|URL:http://www.rubyist.net/~rubikitch/archive/apt-cgi-...))

=== Install auxiliary library

  sudo ruby setup.rb

=== Install apt.cgi and urimethodmap

* Locate apt.cgi in /cgi-bin directory, which are shown by issuing `grep
cgi_bin ~/.w3m/config`.
* Add following lines to ~/.w3m/urimethodmap.
    apt: file:/cgi-bin/apt.cgi?cmd=search&arg=%s
    apt-search: file:/cgi-bin/apt.cgi?cmd=search&arg=%s
    apt-show: file:/cgi-bin/apt.cgi?cmd=show&arg=%s
    apt-file: file:/cgi-bin/apt.cgi?cmd=file_search&arg=%s
This topic is locked and can not be replied to.