summaryrefslogtreecommitdiff
path: root/hackvr_term/run
blob: 31302dcfb03d3aa3f274afde43788f95ddcd5aad (plain) (blame)
1
2
3
4
5
6
7
8
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