The startup process looks like this right now: * (at the C level) look for any environment variables affecting startup (GNC_BOOTSTRAP_SCM, GNC_SCM_LOAD_PATH, GNC_RUN_AS_SHELL). * load the desired bootstrap file (either the default sharedir/scm/bootstrap.scm, or the override). This sets up gnc:load, and minimal defaults. * (gnc:load "startup.scm") * setup the default config-vars (including the ones that represent the command-line options). * parse the command line * load the system config if we haven't already (there's a command-line option to load the file earlier, --load-system-config) * load the user's ~/gnucash/config.user if it exists, otherwise load the user's ~/gnucash/config.auto if it exists. config.auto is where we'll eventually spit out UI selected prefs. ----- %< -------------------------------------------- >% ------ Rob Browning PGP=E80E0D04F521A094 532B97F5D64E3930