#!/bin/csh -f
#    lsfunc (lscslibfuncs  lsfuncs)

set FUNCDIR = "$CSLIBDIR/funcs"
set GEN1FUNCDIR = "$CSLIBDIR/funcs/GEN1"

cd $FUNCDIR
echo "(1) List of GENERAL Orchestra Library Csound function definitions:"
ls -C GENERAL
echo "           -   -    -    -    -    - "
sleep 1

echo "(2) List of gen1 sflib input soundfile and keymap functions"
echo ' for use with the "samp, tsamp" & "gran" instrument algorithms:'
foreach SUBDIR (`ls $FUNCDIR/GEN1`)
   echo "  --- /sflib/$SUBDIR soundfile functions : ---"
   #echo "  --- /sflib/$SUBDIR : ---"
   ls -C GEN1/$SUBDIR
end

echo "           ========================- "
echo " To obtain any of these function definition files, type:"
echo "          getfunc  filename(s)"
echo "                 or else: "
echo "        getsc  f  filename(s)  s [scorefile(s)]"
echo "           ========================- "
