scripts

random scripts
git clone https://git.parazyd.org/scripts
Log | Files | Refs

auphone (295B)


      1 #!/bin/sh
      2 
      3 PROVIDER=parazyd.cf
      4 if [ $1 ]
      5 then
      6 	OTHER=$1
      7 else
      8 	echo "Use $0 to talk with someone..." && exit 1
      9 fi
     10 AUARGS="-b 1 -r 11000 -e u8"
     11 
     12 ssh $PROVIDER "rm -f /tmp/$USER && mkfifo /tmp/$USER"
     13 
     14 aucat $AUARGS -o - \
     15 | ssh $PROVIDER "cat > /tmp/$USER & cat /tmp/$OTHER" \
     16 | aucat $AUARGS -i -