Difference between revisions of "M2web-vista-cgi"

From VistApedia
Jump to: navigation, search
 
Line 1: Line 1:
#!/bin/bash
+
  #!/bin/bash
#invoke GT.M for M2Web CGI
+
  #invoke GT.M for M2Web CGI
export m2web="/usr/local/m2web"
+
  export m2web="/usr/local/m2web"
export vista_home="/usr/local/vista/OpenVistA"
+
  export vista_home="/usr/local/vista/OpenVistA"
export gtm_sysid="vista.net"
+
  export gtm_sysid="vista.net"
export gtm_dist="/usr/local/gtm"
+
  export gtm_dist="/usr/local/gtm"
export gtm_log="$gtm_dist/log"
+
  export gtm_log="$gtm_dist/log"
export gtmgbldir="$vista_home/g/mumps.gld"
+
  export gtmgbldir="$vista_home/g/mumps.gld"
export gtmroutines="$vista_home/o($m2web/w $vista_home/r) $gtm_dist"
+
  export gtmroutines="$vista_home/o($m2web/w $vista_home/r) $gtm_dist"
 
+
 
# MD5 Library external-call table
+
  # MD5 Library external-call table
export GTMXC_md5 = "$m2web/w/xc/gtm_md5.xc"
+
  export GTMXC_md5 = "$m2web/w/xc/gtm_md5.xc"
 
+
 
cd $m2web/w
+
  cd $m2web/w
 
+
 
#-- uncomment line below and copy to /var/www/vista/m2web.cgi
+
  #-- uncomment line below and copy to /var/www/vista/m2web.cgi
#$gtm_dist/mumps -r htCGI
+
  #$gtm_dist/mumps -r htCGI

Revision as of 22:53, 12 October 2006

 #!/bin/bash
 #invoke GT.M for M2Web CGI
 export m2web="/usr/local/m2web"
 export vista_home="/usr/local/vista/OpenVistA"
 export gtm_sysid="vista.net"
 export gtm_dist="/usr/local/gtm"
 export gtm_log="$gtm_dist/log"
 export gtmgbldir="$vista_home/g/mumps.gld"
 export gtmroutines="$vista_home/o($m2web/w $vista_home/r) $gtm_dist"
 
 # MD5 Library external-call table
 export GTMXC_md5 = "$m2web/w/xc/gtm_md5.xc"
 
 cd $m2web/w
 
 #-- uncomment line below and copy to /var/www/vista/m2web.cgi
 #$gtm_dist/mumps -r htCGI