summaryrefslogtreecommitdiff
path: root/share/hackvr/examples/filebrowser/backend-gopher.sh
diff options
context:
space:
mode:
authorepoch <epoch@thebackupbox.net>2022-08-17 21:34:02 -0500
committerepoch <epoch@thebackupbox.net>2022-08-17 21:34:02 -0500
commit6492ba6b4107a4da228e18db4fc5fc871bfb0579 (patch)
tree11301c4e20d9a1448337e73b62a16ab1bfeba457 /share/hackvr/examples/filebrowser/backend-gopher.sh
parent49d54d7582bdcbdcff5637e72e9f29bb5cc571bd (diff)
downloadhackvr-6492ba6b4107a4da228e18db4fc5fc871bfb0579.tar.gz
hackvr-6492ba6b4107a4da228e18db4fc5fc871bfb0579.zip
updated README to show that everything that got deleted went to an -extras repo. also, hackvr script updated to be better bashHEADmaster
Diffstat (limited to 'share/hackvr/examples/filebrowser/backend-gopher.sh')
-rwxr-xr-xshare/hackvr/examples/filebrowser/backend-gopher.sh22
1 files changed, 0 insertions, 22 deletions
diff --git a/share/hackvr/examples/filebrowser/backend-gopher.sh b/share/hackvr/examples/filebrowser/backend-gopher.sh
deleted file mode 100755
index fe73755..0000000
--- a/share/hackvr/examples/filebrowser/backend-gopher.sh
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/usr/bin/env bash
-#give a list of files.
-#wait for a selection on stdin
-#cd or start that file
-#repeat.
-server=$1
-${server:="gopher.hacking.allowed.org"}
-#gopher.hacking.allowed.org
-port=70
-selection=/
-while true;do
-#not sure why this needs to be printed to show up every time.
- printf "/\n"
- printf '%s\n' "$selection" | ncat "$server" "$port" | tee /dev/stderr | grep -v ^i | cut -f2 | tr -d '\r'
-### need to ask user for input in the form of a pop-up window if the selected target was of type 7
- read -r selection
- if [ "_" = "_$selection" ];then
- echo "looks like there's nothing here. exiting." >&2
- exit 1
- fi
- echo
-done