#!/bin/sh # # Script to automate start of multicast vat from 2nd Int. WWW Conf. (Chicago) # October 1994, RPC Rodgers, NLM # # Define variables # # Multicast group address multi_grp_add=224.2.132.174 # Conference title title="2nd Int. WWW Conf. (Chicago)" # Audio variables audio_port=49180 audio_conf_id=31795 # Default (used if audio_format is empty) is pcm; use dvi4 to reduce bandwidth audio_format="" audio_time_to_live=127 # vat="/home/webconf/bin/vat" # # Find out if this script is running in a scrolling window # date_string="`date`" file_string="`echo $date_string | sed -e 's^... ... \([0-9 ][0-9]\) \([0-9 ][0-9]:[0-9][0-9]:[0-9][0-9]\).*\1_\2'`" file="MULTICAST${file_string}.log" echo "Multicasting for: $title Started: $date_string " # # Start multicasting vat # echo "Starting multicast audio tool (vat)" $vat -C "$title" \ -k \ -N "$title" \ -n \ -S \ ${multi_grp_add}/${audio_port}/${audio_conf_id}/${audio_format}/${audio_time_to_live} \ | tee $file & # # Print further instructions # echo " IMPORTANT: 1) Remember to save the participant list *prior* to exiting vat. Do this by typing the letter \"l\" while the cursor is positioned within the vat window. This will cause the list to be written into this window AND into a file. 2) *DO NOT* type \"q\", \"Q\", \"Ctrl-C\" or \"Ctrl-D\" while the cursor is positioned witin the vat or nv windows; this will abort these applications! GOOD LUCK..." # # end of script