aboutsummaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorepoch <epoch@thebackupbox.net>2020-04-06 06:03:57 -0500
committerepoch <epoch@thebackupbox.net>2020-04-06 06:03:57 -0500
commit2edcce43083ec0437521b294eee545227fb77e59 (patch)
tree703b756338abb93044a97d8d8e4623f077fda639 /share
parent48fe341421279208e090f9d25794aa59a02de8ec (diff)
downloadhackvr-2edcce43083ec0437521b294eee545227fb77e59.tar.gz
hackvr-2edcce43083ec0437521b294eee545227fb77e59.zip
added a new script to try to just get a single line of test from the user
Diffstat (limited to 'share')
-rwxr-xr-xshare/hackvr/examples/hackvr_term/read_line.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/share/hackvr/examples/hackvr_term/read_line.sh b/share/hackvr/examples/hackvr_term/read_line.sh
new file mode 100755
index 0000000..c26ebf3
--- /dev/null
+++ b/share/hackvr/examples/hackvr_term/read_line.sh
@@ -0,0 +1,5 @@
+#!/usr/bin/env bash
+./hackvr_data_decode.sh \
+ | ./pty `which bash` "-c" 'read -p "type> " line;xmessage $line' \
+ | ./hackvr_term 60 2 \
+ | sed -u 's/addshape 15 4/addshape 12 4/g'