summaryrefslogtreecommitdiff
path: root/share/hackvr/examples/hackvr_term/run
blob: 9fcc24766c3bfe5300e53b5d5e7b498b15393bf7 (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 \
       | 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