summaryrefslogtreecommitdiff
path: root/hackvr_term/run
blob: cf39f779331bdeaab12aeeef711d6dad9e077690 (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') \
    <(./hackvr_data_decode.sh <p \
       | python -c 'import pty;pty.spawn("/bin/bash")' \
       | ./hackvr_term 80 25 \
       | sed -u 's/addshape -1/addshape 2/g') \
  | hackvr $USER | tee /dev/stderr > p
rm p