Guardian Programmer's Guide

Table Of Contents
Contents
Guardian Programmer’s Guide421922-014
xvii
23. Writing a Command-Interpreter Monitor
($CMON)
23. Writing a Command-Interpreter Monitor ($CMON)
Communicating With TACL Processes 23-2
Controlling the Configuration of a TACL Process 23-4
Retaining Default Values 23-7
Setting Configuration Parameters 23-7
Controlling Logon and Logoff 23-8
Controlling Logon 23-9
Controlling Logoff 23-12
Controlling Illegal Logon 23-13
Controlling Passwords 23-14
When the User Requests to Change a Local Password 23-14
When the User Requests to Change a Remote Password 23-15
Controlling Process Creation 23-17
Controlling the Priority of a New Process 23-20
Controlling the CPU of a New Process 23-21
Controlling Change of Process Priority 23-22
Controlling Adding and Deleting Users 23-24
Controlling Adding a User 23-24
Controlling Deleting a User 23-26
Controlling $CMON While the System Is Running 23-27
Setting the Logon Display Text at Run Time 23-29
Refusing Command-Interpreter Requests 23-31
Controlling Which CPU a Process Can Run In 23-33
Writing a $CMON Program: An Example 23-36
Sample $CMON Program 23-36
Sample Command-Interface Program 23-70
Debugging a TACL Monitor ($CMON) 23-89
A TACL Macro for Debugging and Testing a $CMON Program 23-89
Procedure for Debugging and Testing a TACL Monitor ($CMON) 23-92
24. Writing a Terminal Simulator
Specifying Device Subtype 30 24-2
Why Device Subtype 30 Must Be Specified 24-2
How to Specify Device Subtype 30 24-2
Assigning a Name to the Terminal-Simulation Process 24-3
Accepting System Messages Through $RECEIVE 24-3