1 :Info: start_up.ec: start_up_ec.gi: start_up_ec: 1974-03-15 start_up.ec
2
3 A user can specify that a set of commands be executed when a process
4 is initialized, i.e. after a login, new_proc, or process termination.
5 The commands are specified as an exec_com segment in the user's
6 initial working directory with the name start_up.ec. If the segment
7 start_up.ec exists in the user's initial working directory, the
8 printing of the message of the day is suppressed and exec_com is
9 called to execute the commands specified in the segment. The call to
10 exec_com is issued as the first command to the new process before any
11 lines are read from the terminal. The call to exec_com is issued as
12 the command:
13 exec_com start_up CREATION_TYPE PROCESS_TYPE
14
15
16 Arguments:
17 CREATION_TYPE
18 is the string "login" if the process has been created as the result
19 of a login; or is the string "new_proc" if the process has been
20 created as the result of a new_proc command or process termination.
21 PROCESS_TYPE
22 is the string "interactive" if the process being initialized is an
23 interactive one; or is the string "absentee" if the process is an
24 non-interactive absentee process.
25
26
27 Notes:
28 To print the message-of-the-day, the command "help motd" can be issued
29 from the exec_com.
30
31
32 :hcom:
33
34
35
36 /****^ HISTORY COMMENTS:
37 1) change2020-12-16GDixon, approve2021-02-22MCR10088,
38 audit2021-05-27Swenson, install2021-05-27MR12.6g-0056:
39 A) Change "Syntax:" to "Syntax as a command:" in command info seg
40 last changed after 1984.
41 B) Add the names start_up_ec.gi.info and start_up_ec.info to this
42 general-information description.
43 C) Correct other errors reported by verify_info.
44 END HISTORY COMMENTS */
45
46
47