diff options
Diffstat (limited to 'hackvr_term/run')
-rwxr-xr-x | hackvr_term/run | 9 |
1 files changed, 9 insertions, 0 deletions
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 |