In this homework you are to get your feet wet with the Unicon monitoring
facilities. If monitoring facilities are available, the command
unicon -features
and the Unicon keyword
&features
will list event monitoring
in
your build.
Note to Windows users: Windows Unicon binaries built from sources in the period 1/6/2019 to 2/13/2019 (possibly longer) may claim event monitoring to be present, but was not reporting events due to a bug. Test whether things work, and report your experiences to me. If event monitoring is broken in current public binaries, I will post some new ones on the class web page.
unicon -c
)
scatlib.icn
before compiling scat.icn.
In order run piano or scat, you will have to have a unicon program that can be run under the monitor. The recommended sample programs to play this role are at http://www2.cs.uidaho.edu/~jeffery/courses/monvis/suspects/. To try each one, you would download the .icn and the corresponding .dat file, compile the .icn file, perhaps test to see that they run outside of monitoring OK, and THEN you can try running scat or piano on them. For example, if you downloaded the first one (beards.icn and beards.dat) you would say unicon beards to compile it, and then say
./beards <beards.datto run it outside of monitoring, or
./piano beards <beards.datto run it under the piano monitor. As a reminder, here are the suspects/ that you may want to use first in experiments and homeworks in this class. The suspects have pre-generated .json files, created using this reference implementation of HW#1. It might have bugs; please report any trouble.