forked from acdw/bollux
Allow for customizing default gemini & gopher ports
This commit is contained in:
parent
d17d3f73eb
commit
f0f51d22a1
3
bollux
3
bollux
|
@ -233,8 +233,9 @@ bollux_config() {
|
|||
## behavior
|
||||
: "${BOLLUX_TIMEOUT:=30}" # connection timeout
|
||||
: "${BOLLUX_MAXREDIR:=5}" # max redirects
|
||||
: "${BOLLUX_PORT:=1965}" # port number
|
||||
: "${BOLLUX_PROTO:=gemini}" # default protocol
|
||||
: "${BOLLUX_GEMINI_PORT:=1965}" # default port for gemini
|
||||
: "${BOLLUX_GOPHER_PORT:=70}" # default port for gopher
|
||||
: "${BOLLUX_URL:=}" # start url
|
||||
: "${BOLLUX_BYEMSG:=See You Space Cowboy ...}" # bye message
|
||||
## lesskeys
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
\" -*- nroff -*-
|
||||
.TH bollux.conf 5 0.4.0
|
||||
.TH bollux.conf 5 0.4.1
|
||||
.SH NAME
|
||||
.B bollux.conf
|
||||
\- configuration file for
|
||||
|
@ -240,12 +240,19 @@ It's possible they could be tweaked to make
|
|||
work differently, like browsing gopher instead of gemini,
|
||||
but that capability has not been tested.
|
||||
.TP
|
||||
.BR BOLLUX_PORT
|
||||
.BR BOLLUX_GEMINI_PORT
|
||||
valid values are port numbers (1-65535); default is '1965'.
|
||||
.br
|
||||
The port
|
||||
.BR bollux (1)
|
||||
tries to connect to on the server.
|
||||
tries to connect to on gemini servers.
|
||||
.TP
|
||||
.BR BOLLUX_GOPHER_PORT
|
||||
valid values are port numbers (1-65535); default is '70'.
|
||||
.br
|
||||
The port
|
||||
.BR bollux (1)
|
||||
tries to connect to on gopher servers.
|
||||
.TP
|
||||
.BR BOLLUX_PROTO
|
||||
valid values are protocol names (strings); default is 'gemini'.
|
||||
|
|
Loading…
Reference in New Issue