Commit 4ee05423 authored by Ian Beckwith's avatar Ian Beckwith

added leodict and happypenguin from Moritz Muehlenhoff

    <jmm@informatik.uni-bremen.de> Upped Standards-Version to 3.6.1.0
    reenabled translate->stranslate rename till namespace is sorted
parent aadc380d
# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am
# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
......@@ -61,7 +61,11 @@ PRE_UNINSTALL = :
POST_UNINSTALL = :
host_alias = @host_alias@
host_triplet = @host@
CC = @CC@
HAVE_LIB = @HAVE_LIB@
ISODATE = @ISODATE@
LIB = @LIB@
LTLIB = @LTLIB@
MAKEINFO = @MAKEINFO@
PACKAGE = @PACKAGE@
VERSION = @VERSION@
......@@ -104,7 +108,7 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
$(ACLOCAL_M4): configure.in
cd $(srcdir) && $(ACLOCAL)
config.status: $(srcdir)/configure.in $(CONFIG_STATUS_DEPENDENCIES)
config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
$(SHELL) ./config.status --recheck
$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
cd $(srcdir) && $(AUTOCONF)
......@@ -191,7 +195,7 @@ maintainer-clean-recursive:
dot_seen=no; \
rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
rev="$$subdir $$rev"; \
test "$$subdir" = "." && dot_seen=yes; \
test "$$subdir" != "." || dot_seen=yes; \
done; \
test "$$dot_seen" = "no" && rev=". $$rev"; \
target=`echo $@ | sed s/-recursive//`; \
......@@ -233,7 +237,7 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
awk ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
|| (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
mostlyclean-tags:
......
......@@ -50,56 +50,56 @@ Distribution:
For example:
$ surfraw
W -- Activate Surfraw defined web-browser
alioth -- Search Alioth (alioth.debian.org)
altavista -- Search the web using Altavista (www.altavista.com)
amazon -- Search the amazon.com bookstore
appwatch -- Search entries on Appwatch (www.appwatch.com)
ask -- Question the web using Ask Jeeves (www.ask.com)
austlii -- Search Australian Law docs (www.austlii.edu.au)
bbcnews -- Search BBC News (news.bbc.co.uk)
britannica -- Look up word in Encyclopedia Britannica (www.britannica.com)
cddb -- Search for cd track listings in CDDB (www.gracenote.com)
cite -- Search computer science papers (www.researchindex.com)
cnn -- Search on CNN (cnn.com)
currency -- Abuse the Universal Currency Converter (www.xe.net/ucc)
debbugs -- Search the debian BTS (bugs.debian.org)
debcontents -- Search contents of debian packages (packages.debian.org)
deblists -- Search debian mailing lists (lists.debian.org/search.html)
debpackages -- Search debian packages (packages.debian.org)
deja -- Search usenet using Google Groups (groups.google.com)
excite -- Search on Excite (www.excite.com)
fast -- Search the web using FAST Search (www.alltheweb.com)
filesearching -- Search files on filesearching (www.filesearching.com)
freebsd -- Search FreeBSD related information (www.freebsd.org)
freedb -- Search for cd track listings in FreeDB (www.freedb.org)
freshmeat -- Search Freshmeat (www.freshmeat.net)
ftpfind -- Search files on ftpfind (www.ftpfind.com)
ftpsearch -- Search files on ftpsearch (ftpsearch.lycos.com)
google -- Search the web using Google (www.google.com)
imdb -- Search the Internet Movie Database (www.imdb.com)
jake -- Search journal/databases in jake (jake.med.yale.edu)
netbsd -- Search NetBSD related information (www.netbsd.org)
openbsd -- Search OpenBSD related information (www.openbsd.org)
pubmed -- Search medical/molbio databases (www.ncbi.nlm.nih.gov)
raging -- Search the web using Raging (www.raging.com)
rhyme -- Search for rhymes et al using Lycos Rhyme (rhyme.lycos.com)
scaleplus -- Search Australian Law using ScalePlus (scaleplus.law.gov.au)
scpan -- Search the Comprehensive Perl Archive Network (search.cpan.org)
slashdot -- Search stories on Slashdot (www.slashdot.org)
slinuxdoc -- Search entries in LDP (www.linuxdoc.org)
sourceforge -- Search SourceForge (www.sourceforge.net)
stockquote -- Get a single stock quote (multiple providers)
sundocs -- Search docs on Sun.com (docs.sun.com)
sunsolve -- Search public docs on Sunsolve (sunsolve.sun.com)
swhois -- Search Whois (www.geektools.com)
thesaurus -- Look up word in Merriam-Webster's Thesaurus (www.m-w.com)
translate -- Translate human languages (various providers)
webster -- Look up word in Merriam-Webster's Dictionary (www.m-w.com)
wetandwild -- Real time weather information (many sources)
woffle -- Search the web using Woffle (localhost:8080)
xxx -- Superior XXX, hot and ready to press (arXiv.org)
yahoo -- Search Yahoo categories (www.yahoo.com)
alioth -- Search Alioth (alioth.debian.org)
altavista -- Search the web using Altavista (www.altavista.com)
amazon -- Search the amazon.com bookstore
appwatch -- Search entries on Appwatch (www.appwatch.com)
ask -- Question the web using Ask Jeeves (www.ask.com)
austlii -- Search Australian Law docs (www.austlii.edu.au)
bbcnews -- Search BBC News (news.bbc.co.uk)
britannica -- Look up word in Encyclopedia Britannica (www.britannica.com)
cddb -- Search for cd track listings in CDDB (www.gracenote.com)
cite -- Search computer science papers (www.researchindex.com)
cnn -- Search on CNN (cnn.com)
currency -- Abuse the Universal Currency Converter (www.xe.net/ucc)
debbugs -- Search the debian BTS (bugs.debian.org)
debcontents -- Search contents of debian packages (packages.debian.org)
deblists -- Search debian mailing lists (lists.debian.org/search.html)
debpackages -- Search debian packages (packages.debian.org)
deja -- Search usenet using Google Groups (groups.google.com)
excite -- Search on Excite (www.excite.com)
fast -- Search the web using FAST Search (www.alltheweb.com)
filesearching -- Search files on filesearching (www.filesearching.com)
freebsd -- Search FreeBSD related information (www.freebsd.org)
freedb -- Search for cd track listings in FreeDB (www.freedb.org)
freshmeat -- Search Freshmeat (www.freshmeat.net)
ftpfind -- Search files on ftpfind (www.ftpfind.com)
ftpsearch -- Search files on ftpsearch (ftpsearch.lycos.com)
google -- Search the web using Google (www.google.com)
imdb -- Search the Internet Movie Database (www.imdb.com)
jake -- Search journal/databases in jake (jake.med.yale.edu)
leodict -- Search leo's German <-> English dictionary (dict.leo.org)
netbsd -- Search NetBSD related information (www.netbsd.org)
openbsd -- Search OpenBSD related information (www.openbsd.org)
pubmed -- Search medical/molbio databases (www.ncbi.nlm.nih.gov)
raging -- Search the web using Raging (www.raging.com)
rhyme -- Search for rhymes et al using Lycos Rhyme (rhyme.lycos.com)
scaleplus -- Search Australian Law using ScalePlus (scaleplus.law.gov.au)
scpan -- Search the Comprehensive Perl Archive Network (search.cpan.org)
slashdot -- Search stories on Slashdot (www.slashdot.org)
slinuxdoc -- Search entries in LDP (www.linuxdoc.org)
sourceforge -- Search SourceForge (www.sourceforge.net)
stockquote -- Get a single stock quote (multiple providers)
sundocs -- Search docs on Sun.com (docs.sun.com)
sunsolve -- Search public docs on Sunsolve (sunsolve.sun.com)
swhois -- Search Whois (www.geektools.com)
thesaurus -- Look up word in Merriam-Webster's Thesaurus (www.m-w.com)
translate -- Translate human languages (various providers)
webster -- Look up word in Merriam-Webster's Dictionary (www.m-w.com)
wetandwild -- Real time weather information (many sources)
woffle -- Search the web using Woffle (localhost:8080)
xxx -- Superior XXX, hot and ready to press (arXiv.org)
yahoo -- Search Yahoo categories (www.yahoo.com)
All elvi have useful low calorie help, for example:
......
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -3,7 +3,7 @@ Section: web
Priority: optional
Maintainer: Christian Surchi <csurchi@debian.org>
Uploaders: Thomas Smith <tgs@debian.org>
Standards-Version: 3.5.6
Standards-Version: 3.6.1.0
Build-Depends-Indep: debhelper (>> 3.0)
Package: surfraw
......
......@@ -66,7 +66,7 @@ install: build
# Add here commands to install the package into debian/surfraw.
# $(MAKE) install prefix=$(CURDIR)/debian/surfraw/usr
$(MAKE) install prefix=`pwd`/debian/surfraw/usr sysconfdir=`pwd`/debian/surfraw/etc
# mv `pwd`/debian/surfraw/usr/bin/translate `pwd`/debian/surfraw/usr/bin/stranslate
mv `pwd`/debian/surfraw/usr/bin/translate `pwd`/debian/surfraw/usr/bin/stranslate
# Build architecture-independent files here.
binary-indep: build install
......
......@@ -21,7 +21,9 @@ usr/share/man/man1/surfraw.1.gz usr/share/man/man1/freshmeat.1.gz
usr/share/man/man1/surfraw.1.gz usr/share/man/man1/ftpfind.1.gz
usr/share/man/man1/surfraw.1.gz usr/share/man/man1/ftpsearch.1.gz
usr/share/man/man1/surfraw.1.gz usr/share/man/man1/google.1.gz
usr/share/man/man1/surfraw.1.gz usr/share/man/man1/happypenguin.1.gz
usr/share/man/man1/surfraw.1.gz usr/share/man/man1/jake.1.gz
usr/share/man/man1/surfraw.1.gz usr/share/man/man1/leodict.1.gz
usr/share/man/man1/surfraw.1.gz usr/share/man/man1/netbsd.1.gz
usr/share/man/man1/surfraw.1.gz usr/share/man/man1/openbsd.1.gz
usr/share/man/man1/surfraw.1.gz usr/share/man/man1/pubmed.1.gz
......@@ -37,7 +39,7 @@ usr/share/man/man1/surfraw.1.gz usr/share/man/man1/sundocs.1.gz
usr/share/man/man1/surfraw.1.gz usr/share/man/man1/sunsolve.1.gz
usr/share/man/man1/surfraw.1.gz usr/share/man/man1/swhois.1.gz
usr/share/man/man1/surfraw.1.gz usr/share/man/man1/thesaurus.1.gz
usr/share/man/man1/surfraw.1.gz usr/share/man/man1/translate.1.gz
usr/share/man/man1/surfraw.1.gz usr/share/man/man1/stranslate.1.gz
usr/share/man/man1/surfraw.1.gz usr/share/man/man1/webster.1.gz
usr/share/man/man1/surfraw.1.gz usr/share/man/man1/wetandwild.1.gz
usr/share/man/man1/surfraw.1.gz usr/share/man/man1/woffle.1.gz
......
......@@ -27,9 +27,11 @@ bin_SCRIPTS = \
freshmeat \
jake \
google \
happypenguin \
imdb \
scpan \
slinuxdoc \
leodict \
netbsd \
openbsd \
pubmed \
......
# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am
# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
......@@ -61,14 +61,18 @@ PRE_UNINSTALL = :
POST_UNINSTALL = :
host_alias = @host_alias@
host_triplet = @host@
CC = @CC@
HAVE_LIB = @HAVE_LIB@
ISODATE = @ISODATE@
LIB = @LIB@
LTLIB = @LTLIB@
MAKEINFO = @MAKEINFO@
PACKAGE = @PACKAGE@
VERSION = @VERSION@
sr_graphical_browser = @sr_graphical_browser@
sr_text_browser = @sr_text_browser@
bin_SCRIPTS = alioth altavista amazon appwatch ask austlii bbcnews britannica cddb cite cnn currency debbugs debcontents deblists debpackages deja excite fast filesearching freebsd freedb ftpfind ftpsearch freshmeat jake google imdb scpan slinuxdoc netbsd openbsd pubmed raging rhyme slashdot sundocs sourceforge stockquote scaleplus sunsolve swhois thesaurus translate W webster wetandwild woffle xxx yahoo
bin_SCRIPTS = alioth altavista amazon appwatch ask austlii bbcnews britannica cddb cite cnn currency debbugs debcontents deblists debpackages deja excite fast filesearching freebsd freedb ftpfind ftpsearch freshmeat jake google happypenguin imdb scpan slinuxdoc leodict netbsd openbsd pubmed raging rhyme slashdot sundocs sourceforge stockquote scaleplus sunsolve swhois thesaurus translate W webster wetandwild woffle xxx yahoo
sysconf_DATA = surfraw_elvi.list
......
#!/bin/sh
# elvis: happypenguin -- Search the Linux Game Tome (www.happypenguin.org)
# Linux Game Tome plugin (http://www.happypenguin.org)
# jmm@informatik.uni-bremen.de
# $Id$
. surfraw || exit 1
w3_usage_hook () {
cat <<EOF
Usage: $w3_argv0 [search words]...
Description:
Surfraw search for the Linux Game Tome (http://www.happypenguin.org)
EOF
w3_global_usage
}
w3_config
w3_parse_args "$@"
if test -z "$w3_args"; then
w3_browse_url "http://www.happypenguin.org/"
else
escaped_args=`w3_url_of_arg $w3_args`
w3_browse_url "http://www.happypenguin.org/list?search=${escaped_args}"
fi
#!/bin/sh
# elvis: leodict -- Search leo's German <-> English dictionary (dict.leo.org)
# $Id$
# surfraw plugin for the biggest English/German dictionary on
# the WWW: dict.leo.org jmm@informatik.uni-bremen.de
# options added by Ian Beckwith <ianb@nessie.mcc.ac.uk>
. surfraw || exit 1
w3_config_hook () {
defyn SURFRAW_leodict_link yes
defyn SURFRAW_leodict_head yes
defyn SURFRAW_leodict_grid yes
def SURFRAW_leodict_to "either"
def SURFRAW_leodict_spell "standard"
def SURFRAW_leodict_tol "standard"
def SURFRAW_leodict_lang `perl -e 'if((exists($ENV{LANG})) && ($ENV{LANG}=~/de/i)) { print "de\n"; } else { print "en\n"; }'`
}
w3_parse_option_hook () {
opt="$1"
optarg="$2"
case "$opt" in
-link*=*) setopt SURFRAW_leodict_link $optarg ;;
-head*=*) setopt SURFRAW_leodict_head $optarg ;;
-grid*=*) setopt SURFRAW_leodict_grid $optarg ;;
-to=*) setopt SURFRAW_leodict_to $optarg ;;
-spell*=*) setopt SURFRAW_leodict_spell $optarg ;;
-tol*=*) setopt SURFRAW_leodict_tol $optarg ;;
-lang*=*) setopt SURFRAW_leodict_lang $optarg ;;
*) return 1 ;;
esac
return 0
}
w3_usage_hook () {
cat <<EOF
Usage: $w3_argv0 [search words]...
Description:
Surfraw search the German/English dictionary LEO (dict.leo.org)
Local options:
-to=de | en | either Language to translate to.
Default: $SURFRAW_leodict_to
Environment: SURFRAW_leodict_to
-lang=en | de Language web page is in.
Default: en, unless \$LANG is set and contains "de"
Environment: SURFRAW_leodict_lang, LANG
-link=on | off Link results.
Default: $SURFRAW_leodict_link
Environment: SURFRAW_leodict_link
-head=on | off Display headlines.
Default: $SURFRAW_leodict_head
Environment: SURFRAW_leodict_head
-grid=on | off Show results in grid.
Default: $SURFRAW_leodict_grid
Environment: SURFRAW_leodict_grid
-spell=off | standard | force Spelling tolerance
Default: $SURFRAW_leodict_spell
Environment: SURFRAW_leodict_spell
-tol=off | standard | high Special characters tolerance
Default: $SURFRAW_leodict_tol
Environment: SURFRAW_leodict_tol
EOF
w3_global_usage
}
w3_config
w3_parse_args "$@"
if test -z "$w3_args"; then
w3_browse_url "http://dict.leo.org/"
else
escaped_args=`w3_url_of_arg $w3_args`
url="http://dict.leo.org/?search=${escaped_args}"
if yesno SURFRAW_leodict_link ; then url="$url&relink=on"
else url="$url&relink=off";fi
if yesno SURFRAW_leodict_head ; then url="$url&sectHdr=on"
else url="$url&sectHdr=off";fi
if yesno SURFRAW_leodict_grid ; then url="$url&tableBorder=1"
else url="$url&tableBorder=0";fi
if [ "$SURFRAW_leodict_to" = "de" ] ; then url="$url&searchLoc=-1"
elif [ "$SURFRAW_leodict_to" = "en" ] ; then url="$url&searchLoc=1"
else url="$url&searchLoc=0" ; fi
if [ "$SURFRAW_leodict_spell" = "off" ] ; then url="$url&spellToler=off"
elif [ "$SURFRAW_leodict_spell" = "force" ] ; then url="$url&spellToler=on"
else url="$url&spellToler=standard" ; fi
if [ "$SURFRAW_leodict_tol" = "high" ] ; then url="$url&cmpType=fuzzy"
elif [ "$SURFRAW_leodict_tol" = "off" ] ; then url="$url&cmpType=exact"
else url="$url&cmpType=relaxed" ; fi
url="$url&lang=$SURFRAW_leodict_lang"
w3_browse_url "$url"
fi
......@@ -25,8 +25,10 @@ freshmeat -- Search Freshmeat (www.freshmeat.net)
ftpfind -- Search files on ftpfind (www.ftpfind.com)
ftpsearch -- Search files on ftpsearch (ftpsearch.lycos.com)
google -- Search the web using Google (www.google.com)
happypenguin -- Search the Linux Game Tome (www.happypenguin.org)
imdb -- Search the Internet Movie Database (www.imdb.com)
jake -- Search journal/databases in jake (jake.med.yale.edu)
leodict -- Search leo's German <-> English dictionary (dict.leo.org)
netbsd -- Search NetBSD related information (www.netbsd.org)
openbsd -- Search OpenBSD related information (www.openbsd.org)
pubmed -- Search medical/molbio databases (www.ncbi.nlm.nih.gov)
......
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