From 2edcce43083ec0437521b294eee545227fb77e59 Mon Sep 17 00:00:00 2001 From: epoch Date: Mon, 6 Apr 2020 06:03:57 -0500 Subject: added a new script to try to just get a single line of test from the user --- share/hackvr/examples/hackvr_term/read_line.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 share/hackvr/examples/hackvr_term/read_line.sh (limited to 'share/hackvr/examples/hackvr_term/read_line.sh') 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' -- cgit v1.2.3