From 47b35448bdf1e0e1faeaaf6250bf44c491b198d3 Mon Sep 17 00:00:00 2001 From: epoch Date: Sun, 24 Dec 2017 03:18:47 -0600 Subject: made run script decode the data lines by running new script before sending to pty --- hackvr_term/run | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hackvr_term/run b/hackvr_term/run index 31302dc..396a922 100755 --- a/hackvr_term/run +++ b/hackvr_term/run @@ -1,9 +1,9 @@ #!/bin/bash mknod p p cat <(cat camera.pos | sed 's/USER/'"$USER"'/g') \ - <(python -c 'import pty;pty.spawn("/bin/bash")' < p \ + <(./hackvr_data_decode.sh

p + | sed -u 's/addshape -1/addshape 2/g') \ + | ../hackvr $USER | tee /dev/stderr > p rm p -- cgit v1.2.3