git://git.nikiroo.be
/
gofetch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gopher.sh: "digging to [..]" when following links
[gofetch.git]
/
gopher.sh
diff --git
a/gopher.sh
b/gopher.sh
index f896f9d8ec1f71c37ab456c5910a28cac3275c1d..91a02bb497360e3e3cfe32741685062dc901c56d 100755
(executable)
--- a/
gopher.sh
+++ b/
gopher.sh
@@
-183,6
+183,7
@@
download)
goto_sel="`getsel "$tmp" $index 2`"
goto_port="`getsel "$tmp" $index 4`"
goto_mode="`getsel "$tmp" $index 1 | cut -c1`"
goto_sel="`getsel "$tmp" $index 2`"
goto_port="`getsel "$tmp" $index 4`"
goto_mode="`getsel "$tmp" $index 1 | cut -c1`"
+ echo "Digging to [$goto_server:$goto_port] [$goto_sel]..."
sh "$0" "$goto_server" "$goto_sel" "$goto_port" "$goto_mode"
[ $? = 255 ] && exit 255 # force-quit
fi
sh "$0" "$goto_server" "$goto_sel" "$goto_port" "$goto_mode"
[ $? = 255 ] && exit 255 # force-quit
fi