
#include <osbind.h>

int contrl[12], intin[256], ptsin[256], intout[256], ptsout[256];

main()
{
  int handle, i;
  int charw, charh, boxw, boxh;

/* Set the system up to do GEM calls*/

  appl_init();

/* Get the handle of the desktop */

handle=graf_handle(&charw,&charh,&boxw,&boxh);

  /* Open the workstation. */

  intin[0]=Getrez()+2;
  for (i=1; i<10; ++i) intin[i] = 1;
  intin[10] = 2;

  v_opnvwk(intin, &handle, intout);
/*********************** Program goes here *********************/
  /* Close the workstation. */
 
  v_clsvwk(handle);
 
 /* Release GEM calls */

  appl_exit();

}
