summaryrefslogtreecommitdiff
path: root/share/hackvr/examples/hackvr_term/run.pty
blob: 1cfcf9657334fa2d8108ffadabed34177d43f334 (plain) (blame)
1
2
3
4
5
6
7
8
9
#!/usr/bin/env bash
mknod p p
cat <(cat camera.pos | sed 's/USER/'"$USER"'/g') \
    <(./hackvr_data_decode.sh <p \
       | ./pty /bin/bash \
       | ./hackvr_term 80 25 \
       | sed -u 's/addshape -1/addshape 2/g') \
  | hackvr $USER | tee /dev/stderr > p
rm p