gopher.sh: note the current link number
authorNiki Roo <niki@nikiroo.be>
Sun, 15 Apr 2018 03:18:51 +0000 (05:18 +0200)
committerNiki Roo <niki@nikiroo.be>
Sun, 15 Apr 2018 03:18:51 +0000 (05:18 +0200)
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`"
                        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
                        sh "$0" "$goto_server" "$goto_sel" "$goto_port" "$goto_mode"
                        [ $? = 255 ] && exit 255 # force-quit
                fi