summaryrefslogtreecommitdiff
path: root/hackvr_term/run
blob: 396a92203c271102eeaeb09e4fa0c8043d35e17b (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