#!/bin/csh -f
#
#  This script is run before the recording session begins.  The screen
#  blanker is turned of and the recording node and inpoint are selected.
#
#  Turn the screen saver off (so the screen never get blanked).
#
xset s off
#
#  Set the node number and the starting point.
#
@ node		= 3		#V-LAN node number of recording deck
set inpoint	= 00:13:47:21	#starting timecode
echo
echo
echo -n Initializing animation
#
#  Prepare the correct node for animation.
#
set vl_stat = `vfr_vlan_cmd ND$node`	#select V-LAN node number
echo -n .
set vl_stat = `vfr_vlan_cmd CL`		#clear all registers
echo -n .
set vl_stat = `vfr_vlan_cmd TSV`	#select the video track for editing
echo -n .
set vl_stat = `vfr_vlan_cmd SI$inpoint` #start at this in point
echo -n .
set vl_stat = `vfr_vlan_cmd SD1`	#set the edit duration to 1 frame
echo -n .
set vl_stat = `vfr_vlan_cmd AI1`	#autoincrement the in/outpoints by one
echo -n .
set vl_stat = `vfr_vlan_cmd GP`		#goto pre-roll point while initializing
echo .
echo
echo
