diff --git a/bin/sacinit.csh.in b/bin/sacinit.csh.in index 7cf2a9f..9ea4a42 100644 --- a/bin/sacinit.csh.in +++ b/bin/sacinit.csh.in @@ -18,15 +18,15 @@ setenv SACAUX ${SACHOME}/aux # setenv SAC_DISPLAY_COPYRIGHT 1 # SAC_USE_DATABASE -# Undefined or 0 -- Do Not Use SeisMgr Database ( Default ) -# 1 -- Use SeisMgr Database +# Undefined or 0 -- Do Not Use SeisMgr Database +# 1 -- Use SeisMgr Database ( Default ) # The SeisMgr database attempts to keep the CSS data fields in line # with those in the SAC header. If you are handling CSS data it # would be wise to keep the database on. Using the SeisMgr database # currently can be very slow due when handling hundreds of files # and turning it off should show a dramatic speed increase. -# Default: SAC_USE_DATABASE 0 -# setenv SAC_USE_DATABASE 0 +# Default: SAC_USE_DATABASE 1 +# setenv SAC_USE_DATABASE 1 # SAC_PPK_LARGE_CROSSHAIRS # Undefined or 0 - Tiny Cross Hairs ( Default ) diff --git a/bin/sacinit.sh.in b/bin/sacinit.sh.in index 4666af4..fd73e7b 100644 --- a/bin/sacinit.sh.in +++ b/bin/sacinit.sh.in @@ -25,8 +25,8 @@ export SACAUX=${SACHOME}/aux # would be wise to keep the database on. Using the SeisMgr database # currently can be very slow due when handling hundreds of files # and turning it off should show a dramatic speed increase. -# Default: SAC_USE_DATABASE 0 -# export SAC_USE_DATABASE=0 +# Default: SAC_USE_DATABASE 1 +# export SAC_USE_DATABASE=1 # SAC_PPK_LARGE_CROSSHAIRS # Undefined or 0 - Tiny Cross Hairs ( Default ) diff --git a/src/exm/xabout.c b/src/exm/xabout.c index 05886e9..d510d48 100755 --- a/src/exm/xabout.c +++ b/src/exm/xabout.c @@ -52,8 +52,8 @@ display_copyright(int getset) { int use_database(int getset) { - static int virgin; - int use_db = TRUE; + static int virgin = TRUE; + static int use_db = TRUE; if(getset == OPTION_ON || getset == OPTION_OFF) { use_db = getset; }