Index: trunk/Ohana/src/opihi/cmd.astro/gauss.c
===================================================================
--- trunk/Ohana/src/opihi/cmd.astro/gauss.c	(revision 2843)
+++ trunk/Ohana/src/opihi/cmd.astro/gauss.c	(revision 3693)
@@ -51,5 +51,5 @@
 
   fcntl (Ximage, F_SETFL, !O_NONBLOCK);  
-  write (Ximage, "CURS", 4); /* ask Ximage to look for the keystrokes */
+  SendGraphCommand (Ximage, 4, "CURS");
   
   for (i = 0; (i < Nspot) || (Nspot == 0); i++) {
@@ -64,5 +64,6 @@
     
   }
-  write (Ximage, "NCUR", 4); /* tell Ximage "end of keystrokes" */
+  SendGraphCommand (Ximage, 4, "NCUR");
+
   return (TRUE);
 }
