https://reisub.nsupdate.info/git
/
bollux.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ff7a64
)
Set timeout
origin/gopher
author
Case Duckworth
<acdw@acdw.net>
Sun, 7 Jun 2020 18:34:59 +0000
(13:34 -0500)
committer
Case Duckworth
<acdw@acdw.net>
Sun, 7 Jun 2020 18:34:59 +0000
(13:34 -0500)
bollux
patch
|
blob
|
history
diff --git
a/bollux
b/bollux
index
1eb120c
..
1aaa70f
100755
(executable)
--- a/
bollux
+++ b/
bollux
@@
-349,7
+349,7
@@
gemini_response() {
url="$1"
# we need a loop here so it waits for the first line
- while read -t "
3
" -r code meta ||
+ while read -t "
$BOLLUX_TIMEOUT
" -r code meta ||
{ (($? > 128)) && die 99 "Timeout."; }; do
break
done
@@
-457,7
+457,7
@@
gopher_response() {
if [[ "$url" =~ $'\t' ]]; then
run gopher_convert | run display text/gemini
else
- run prompt
GopherSearch
+ run prompt
'SEARCH'
run blastoff "$url $REPLY"
fi
;;