summaryrefslogtreecommitdiff
path: root/doc/chapter-environment-variables.asciidoc
blob: 354cf309e2d36f2b7fa8ac9ef84353a3363c3302 (plain) (blame)
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
[[BROWSER]]<<BROWSER,`BROWSER`>>::
        Tells Newsboat what browser to use if there is no <<browser,`browser`>>
        setting in the config file. If this variable doesn't exist, a default
        of `lynx(1)` will be used.

[[CURL_CA_BUNDLE]]<<CURL_CA_BUNDLE,`CURL_CA_BUNDLE`>>::
        Tells Newsboat to use the specified certificate file to verify the peer.
        The file may contain multiple certificates. The certificate(s) must be
        in PEM format.
+
This option is useful if your libcurl is built without useful
certificate information, and you can't rebuild the library yourself.

[[EDITOR]]<<EDITOR,`EDITOR`>>::
        Tells Newsboat what fallback editor to use when editing the _urls_ file
        via the <<edit-urls,`edit-urls`>> operation and no <<VISUAL,`VISUAL`>>
        environment variable is set. If this variable doesn't exist either, a
        default of `vi(1)` will be used.

[[NO_PROXY]]<<NO_PROXY,`NO_PROXY`>>::
        Tells Newsboat to ignore <<proxy,`proxy`>> setting for certain sites.
+
This variable contains a comma-separated list of hostnames, domain names, and
IP addresses.
+
Domain names match subdomains, i.e. "example.com" also matches
"foo.example.com". Domain names that start with a dot only match subdomains,
e.g. ".example.com" matches "bar.example.com" but not "example.com" itself.
+
IPv6 addresses are written without square brackets, and _are matched as
strings_. Thus "::1" doesn't match "::0:1" even though this is the same
address.

[[PAGER]]<<PAGER,`PAGER`>>::
        Tells Newsboat what pager to use if the <<pager,`pager`>> setting in
        the config file is explicitly set to an empty string.

[[TMPDIR]]<<TMPDIR,`TMPDIR`>>::
        Tells Newsboat to use the specified directory for storing temporary files.
        If this variable doesn't exist, a default of _/tmp_ will be used.

[[VISUAL]]<<VISUAL,`VISUAL`>>::
        Tells Newsboat what editor to use when editing the _urls_ file via the
        <<edit-urls,`edit-urls`>> operation. If this variable doesn't exist,
        the <<EDITOR,`EDITOR`>> environment variable will be used.

[[XDG_CONFIG_HOME]]<<XDG_CONFIG_HOME,`XDG_CONFIG_HOME`>>::
        Tells Newsboat which base directory to use for the configuration files.
        See also the <<_files,section on files>> for more information.

[[XDG_DATA_HOME]]<<XDG_DATA_HOME,`XDG_DATA_HOME`>>::
        Tells Newsboat which base directory to use for the data files. See also
        the <<_files,section on files>> for more information.