FSEP='<<FS>>'
FEND='<<FE>>'
DELAY=3

if test $# -eq 0
then
	echo 'usage:' $0 '<file_name>...'
	exit
fi

: echo >&2 '}} Download file(s) to the PC, via the "em" pgm.'
: echo >&2 '} Files are seperated by ' $FSEP '.'
: echo >&2 '} Files list is ended by ' $FEND '.'

: echo >&2 '
: } Transfering' $# 'files.
:   Transfer will begin in' $DELAY 'secs.
:   Enter "<alt>246" to enable capture,
:   and "<alt>245" when xfer complete.'
: beep
: sleep $DELAY

: if test $# -gt 1
if test 1 -eq 1
then
	echo $FSEP
	echo $FEND
	for fn
	do
		echo $fn
		cat $fn | expand -4 | fflist
		echo $FSEP
	done
	echo $FEND
else
	cat $1 | expand -4 | fflist
	echo >&2 '** emsep will not work on this file **'
fi

echo -n >&2 
: sleep $DELAY
echo >&2 '/* <alt>245 ends capture */'
exit

===================================
> See emsep.c for notes.
> Start capture automatically ?
