about summary refs log tree commit diff stats
path: root/bollux.conf.5
diff options
context:
space:
mode:
authorCase Duckworth2020-05-26 19:31:06 -0500
committerCase Duckworth2020-05-26 19:31:06 -0500
commit4a1bcfd6d9da2a8acce81ff74f871182cd933dde (patch)
treee203e5882de0afb8089c1e531779c9a90d4fa8f5 /bollux.conf.5
parentFix dumb mistake (diff)
downloadbollux-4a1bcfd6d9da2a8acce81ff74f871182cd933dde.tar.gz
bollux-4a1bcfd6d9da2a8acce81ff74f871182cd933dde.zip
Add Makefiles
Diffstat (limited to 'bollux.conf.5')
-rw-r--r--bollux.conf.589
1 files changed, 89 insertions, 0 deletions
diff --git a/bollux.conf.5 b/bollux.conf.5 new file mode 100644 index 0000000..eada1de --- /dev/null +++ b/bollux.conf.5
@@ -0,0 +1,89 @@
1.TH bollux.conf 5 2020-05-26
2.SH NAME
3.B bollux.conf
4\- configuration file for
5.BR bollux (1)
6.SH DESCRIPTION
7.BR bollux (1)
8uses a number of environment variables that can be sourced from an external file,
9usually placed in
10.IR $XDG_CONFIG_HOME/bollux/bollux.conf .
11The location can be changed at runtime by invoking
12.BR "bollux \-c CONFIG" .
13.SH VARIABLES
14.SS Variables you might actually want to set
15Here are actually useful variables that are good things to set in your
16.IR bollux.conf ,
17in order of usefulness.
18.TP
19.BR BOLLUX_URL " valid values are URLs; default is ''."
20If
21.B BOLLUX_URL
22is set,
23.BR bollux (1)
24loads that resource;
25otherwise it asks the user for where to go.
26Setting this variable works like setting a home page.
27.TP
28.BR BOLLUX_DOWNDIR " valid values are directories; default is '.'."
29The directory to attempt to save downloads in.
30.BR bollux (1)
31will attempt to download anything whose mimetype isn't
32.IR text/* ,
33and it tries to place it in
34.BR BOLLUX_DOWNDIR .
35If it can't open the directory, save the file,
36or if there's another file with the same name,
37.BR bollux (1)
38will report the name of the temporary file it saved.
39.TP
40.BR BOLLUX_MAXREDIR " valid values are integers; default is '5'."
41The maximum number of redirects before
42.BR bollux (1)
43decides to quit.
44The default is 5 as per some RFC spec.
45.TP
46.BR BOLLUX_LOGLEVEL " valid values are '', DEBUG or QUIET; default is ''."
47How verbose
48.BR bollux (1)
49should be.
50.I DEBUG
51prints debug-level messages.
52.I QUIET
53suppresses even error-level messages.
54I'm going to be honest,
55the difference between the levels is somewhat arbitrary.
56So.
57.SS Variables that could be configured, but probably shouldn't be
58These variables control deeper aspects of
59.BR bollux (1)'s
60workings.
61It's possible they could be tweaked to make
62.BR bollux (1)
63work differently, like browsing gopher instead of gemini,
64but that capability has not been tested.
65.TP
66.BR BOLLUX_PORT " valid values are port numbers (1-65535); default is '1965'."
67The port
68.BR bollux (1)
69tries to connect to on the server.
70.TP
71.BR BOLLUX_PROTO " valid values are protocol names (strings); default is 'gemini'."
72The protocol to use.
73.TP
74.BR BOLLUX_LESSKEY " valid values are files; default is '/tmp/bollux-lesskey'."
75Where to store the generated
76.BR lesskey (1)
77file.
78.TP
79.BR BOLLUX_PAGESRC " valid values are files; default is '/tmp/bollux-src'."
80Where to store the page source of the site being visited.
81It's not used right now by
82.BR bollux (1),
83but you could ...
84.BR cat (1)
85it?
86.SH FILES
87.I $XDG_CONFIG_HOME/bollux/bollux.conf
88.SH SEE ALSO
89.BR bollux (1)