1 02/02/79  print_attach_table, pat
 2 
 3 Syntax:  pat {switch_names} {-control_args}
 4 
 5 
 6 Function: prints a list of I/O switches and information about them.
 7 
 8 
 9 Arguments:
10 switch_names
11    are starnames used to select the switches to be processed.
12    If no switch_names are specified, all I/O switches that are currently
13    attached are processed.
14 
15 
16 Control arguments:
17 -name switch_name, -nm switch_name
18    causes the next argument to be interpreted as a literal switchname, even if
19    it looks like a starname or control argument.
20 -brief, -bf
21    suppresses the processing of the four standard switches (user_input,
22    user_output, user_i/o and error_output)
23 -all, -a
24    processes all switches, even those that are not attached.
25 -attached, -att
26    processes only attached switches. This is the default.
27 -open
28    processes only open switches.
29 
30 
31 Notes: The output from this command is a table listing the name of each switch
32 processed, its attach description (if attached) and its open description (if
33 open). The switches processed are selected by starname match and by whether
34 they match the criteria specified by the control arguments.
35 
36 
37 Syntax as an active function:
38           [pat {-control_args} {switch_names}]
39 returns a string containing the names of all the switches selected,
40 separated by spaces.