* New version of IRM New version of the IRM, updated to Medley. * moved to docs/medley-irm as discussed
138 lines
80 KiB
Plaintext
138 lines
80 KiB
Plaintext
MEDLEY REFERENCE MANUAL
|
||
MISCELLANEOUS
|
||
|
||
"12"12. MISCELLANEOUS
|
||
3
|
||
|
||
|
||
Greeting and Initialization Files
|
||
1
|
||
|
||
Many of the features of Medley are controlled by variables that you can adjust to your own taste. In addition, you can modify the action of system functions in ways not specifically provided for by using ADVISE (see the Advise Functions section of Chapter 15). To encourage customizing Medley's environment, it includes a facility for automatically loading initialization files (or ªinit filesº) when it is first started. Each user can have a separate ªuser init fileº that customizes Medley's environment to his/her tastes. In addition, there can be a ªsite init fileº that applies to all users at a given physical site, setting system variables that are the same for all users such as the name of the nearest printer, etc.
|
||
The process of loading init files, also known as ªgreetingº, occurs when a Medley system created by MAKESYS (see the Saving Virtual Memory State section below) is started for the first time. The user can also explicitly invoke the greeting operation at any time via the function GREET (below). The process of greeting includes the following steps:
|
||
1. Any previous greeting operation is undone. The side effects of the greeting operation are stored on a global variable as well as on the history list, thus enabling the previous greeting to be undone even if it has dropped off of the bottom of the history list.
|
||
2. All of the items on the list PREGREETFORMS are evaluated.
|
||
3. The site init file is loaded. GREET looks for a file by the name {DSK}INIT.LISP. If this is found, it is loaded. If it is not found, the system prints Please enter name of system init file (e.g. {server}<directory>INIT.extension): and waits for you to type a file name, followed by a carriage return. If you just type a carriage return without typing a file name, no site init file is loaded. Note: The site init file is loaded with LDFLG set to SYSLOAD, so that no file package information is saved, and nothing is printed out.
|
||
4. The user init file is loaded. The user init file is found by using the variable USERGREETFILES (described below), which is normally set in the site init file. The user init file is loaded with normal file package settings, but under errorset protection and with PRETTYHEADER set to NIL to suppress the File created message.
|
||
5. All of the items on the list POSTGREETFORMS are evaÿÿ |