
Notes on sample Vista program
-----------------------------

This directory contains an example of a Vista module that can be
copied to a user's own directory and modified to perform other tasks.

This particular program creates and outputs an image with unsigned 8-bit
pixels, filled with an intensity ramp running from 0 (black) at the top
to 1 (white) at the bottom.

The program is explained further in "Introduction to the Vista Library",
in the $VISTA/doc/intro directory.


Making a copy of this program
-----------------------------

To copy this directory to your own directory, do a recursive copy:

% cp -r this-directory destination-directory

You can then cd to this directory and type "make" to compile the
module.  Test the module by running the program to produce a new
image and running "vxshow" on the result:

% ramp -size >test.v
% vxshow test.v


Man page
--------

To read the manual page in this directory, do the following:
% nroff -man ramp.man | more

It should be easy to modify the manual page to describe your own
program, even if you do not know much about nroff.
