1 09/25/79 setup_graphics, sg
2
3 Syntax: sg -control_args
4
5
6 Function: Sets up the I/O switches for graphics input and output.
7
8
9 Control arguments:
10 -table gdt_name, -tb gdt_name
11 specifies the graphic device table for the terminal or graphic device being
12 used. This control argument must be present except when -output_file is
13 specified.
14 -output_file pathname, -of pathname
15 routes graphic output to the file specified. The file will contain Multics
16 Graphics Code if -table is not supplied; otherwise it will contain graphics
17 code for the device named.
18
19
20 -from switchname open_mode, -fm switchname open_mode
21 specifies the I/O switches to be attached. This control argument may occur
22 multiple times. The open_mode may be any opening mode accepted by the
23 io_call command. DEFAULT-- -from graphic_output so -from graphic_input si
24 -to switchname
25 specifies the target switch to which the graphic switches are to be di-
26 rected, through graphic_dim_. DEFAULT-- -to tty_i/o -online
27
28
29 -online
30 specifies that all other process I/O switches are to be routed through the
31 graphic_dim_. DEFAULT for terminal-like devices.
32 -offline
33 is short for "-to offline_graphics_".
34 -modes mode_string
35 specifies GDT or device modes to be applied via iox_$changemode to the
36 switches named in the -from control args.
37
38
39 Examples:
40 To set up graphics I/O to a Tektronix 4014 terminal, issue the command--
41
42 sg -tb tek_4014
43
44 To use the CalComp 915/1036 offline plotter, issue--
45
46 sg -tb calcomp_915 -offline
47
48
49 To route Multics Graphics Code into a file for later use, issue--
50
51 sg -of save.graphics
52
53 To route alternate graphics I/O switches to a secondary ARDS terminal dialed to
54 the process, issue--
55
56 sg -from graphic_output1 so -from graphic_input2 si -to dial_switch
57 -table ards