1 02/16/84  test_dcw
 2 
 3 Syntax:  test_dcw {device} {name} {-control_args}
 4 
 5 
 6 Function:  constructs and executes arbitrary DCW lists on any device
 7 supported by the I/O interfacer.
 8 
 9 
10 Arguments:
11 device
12    is the name of the device to be used.  This can be either a specific
13    device name, such as "tape_02" or "puna," or a generic device type,
14    such as "printer" or "disk."  If the device name is omitted, "tape"
15    is assumed.
16 name
17    is the name of the tape or disk volume to be mounted.  This argument
18    is only used if the device is a tape or a disk.  If the tape or disk
19    volume name is omitted, "scratch" is assumed.
20 
21 
22 Control arguments:
23 -read
24    places the device in read-only mode.  This control argument only
25    applies if the device is a disk or a tape.
26 -7track, -7tr
27    specifies a 7-track tape drive.  It only applies if the device is a
28    tape.
29 
30 
31 -priv
32    specifies a privileged attachment (see "Notes" below).
33 -sys
34    sets the system_flag in the rcp_ info structure during attachment
35    (see "Notes").
36 -debug, -db
37    runs the program in debug mode.  In this mode, only the editing
38    requests are recognized; no execution is allowed, and no actual
39    device attachment takes place.
40 
41 
42 Notes: The test_dcw command attaches the device selected using the
43 rcp_ subroutine.  Normally, the call is made to rcp_$attach as a
44 nonsystem process.  However, if -priv is used, the call is made to
45 rcp_priv_$attach.  In both cases, if -sys is used, the system_flag in
46 the rcp_ info structure is set, to indicate to rcp_ that you are to be
47 considered a system process.  You must have re access to the rcp_sys_
48 gate to make this kind of attachment.  If the device specified in the
49 command line is a device type rather than a specific device, rcp_ is
50 relied upon to select the actual device to be used.  In either case,
51 the name of the device actually attached is printed after attachment
52 completes.
53 
54 
55 After the test_dcw command is invoked, the following commands are read
56 from the user_input I/O switch: tdcw, idcw, nidcw, iotp, iotd, iontp,
57 odcw, pcw, opcw, edit (e), update (u), insert (i), delete (dl, d),
58 print (p), name, save, restore, execute (x), getstat (g), block (b),
59 xs, xr, xre, status (st), rs, dump patch, pattern, survey, dtstat,
60 chan, time, prompt, susp, rel, ? (question mark), . (period), and
61 quit, (q).  For details about these commands, see the Multics System
62 Diagnostic Aids (AR97).