Commit 329c3f05 authored by Ian Beckwith's avatar Ian Beckwith

Default to graphical mode. See surfraw(1) for how to change it back.

piratebay, genportage. Thanks to J.R. Mauro.
Add tests for piratebay and genportage.
Fix webster.
Fix test for ebay china.
document ./configure options
parent 6b7019f3
2008-09-13 Ian Beckwith <ianb@erislabs.net>
* Default to graphical mode. See surfraw(1) for how to change it back.
* New elvis: piratebay, genportage. Thanks to J.R. Mauro.
* Add tests for piratebay and genportage.
* Fix webster.
* Fix test for ebay china.
* README: document ./configure options
2008-08-26 Ian Beckwith <ianb@erislabs.net>
* Fixed tests: amazon, debbugs, yahoo.
......
......@@ -15,15 +15,20 @@
N E W S
Sat Jul 19 05:46:03 BST 2008 - surfraw 2.2.3
Sat Sep 13 20:40:01 BST 2008 - surfraw 2.2.3
* Surfraw now defaults to graphical mode. See surfraw(1)
for how to change the default back.
* Search for default browsers during build.
This can be overridden by passing --with-text-browser=BROWSER
and --with-graphical-browser=BROWSER to ./configure.
* New elvis: piratebay, genportage. Thanks to J.R. Mauro.
* Detect which awk to use.
* Fixed slinuxdoc.
* Fixed slinuxdoc and webster.
* Removed bashisms.
* Fixed uninstall.
* Add --disable-sr option to ./configure to disable installing the
'sr' symbolic link, to avoid clashes with the SR programming language.
Thu Jul 3 08:47:14 BST 2008 - surfraw 2.2.2
......
This diff is collapsed.
surfraw (2.2.3-1) unstable; urgency=low
* New upstream version.
+ Now defaults to graphical mode, see surfraw(1) for how to change it back.
* Change default text browser to www-browser and default
graphical browser to sensible-browser.
......
......@@ -41,6 +41,7 @@ dist_elvi_SCRIPTS = \
freshmeat \
fsfdir \
genpkg \
genportage \
gutenberg \
ixquick \
google \
......@@ -55,6 +56,7 @@ dist_elvi_SCRIPTS = \
musicbrainz \
netbsd \
openbsd \
piratebay \
pgpkeys \
port \
pubmed \
......
......@@ -44,13 +44,13 @@ am__dist_elvi_SCRIPTS_DIST = W alioth altavista amazon archpkg arxiv \
ask austlii bbcnews cddb cia cite cnn codesearch ctan currency \
cve debbugs debcontents deblists deblogs debpackages debpts \
debsec debwiki deja discogs dmoz ebay etym excite fast foldoc \
filesearching freebsd freedb freshmeat fsfdir genpkg gutenberg \
ixquick google happypenguin imdb javasun scpan slinuxdoc \
lastfm leodict lsm musicbrainz netbsd openbsd pgpkeys port \
pubmed rae rfc rhyme scaleplus scholar slashdot sourceforge \
stockquote sunonesearch thesaurus translate w3css w3html \
w3link w3rdf wayback webster wetandwild wikipedia woffle yahoo \
yubnub opensearch
filesearching freebsd freedb freshmeat fsfdir genpkg \
genportage gutenberg ixquick google happypenguin imdb javasun \
scpan slinuxdoc lastfm leodict lsm musicbrainz netbsd openbsd \
piratebay pgpkeys port pubmed rae rfc rhyme scaleplus scholar \
slashdot sourceforge stockquote sunonesearch thesaurus \
translate w3css w3html w3link w3rdf wayback webster wetandwild \
wikipedia woffle yahoo yubnub opensearch
am__installdirs = "$(DESTDIR)$(elvidir)"
dist_elviSCRIPT_INSTALL = $(INSTALL_SCRIPT)
SCRIPTS = $(dist_elvi_SCRIPTS)
......@@ -138,13 +138,13 @@ dist_elvi_SCRIPTS = W alioth altavista amazon archpkg arxiv ask \
austlii bbcnews cddb cia cite cnn codesearch ctan currency cve \
debbugs debcontents deblists deblogs debpackages debpts debsec \
debwiki deja discogs dmoz ebay etym excite fast foldoc \
filesearching freebsd freedb freshmeat fsfdir genpkg gutenberg \
ixquick google happypenguin imdb javasun scpan slinuxdoc \
lastfm leodict lsm musicbrainz netbsd openbsd pgpkeys port \
pubmed rae rfc rhyme scaleplus scholar slashdot sourceforge \
stockquote sunonesearch thesaurus translate w3css w3html \
w3link w3rdf wayback webster wetandwild wikipedia woffle yahoo \
yubnub $(am__append_1)
filesearching freebsd freedb freshmeat fsfdir genpkg \
genportage gutenberg ixquick google happypenguin imdb javasun \
scpan slinuxdoc lastfm leodict lsm musicbrainz netbsd openbsd \
piratebay pgpkeys port pubmed rae rfc rhyme scaleplus scholar \
slashdot sourceforge stockquote sunonesearch thesaurus \
translate w3css w3html w3link w3rdf wayback webster wetandwild \
wikipedia woffle yahoo yubnub $(am__append_1)
all: all-am
.SUFFIXES:
......
#!/bin/sh
#
# AUTHOR: J.R. Mauro
#
# DATE: Mon Sep 1 13:16:16 EDT 2008
#
# DESC: Elvi to search gentoo-portage.com
# elvis: genportage -- Search gentoo-portage.com for packages
. surfraw || exit 1
w3_usage_hook () {
cat <<EOF
Usage: $w3_argv0 [options] [search words]...
Description:
Search gentoo-portage for packages
EOF
w3_global_usage
}
w3_config
w3_parse_args "$@"
# w3_args now contains a list of arguments
if test -z "$w3_args"; then
w3_browse_url "http://www.gentoo-portage.com"
else
escaped_args=`w3_url_of_arg $w3_args`
w3_browse_url "http://www.gentoo-portage.com/Search?search=${escaped_args}"
fi
#!/bin/sh
#
# AUTHOR: J.R. Mauro
#
# DATE: Mon Sep 1 12:18:12 EDT 2008
#
# DESC: Elvi to search The Pirate Bay
# elvis: piratebay -- Search thepiratebay.org for torrents
. surfraw || exit 1
w3_usage_hook () {
cat <<EOF
Usage: $w3_argv0 [options] [search words]...
Description:
Search thepiratebay.org for torrents
EOF
w3_global_usage
}
w3_config
w3_parse_args "$@"
# w3_args now contains a list of arguments
if test -z "$w3_args"; then
w3_browse_url "http://thepiratebay.org"
else
escaped_args=`w3_url_of_arg $w3_args`
w3_browse_url "http://thepiratebay.org/search/${escaped_args}"
fi
......@@ -4,7 +4,7 @@
. surfraw || exit 1
w3_config_hook () {
def SURFRAW_webster_book Dictionary
def SURFRAW_webster_book dictionary
}
w3_usage_hook () {
......@@ -22,7 +22,7 @@ w3_parse_option_hook () {
opt="$1"
optarg="$2"
case "$opt" in
-t*) setopt SURFRAW_webster_book Thesaurus ;;
-t*) setopt SURFRAW_webster_book thesaurus ;;
*) return 1 ;;
esac
return 0
......@@ -35,8 +35,8 @@ SURFRAW_quote_ifs=0
w3_parse_args "$@"
# w3_args now contains a list of arguments
if test -z "$w3_args"; then
w3_browse_url "http://www.m-w.com/dictionary.htm"
w3_browse_url "http://www.merriam-webster.com/dictionary.htm"
else
escaped_args=`w3_url_of_arg $w3_args`
w3_browse_url "http://www.m-w.com/cgi-bin/dictionary?book=${SURFRAW_webster_book}&va=${escaped_args}"
w3_browse_url "http://www.merriam-webster.com/${SURFRAW_webster_book}/${escaped_args}"
fi
......@@ -37,6 +37,7 @@ elvi.1sr.gz @mandir@/man1/freedb.1sr.gz
elvi.1sr.gz @mandir@/man1/freshmeat.1sr.gz
elvi.1sr.gz @mandir@/man1/fsfdir.1sr.gz
elvi.1sr.gz @mandir@/man1/genpkg.1sr.gz
elvi.1sr.gz @mandir@/man1/genportage.1sr.gz
elvi.1sr.gz @mandir@/man1/google.1sr.gz
elvi.1sr.gz @mandir@/man1/gutenberg.1sr.gz
elvi.1sr.gz @mandir@/man1/happypenguin.1sr.gz
......@@ -49,6 +50,7 @@ elvi.1sr.gz @mandir@/man1/lsm.1sr.gz
elvi.1sr.gz @mandir@/man1/musicbrainz.1sr.gz
elvi.1sr.gz @mandir@/man1/netbsd.1sr.gz
elvi.1sr.gz @mandir@/man1/openbsd.1sr.gz
elvi.1sr.gz @mandir@/man1/piratebay.1sr.gz
elvi.1sr.gz @mandir@/man1/pgpkeys.1sr.gz
elvi.1sr.gz @mandir@/man1/port.1sr.gz
elvi.1sr.gz @mandir@/man1/pubmed.1sr.gz
......
......@@ -34,7 +34,7 @@ def SURFRAW_conf $HOME/.surfraw.conf
# graphical browser? defaults to yes for meatminds. text browser users can
# work it out how to change it.
defyn SURFRAW_graphical no
defyn SURFRAW_graphical yes
# name/path of text browser executable
# e.g links, lynx, w3m
......
......@@ -17,7 +17,7 @@ iPod
ebay -c=ch ipod
iPod
ebay -c=cn ipod
mp3
iPod
ebay -c=de ipod
iPod
ebay -c=es ipod
......
sr genportage surfraw
www-client/surfraw
sr piratebay simpsons
impsons.*S\d+E\d+
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment