144 lines
106 KiB
Plaintext
144 lines
106 KiB
Plaintext
1
|
||
|
||
Interlisp-D Reference Manual
|
||
1
|
||
|
||
Interlisp-D Reference Manual
|
||
12. MISCELLANEOUS
|
||
1
|
||
|
||
12. MISCELLANEOUS
|
||
1
|
||
|
||
|
||
"12"12. MISCELLANEOUS
|
||
6
|
||
|
||
Greeting and Initialization Files
|
||
1
|
||
|
||
Many of the features of Interlisp are controlled by variables that the user can adjust to his or her own tastes. In addition, the user can modify the action of system functions in ways not specifically provided for by using ADVISE (see the Advise Functions section of Chapter 15). In order to encourage customizing the Interlisp environment, Interlisp includes a facility for automatically loading initialization files (or "init files") when an Interlisp system is first started. Each user can have a separate "user init file" that customizes the Interlisp 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 an Interlisp 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 the user to type a file name, followed by a carriage return. If the user just types 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ÿÿ |