From d266ba9242c9542c05c68c45f6fd09e4e46099ed Mon Sep 17 00:00:00 2001 From: epoch Date: Tue, 19 Dec 2017 04:56:13 -0600 Subject: added hackvr_term --- hackvr_term/run | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 hackvr_term/run (limited to 'hackvr_term/run') diff --git a/hackvr_term/run b/hackvr_term/run new file mode 100755 index 0000000..31302dc --- /dev/null +++ b/hackvr_term/run @@ -0,0 +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_term 80 25 \ + | sed -u 's/addshape -1/addshape 2/g' \ + | tee /dev/stderr) \ + | ../hackvr $USER > p +rm p -- cgit v1.2.3