1 03/31/83  sus_signal_handler_
 2 
 3 
 4 The sus_signal_handler_ subroutine is the static condition handler for
 5 the sus_ condition.  The standard process overseers establish this
 6 handler by calling sct_manager_$set.  For interactive processes, the
 7 sus_ condition typically occurs when the process is disconnected from
 8 its login terminal channel.  For absentee processes, the sus_ condition
 9 occurs when the operators suspend the job.
10 
11 When the user reconnects to the process, sus_signal_handler_ may
12 attempt to execute an exec_com, according to whether
13 reconnect_ec_enable or reconnect_ec_disable was last called before
14 disconnection.
15 
16 
17 Entry points in sus_signal_handler_:
18    (List is generated by the help command)
19 
20 
21 :Entry:  reconnect_ec_enable:  02/11/83
22 sus_signal_handler_$reconnect_ec_enable
23 
24 
25 Function:  This entry point enables searching for the segment
26 reconnect.ec when the user reconnects to a disconnected process.  As a
27 result, sus_signal_handler_ looks first in the user's home directory,
28 then in his project directory (>user_dir_dir>Project_name), and finally
29 in >system_control_dir.  When the reconnect.ec segment is found, the
30 command "exec_com >Directory_name>reconnect" is executed.
31 
32 
33 Syntax:
34 declare sus_signal_handler_$reconnect_ec_enable entry;
35 call sus_signal_handler_$reconnect_ec_enable ();
36 
37 
38 Notes:
39 The use of reconnect.ec is enabled automatically by the standard
40 process overseer process_overseer_.
41 
42 Invocation of the reconnect.ec is not automatically enabled by the
43 project_start_up_ process overseer.  Thus, when using
44 project_start_up_, the project administrator may enable the invocation
45 of reconnect.ec at any point in the project_start_up.ec by using the
46 reconnect_ec_enable command.
47 
48 The current command processor is used to execute the reconnect.ec
49 command.  If the user is using the abbrev command processor, any
50 applicable abbreviation will be expanded.
51 
52 
53 :Entry:  reconnect_ec_disable:  02/11/83
54 sus_signal_handler_$reconnect_ec_disable
55 
56 
57 Function:  This entry point reverses the effect of the
58 sus_signal_handler_$reconnect_ec_enable entry.  After reconnection to a
59 disconnected process, there is no attempt made to find or invoke the
60 exec_com "reconnect.ec".
61 
62 
63 Syntax:
64 declare sus_signal_handler_$reconnect_ec_disable entry;
65 call sus_signal_handler_$reconnect_ec_disable ();