*** main.c.original	Thu Jun 19 19:53:30 1997
--- main.c	Mon Oct  1 20:06:16 2001
***************
*** 25,34 ****
--- 25,35 ----
  #include "utils.h"
  #include "constants.h"
  #include "globals.h"
  #include "sats.h"
  #include "tcl_utils.h"
+ #include "gv_utils.h"
  
  static int check_run_permissions(void);
  static void decode_cmd_line(int argc, char *argv[]);
  
  int
*************** main(int argc, char *argv[])
*** 42,51 ****
--- 43,56 ----
  Email savi@geom.umn.edu to arrange for an updated version.");
  */
  
    /* decode command line */
    decode_cmd_line(argc, argv);
+ 
+   /* set up pointers required for geomview code */
+   /* geomview code is currently always called, even when standalone! */
+   gv_stream_init();
  
    /* initialize geomview if started as a module */
    if (TRUE == geomview_module) {
      if (NOT_OK == gv_init())
  	error_and_exit("main: error in gv_init");
