diff options
author | epoch <epoch@thebackupbox.net> | 2020-04-06 06:03:57 -0500 |
---|---|---|
committer | epoch <epoch@thebackupbox.net> | 2020-04-06 06:03:57 -0500 |
commit | 2edcce43083ec0437521b294eee545227fb77e59 (patch) | |
tree | 703b756338abb93044a97d8d8e4623f077fda639 /share/hackvr/examples/hackvr_term | |
parent | 48fe341421279208e090f9d25794aa59a02de8ec (diff) | |
download | hackvr-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/hackvr/examples/hackvr_term')
-rwxr-xr-x | share/hackvr/examples/hackvr_term/read_line.sh | 5 |
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' |