Details below. Enjoy. Aziz,,,
revno: 1797 committer: Abdulaziz Ghuloum <[email protected]> branch nick: ikarus timestamp: Thu 2009-05-28 13:29:07 +0300 message: RC files: Summary: By default, ikarus now executes the file $HOME/.ikarusrc (which must be an R6RS script) (if it exists) before startup. Details: There is a default behavior for RC files which can be overriden by command-line options. Default RC files location: 1. If the command-line argument --no-rcfile is set, the set of RC files is empty. 2. Otherwise, if there is at least one --rcfile <filename> command-line argument, the specified files are used as the set of RC files. (--rcfile and --no-rcfile are mutually exclusive) 3. Otherwise, if the environment variable IKARUS_RC_FILES is set, the colon-separated list of files are used as the RC files. 4. Otherwise, if the file $HOME/.ikarusrc exists, only it is used. 5. Otherwise, the set is empty. The startup sequence is now: 1. Setup the library path. 2. Execute all RC files. 3. Set command-line options (e.g., -O2, --debug, etc.). 4. Set command-line-arguments. 5. Proceed with normal operation (start repl, run an r6rs script, compile dependencies, etc.).
