Listing 2: test_pager
#!/bin/csh -f
#######################################################################
#
# Function : test_pager
# Remarks : Tests uucp pager implementation
#
# History ---------+----------+------------------------------------
# Programmer | Date | Changes / Comments
# -----------------+----------+------------------------------------
# Carlos F. Gomez | 11/12/93 | Created
# -----------------+----------+------------------------------------
#
#######################################################################
setenv AKBAR /tmp/$$.$user.test_pager.buf1
setenv JEFF /tmp/$$.$user.test_pager.buf2
#
foreach num ( 1 2 3 4 5 6)
foreach PAGER ( p_test1 p_test2 p_test3 p_test4 p_test5 )
( /usr/bin/cu $PAGER > $AKBAR) >& $JEFF &
echo "waiting..."
sleep 120
end
end
#
rm -f /tmp/$$.$user.test_pager*
#
# END test_pager
#
|