git://git.nikiroo.be
/
gofetch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05ea999
)
gopher.sh: note the current link number
author
Niki Roo
<niki@nikiroo.be>
Sun, 15 Apr 2018 03:18:51 +0000
(
05:18
+0200)
committer
Niki Roo
<niki@nikiroo.be>
Sun, 15 Apr 2018 03:18:51 +0000
(
05:18
+0200)
gopher.sh
patch
|
blob
|
blame
|
history
diff --git
a/gopher.sh
b/gopher.sh
index 64a54f7225fd8a07a5abbe9e7b7aa9b4788a993e..58175702600c07be27fe6f97fddb896273c14163 100755
(executable)
--- a/
gopher.sh
+++ b/
gopher.sh
@@
-214,7
+214,7
@@
download)
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]..."
+ echo "Digging to [$goto_server:$goto_port]
$index
[$goto_sel]..."
sh "$0" "$goto_server" "$goto_sel" "$goto_port" "$goto_mode"
[ $? = 255 ] && exit 255 # force-quit
fi