diff options
-rwxr-xr-x | bollux | 3 | ||||
-rw-r--r-- | bollux.conf.5 | 13 |
2 files changed, 12 insertions, 4 deletions
diff --git a/bollux b/bollux index c910cd5..a4e9584 100755 --- a/bollux +++ b/bollux | |||
@@ -233,8 +233,9 @@ bollux_config() { | |||
233 | ## behavior | 233 | ## behavior |
234 | : "${BOLLUX_TIMEOUT:=30}" # connection timeout | 234 | : "${BOLLUX_TIMEOUT:=30}" # connection timeout |
235 | : "${BOLLUX_MAXREDIR:=5}" # max redirects | 235 | : "${BOLLUX_MAXREDIR:=5}" # max redirects |
236 | : "${BOLLUX_PORT:=1965}" # port number | ||
237 | : "${BOLLUX_PROTO:=gemini}" # default protocol | 236 | : "${BOLLUX_PROTO:=gemini}" # default protocol |
237 | : "${BOLLUX_GEMINI_PORT:=1965}" # default port for gemini | ||
238 | : "${BOLLUX_GOPHER_PORT:=70}" # default port for gopher | ||
238 | : "${BOLLUX_URL:=}" # start url | 239 | : "${BOLLUX_URL:=}" # start url |
239 | : "${BOLLUX_BYEMSG:=See You Space Cowboy ...}" # bye message | 240 | : "${BOLLUX_BYEMSG:=See You Space Cowboy ...}" # bye message |
240 | ## lesskeys | 241 | ## lesskeys |
diff --git a/bollux.conf.5 b/bollux.conf.5 index 9c66ced..b22cd58 100644 --- a/bollux.conf.5 +++ b/bollux.conf.5 | |||
@@ -1,5 +1,5 @@ | |||
1 | \" -*- nroff -*- | 1 | \" -*- nroff -*- |
2 | .TH bollux.conf 5 0.4.0 | 2 | .TH bollux.conf 5 0.4.1 |
3 | .SH NAME | 3 | .SH NAME |
4 | .B bollux.conf | 4 | .B bollux.conf |
5 | \- configuration file for | 5 | \- configuration file for |
@@ -240,12 +240,19 @@ It's possible they could be tweaked to make | |||
240 | work differently, like browsing gopher instead of gemini, | 240 | work differently, like browsing gopher instead of gemini, |
241 | but that capability has not been tested. | 241 | but that capability has not been tested. |
242 | .TP | 242 | .TP |
243 | .BR BOLLUX_PORT | 243 | .BR BOLLUX_GEMINI_PORT |
244 | valid values are port numbers (1-65535); default is '1965'. | 244 | valid values are port numbers (1-65535); default is '1965'. |
245 | .br | 245 | .br |
246 | The port | 246 | The port |
247 | .BR bollux (1) | 247 | .BR bollux (1) |
248 | tries to connect to on the server. | 248 | tries to connect to on gemini servers. |
249 | .TP | ||
250 | .BR BOLLUX_GOPHER_PORT | ||
251 | valid values are port numbers (1-65535); default is '70'. | ||
252 | .br | ||
253 | The port | ||
254 | .BR bollux (1) | ||
255 | tries to connect to on gopher servers. | ||
249 | .TP | 256 | .TP |
250 | .BR BOLLUX_PROTO | 257 | .BR BOLLUX_PROTO |
251 | valid values are protocol names (strings); default is 'gemini'. | 258 | valid values are protocol names (strings); default is 'gemini'. |