1 06/17/81  attach_audit, ata
 2 
 3 Syntax:  ata {old_switch {new_switch}} {-control_args}
 4 
 5 
 6 Function: starts auditing.  Moves the attachment of the specified
 7 switch to another switch.  Attaches the first switch via audit_ to the
 8 second.
 9 
10 
11 Arguments:
12 old_switch
13    is the switch to be audited. (DEFAULT -- user_i/o)
14 new_switch
15    is the dummy switch to receive old_switch's previous attachment.
16    (DEFAULT -- audit_i/o.time)
17 
18 
19 Control arguments:
20 -pathname STR, -pn STR
21    use STR as the audit file. (DEFAULT -- [homedir]>[date].audit)
22 -truncate, -tc
23    truncate the audit file, if it already exists.
24    (DEFAULT -- extend it.)
25 -modes STR
26    set the modes on user_i/o using STR as the mode string.
27 
28 
29 Notes: If no arguments or control arguments are given, auditing is set
30 up for user_i/o with a default audit file of [date].audit.  Multiple
31 uses on the same day are all logged, one after the other, in the same
32 audit file.  The attach_audit command sets the safety_switch "on" for
33 the audit file, detach_audit turns the safety_switch off.
34 
35 For more information on the audit facility, type:
36   help audit_
37   help audit_.gi
38   help detach_audit
39   help audit_editor
40   help display_audit_file
41   help new_audit.gi