-
Notifications
You must be signed in to change notification settings - Fork 10
/
surfraw.conf.IN
92 lines (73 loc) · 2.44 KB
/
surfraw.conf.IN
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# Surfraw -- Shell Users' Revolutionary Front Against the World wide web
#
# $Id$
#
# (c) 2000-2001 Julian Assange, all rights reserved.
# (c) 2001 Australian Institute for Collaborative Research, all rights reserved.
# (c) 2000 Melbourne Institute for Advanced Study, all rights reserved.
#
# see the file COPYING for further copyright details
#
# this file is shell script
#
# defintion commands:
#
# def -- define configuration variable unless already defined
# (i.e by the environment)
# defyn -- define boolean configuration variable unless
# already defined
#
# WARNING: This file has a different format to that of $HOME/.surfraw.conf!
# $HOME/.surfraw.conf entries should always be written sh style:
#
# SURFRAW_text_browser=w3m
# etc
# autoconf guessed prefix
prefix=@prefix@
# graphical browser? defaults to yes for meatminds. text browser users can
# work it out how to change it.
defyn SURFRAW_graphical yes
# name/path of text browser executable
# e.g links, lynx, w3m
def SURFRAW_text_browser @TEXTBROWSER@
# name/path of browser executable
# e.g mozilla, netscape etc
def SURFRAW_graphical_browser @GRAPHICALBROWSER@
# text browser arguments, or "none"
def SURFRAW_text_browser_args none
# graphical browser arguments, or "none"
def SURFRAW_graphical_browser_args none
# use -remote openURL for graphical browser
defyn SURFRAW_graphical_remote no
# when using the -remote, open a new window?
defyn SURFRAW_new_window no
# name of screen command to run
def SURFRAW_screen screen
# If surfraw is running under screen(1), start a new screen
# for each text browser invocation?
defyn SURFRAW_new_screen no
# arguments for the screen command
def SURFRAW_screen_args ""
# "quote" arguments
defyn SURFRAW_quote_args no
# requote arguments if they have spaces in
# ie so:
# sr google foo "bar baz" bam
# works.
defyn SURFRAW_quote_ifs yes
# default number of results to return
def SURFRAW_results 30
# escape [% "@$%&+,/:;<=>?@@[\^{|}~'] characters in command line arguments
# subsequently used to construct a url
defyn SURFRAW_escape_url_args yes
# just print search url?
defyn SURFRAW_print no
# Fetch and dump url?
defyn SURFRAW_dump no
# Language/country (for elvi that support it)
# Should be a 2-letter iso country code
def SURFRAW_lang ""
# provider for searches that use a search engine
# with (eg) site: specifiers
# supported: google duckduckgo
def SURFRAW_customsearch_provider duckduckgo