Debian Codegraph @

doc/html/invoke.html

raw symbols SCIP
1 <H2> <A NAME="Usage">Magic version 7.3 Usage</A> </H2>
2
3 <BLOCKQUOTE>
4 Basic usage: <BR><BR>
5
6 <TABLE border="1" frame="box" rules="none" cellpadding="6"
7 bgcolor="white">
8 <TBODY>
9 <TR><TD>
10 <TABLE border="0" frame="box" rules="none" cellspacing="0"
11 cellpadding="0" bgcolor="white">
12 <TBODY>
13 <TR> <TD> <TT> magic </TT>
14 [<TT>-noc</TT>[<TT>onsole</TT>]]
15 [<TT>-w</TT>[<TT>rapper</TT>]]
16 [<TT>-d</TT> <I>devType</I>]
17 [<TT>-T</TT> <I>technology</I>]
18 [<I>file</I>]
19 </TD> </TR>
20 </TBODY>
21 </TABLE>
22 </TD></TR></TBODY></TABLE> <BR>
23
24 where: <BR><BR>
25 <BLOCKQUOTE>
26 <TT>-noconsole</TT> <BR>
27 <BLOCKQUOTE>
28 (Tcl version only) Uses the calling terminal
29 for terminal-based command-line input. Otherwise, a Tk
30 console window is used.
31 </BLOCKQUOTE>
32 <TT>-wrapper</TT> <BR>
33 <BLOCKQUOTE>
34 (Tcl version only) Magic layout windows use
35 the GUI wrapper, including cell and technology manager
36 windows, layer toolbar, and file menu.
37 </BLOCKQUOTE>
38 <TT>-d</TT> <I>devType</I> <BR>
39 <BLOCKQUOTE> <BR>
40 (all versions) Select the graphics interface at runtime.
41 Specifying an invalid <I>devType</I> will result in a list
42 of known types. The possible values of <I>devType</I> are
43 determined at compile time, but the usual ones are
44 <B><TT>NULL</TT></B> (no graphics), <B><TT>X11</TT></B>, and
45 <B><TT>OpenGL</TT></B>. <TT>X11</TT> is the usual default.
46 </BLOCKQUOTE>
47 <TT>-T</TT> <I>technology</I> <BR>
48 <BLOCKQUOTE>
49 (all versions)
50 Select the appropriate technology (<TT>.tech27</TT>) file.
51 At present (this is on the to-do list), magic cannot change
52 technology after startup. So the technology file corresponding
53 to the layout to be loaded must be supplied to the command line
54 at startup. The default technology is <TT>scmos</TT>, which
55 is included with the magic source distribution. The complete
56 list of available technology files depends on what has been
57 installed on the system (see the <A HREF=tech.html>technology
58 file</A> page for details).
59 </BLOCKQUOTE>
60 <I>file</I> <BR>
61 <BLOCKQUOTE>
62 (all versions) Load the layout (<TT>.mag</TT>) file <I>file</I>
63 into the layout window on startup.
64 </BLOCKQUOTE>
65 </BLOCKQUOTE>
66
67 Complete usage information: <BR><BR>
68
69 <BLOCKQUOTE>
70
71 <TT> magic </TT>
72 [<TT>-noc</TT>[<TT>onsole</TT>]]
73 [<TT>-w</TT>[<TT>rapper</TT>]]
74 [<TT>-nowindow</TT>]
75 [<TT>-d</TT> <I>devType</I>]
76 [<TT>-T</TT> <I>technology</I>]
77 [<TT>-m</TT> <I>monType</I>]
78 [<TT>-D</TT>]
79 [<I>file</I>] <BR>
80 </BLOCKQUOTE>
81
82 where the additional options not covered above are: <BR><BR>
83
84 <BLOCKQUOTE>
85 <TT>-nowindow</TT> <BR>
86 <BLOCKQUOTE>
87 (Tcl version only) Run without displaying an initial layout
88 window. This is used mainly for GUI wrapper scripts which
89 like to generate and handle their own windows.
90 </BLOCKQUOTE>
91 <TT>-m</TT> <I>monType</I> <BR>
92 <BLOCKQUOTE>
93 (obscure) <I>monType</I> names a monitor type.
94 This is used in the search for the colomap file name,
95 which is designated <TT>
96 &lt;tech&gt;.&lt;planes&gt;.&lt;mon&gt;.cmap1</TT>.
97 The default is "<B><TT>std</TT></B>" (corresponding to
98 colormap file "<TT>mos.7bit.std.cmap1</TT>". The only other
99 monitor type for which colormaps exist in the distribution
100 is "<TT>mraster</TT>". This provides a way for users to
101 override the system color assignments.
102 </BLOCKQUOTE>
103 <TT>-D</TT> <BR>
104 <BLOCKQUOTE>
105 (all versions) Run in Debug mode.
106 </BLOCKQUOTE>
107 </BLOCKQUOTE>
108
109 Obsolete usage information: <BR><BR>
110
111 <BLOCKQUOTE>
112 <TT> magic </TT>
113 [<TT>-g</TT> <I>gPort</I>]
114 [<TT>-i</TT> <I>tabletPort</I>]
115 [<TT>-F</TT> <I>objFile</I> <I>saveFile</I>]
116 ... <BR>
117 </BLOCKQUOTE>
118
119 where the additional options not covered above are: <BR><BR>
120
121 <BLOCKQUOTE>
122 <TT>-g</TT> <I>gPort</I> <BR>
123 <BLOCKQUOTE>
124 (largely obsolete) <I>gPort</I> names a device to use
125 for the display. This was generally used in the past with
126 dual-monitor systems, especially Sun systems in which the
127 layout display might go to <TT>/dev/fb</TT>.
128 </BLOCKQUOTE>
129 <TT>-i</TT> <I>tabletPort</I> <BR>
130 <BLOCKQUOTE>
131 (largely obsolete) <I>tabletPort</I> names a device to use
132 for graphics input. This has not been tested with modern
133 graphics tablet devices. It is ignored by the X11 and OpenGL
134 display interfaces.
135 </BLOCKQUOTE>
136 <TT>-F</TT> <I>objFile</I> <I>saveFile</I> <BR>
137 <BLOCKQUOTE>
138 (largely obsolete) Create an executable file of
139 the current magic process, a core image snapshot
140 taken after all initialization. <I>objFile</I>
141 is the name of the original executable, and the
142 image will be saved in <I>saveFile</I>. This
143 only works on VAXen and SUNs running an old SunOS
144 (using a.out executables).
145 </BLOCKQUOTE>
146 </BLOCKQUOTE>
147
148 </BLOCKQUOTE>
149