| 1 |
135 |
jt_eaton |
; -*-Scheme-*-
|
| 2 |
|
|
;
|
| 3 |
|
|
; Init file for gschem
|
| 4 |
|
|
;
|
| 5 |
|
|
|
| 6 |
|
|
;
|
| 7 |
|
|
; Start of color section
|
| 8 |
|
|
;
|
| 9 |
|
|
|
| 10 |
|
|
;; Make the gschem color maps more user-friendly
|
| 11 |
|
|
(color-map-make-friendly display-color-map)
|
| 12 |
|
|
(color-map-make-friendly display-outline-color-map)
|
| 13 |
|
|
|
| 14 |
|
|
; Load up a color scheme which has a dark (black) background.
|
| 15 |
|
|
; Comment out the first line and comment in the second line for a
|
| 16 |
|
|
; light (almost white) background. The dark background is the
|
| 17 |
|
|
; original look.
|
| 18 |
|
|
;
|
| 19 |
|
|
(load (build-path geda-rc-path "gschem-colormap-darkbg")) ; dark background
|
| 20 |
|
|
;(load (build-path geda-rc-path "gschem-colormap-lightbg")) ; light background
|
| 21 |
|
|
;(load (build-path geda-rc-path "gschem-colormap-bw")) ; light background, bw
|
| 22 |
|
|
|
| 23 |
|
|
;
|
| 24 |
|
|
; End of color section
|
| 25 |
|
|
;
|
| 26 |
|
|
|
| 27 |
|
|
;
|
| 28 |
|
|
; Start of mode related keywords
|
| 29 |
|
|
;
|
| 30 |
|
|
|
| 31 |
|
|
; toolbars string
|
| 32 |
|
|
;
|
| 33 |
|
|
; Controls if the toolbars are visible or not.
|
| 34 |
|
|
;
|
| 35 |
|
|
(toolbars "enabled")
|
| 36 |
|
|
;(toolbars "disabled")
|
| 37 |
|
|
|
| 38 |
|
|
; handleboxes string
|
| 39 |
|
|
;
|
| 40 |
|
|
; Controls if the handleboxes (which contain the menu and toolbar) are
|
| 41 |
|
|
; visible or not.
|
| 42 |
|
|
;
|
| 43 |
|
|
(handleboxes "enabled")
|
| 44 |
|
|
;(handleboxes "disabled")
|
| 45 |
|
|
|
| 46 |
|
|
; undo-control string
|
| 47 |
|
|
;
|
| 48 |
|
|
; Controls if the undo is enabled or not
|
| 49 |
|
|
;
|
| 50 |
|
|
(undo-control "enabled")
|
| 51 |
|
|
;(undo-control "disabled")
|
| 52 |
|
|
|
| 53 |
|
|
; undo-levels number
|
| 54 |
|
|
;
|
| 55 |
|
|
; Determines the number of levels of undo. Basically this number decides
|
| 56 |
|
|
; how many backup schematics are saved on disk.
|
| 57 |
|
|
;
|
| 58 |
|
|
(undo-levels 10)
|
| 59 |
|
|
|
| 60 |
|
|
; undo-type string
|
| 61 |
|
|
;
|
| 62 |
|
|
; Controls which kind of undo is used. The default is to use the disk as
|
| 63 |
|
|
; the storing medium (ie after every action the undo information is stored
|
| 64 |
|
|
; to disk). The other mechanism uses only memory. The disk mechanism is
|
| 65 |
|
|
; nice because you get undo-level number of backups of the schematic written
|
| 66 |
|
|
; to disk as backups so you should never lose a schematic due to a crash.
|
| 67 |
|
|
;
|
| 68 |
|
|
(undo-type "disk")
|
| 69 |
|
|
;(undo-type "memory")
|
| 70 |
|
|
|
| 71 |
|
|
; undo-panzoom string
|
| 72 |
|
|
;
|
| 73 |
|
|
; Controls if pan or zoom commands are saved in the undo list. If this
|
| 74 |
|
|
; is enabled then a pan or zoom command will be considered a command and
|
| 75 |
|
|
; can be undone. If this is false, then panning and zooming is not saved
|
| 76 |
|
|
; in the undo list and cannot be undone. Note, the current viewport
|
| 77 |
|
|
; information is saved for every command, so the display will change to the
|
| 78 |
|
|
; viewport before a command is executed.
|
| 79 |
|
|
;
|
| 80 |
|
|
(undo-panzoom "enabled")
|
| 81 |
|
|
;(undo-panzoom "disabled")
|
| 82 |
|
|
|
| 83 |
|
|
|
| 84 |
|
|
; autosave interval
|
| 85 |
|
|
;
|
| 86 |
|
|
; Controls if a backup copy is made every "interval" seconds.
|
| 87 |
|
|
; Note that the backup copy is made when you make some change to the schematic,
|
| 88 |
|
|
; and there were more than "interval" seconds from the last autosave.
|
| 89 |
|
|
; Autosaving will not be allowed if setting it to zero.
|
| 90 |
|
|
(auto-save-interval 120)
|
| 91 |
|
|
|
| 92 |
|
|
; draw-grips string
|
| 93 |
|
|
;
|
| 94 |
|
|
; Controls if the editing grips are drawn when selecting objects
|
| 95 |
|
|
;
|
| 96 |
|
|
(draw-grips "enabled")
|
| 97 |
|
|
;(draw-grips "disabled")
|
| 98 |
|
|
|
| 99 |
|
|
; net-direction-mode string
|
| 100 |
|
|
;
|
| 101 |
|
|
; Controlls if the net direction mode is used. This mode tries to guess
|
| 102 |
|
|
; the best continuation direction of a L-shape net when adding a net.
|
| 103 |
|
|
;
|
| 104 |
|
|
(net-direction-mode "enabled")
|
| 105 |
|
|
;(net-direction-mode "disabled")
|
| 106 |
|
|
|
| 107 |
|
|
; net-selection-mode string
|
| 108 |
|
|
;
|
| 109 |
|
|
; Controls how many net segments are selected when you click at a net
|
| 110 |
|
|
; If one of the enabled items is used, the selection state will toggle
|
| 111 |
|
|
; through all selection states. The mode defines the maximum search depth
|
| 112 |
|
|
; for the net selection mode
|
| 113 |
|
|
;
|
| 114 |
|
|
;(net-selection-mode "disabled")
|
| 115 |
|
|
(net-selection-mode "enabled_net")
|
| 116 |
|
|
;(net-selection-mode "enabled_all")
|
| 117 |
|
|
|
| 118 |
|
|
; net-consolidate string
|
| 119 |
|
|
;
|
| 120 |
|
|
; Controls if the net consolidation code is used when schematics are read
|
| 121 |
|
|
; in, written to disk, and when nets are being drawn (does not consolidate
|
| 122 |
|
|
; when things are being copied or moved yet). Net consolidation is the
|
| 123 |
|
|
; connection of nets which can be combined into one.
|
| 124 |
|
|
; Comment out if you want the default mode
|
| 125 |
|
|
;
|
| 126 |
|
|
(net-consolidate "enabled")
|
| 127 |
|
|
;(net-consolidate "disabled")
|
| 128 |
|
|
|
| 129 |
|
|
; netconn-rubberband string
|
| 130 |
|
|
;
|
| 131 |
|
|
; Controls if net connections are maintained when you move a connecting
|
| 132 |
|
|
; component or net.
|
| 133 |
|
|
;
|
| 134 |
|
|
(netconn-rubberband "enabled")
|
| 135 |
|
|
;(netconn-rubberband "disabled")
|
| 136 |
|
|
|
| 137 |
|
|
; magnetic-net-mode string
|
| 138 |
|
|
;
|
| 139 |
|
|
; Controls the initial setting of the magnetic net mode. The magnetic
|
| 140 |
|
|
; net mode marks a possible connection that is close to the current
|
| 141 |
|
|
; cursor position
|
| 142 |
|
|
(magnetic-net-mode "enabled")
|
| 143 |
|
|
;(magnetic-net-mode "disabled")
|
| 144 |
|
|
|
| 145 |
|
|
; zoom-with-pan string
|
| 146 |
|
|
;
|
| 147 |
|
|
; Sets the zoom in and zoom out functions to pan the display and then zoom.
|
| 148 |
|
|
; Basically zoom in / out where the mouse pointer sits on the display.
|
| 149 |
|
|
; Comment out if you want the default mode.
|
| 150 |
|
|
;
|
| 151 |
|
|
(zoom-with-pan "enabled")
|
| 152 |
|
|
;(zoom-with-pan "disabled")
|
| 153 |
|
|
|
| 154 |
|
|
; zoom-gain integer
|
| 155 |
|
|
;
|
| 156 |
|
|
; Controls the percentage size increase when zooming into the page.
|
| 157 |
|
|
; Un-zooming uses the inverse factor such that a zoom in / zoom out
|
| 158 |
|
|
; pair will return the schematic to the same size.
|
| 159 |
|
|
; E.g:
|
| 160 |
|
|
; 20% increment => x 1.2 original size when zooming in
|
| 161 |
|
|
; => x 1 / 1.2 x original size when zooming out
|
| 162 |
|
|
;
|
| 163 |
|
|
(zoom-gain 20)
|
| 164 |
|
|
;(zoom-gain 50) ; Hard-coded behaviour up to version 1.5.0.20080706
|
| 165 |
|
|
|
| 166 |
|
|
; fast-mousepan string
|
| 167 |
|
|
;
|
| 168 |
|
|
; Controls if text is drawn properly or if a simplified version (a line which
|
| 169 |
|
|
; represents the text string) is drawn during mouse pan. Drawing a simple
|
| 170 |
|
|
; line speeds up mousepan a lot for big schematics
|
| 171 |
|
|
(fast-mousepan "enabled")
|
| 172 |
|
|
;(fast-mousepan "disabled")
|
| 173 |
|
|
|
| 174 |
|
|
; mousepan-gain integer
|
| 175 |
|
|
;
|
| 176 |
|
|
; Controls how much the display pans when using mousepan. A larger value
|
| 177 |
|
|
; provides greater pan distance when moving the mouse, while a smaller value
|
| 178 |
|
|
; provides a smoother, but smaller pan distance when moving the mouse.
|
| 179 |
|
|
(mousepan-gain 1)
|
| 180 |
|
|
;(mousepan-gain 5)
|
| 181 |
|
|
;(mousepan-gain 10)
|
| 182 |
|
|
|
| 183 |
|
|
; keyboardpan-gain integer
|
| 184 |
|
|
;
|
| 185 |
|
|
; Controls how much the display pans when using the keyboard cursor keys.
|
| 186 |
|
|
; A larger value provides greater pan distance when pressing the cursor
|
| 187 |
|
|
; keys, while a smaller value provides a smoother, but smaller pan
|
| 188 |
|
|
; distance when moving the cursor keys.
|
| 189 |
|
|
(keyboardpan-gain 20)
|
| 190 |
|
|
;(keyboardpan-gain 10)
|
| 191 |
|
|
;(keyboardpan-gain 1)
|
| 192 |
|
|
;(keyboardpan-gain 5)
|
| 193 |
|
|
|
| 194 |
|
|
; select-slack-pixels integer
|
| 195 |
|
|
;
|
| 196 |
|
|
; Controls how many pixels around an object can still be clicked as part of
|
| 197 |
|
|
; that object.
|
| 198 |
|
|
; A larger value gives greater ease in selecting small, or narrow objects.
|
| 199 |
|
|
(select-slack-pixels 10)
|
| 200 |
|
|
;(select-slack-pixels 4)
|
| 201 |
|
|
;(select-slack-pixels 0)
|
| 202 |
|
|
;(select-slack-pixels 1)
|
| 203 |
|
|
|
| 204 |
|
|
|
| 205 |
|
|
; action-feedback-mode string
|
| 206 |
|
|
;
|
| 207 |
|
|
; Set the default action feedback mode (for copy/move/component place).
|
| 208 |
|
|
; Set to outline to get an outline of the selection.
|
| 209 |
|
|
; Set to boundingbox to get a bounding box of the selection.
|
| 210 |
|
|
; For a fast machines with fast video use outline (it looks good).
|
| 211 |
|
|
; For a slow machine use boundingbox; it is much faster.
|
| 212 |
|
|
; Comment out if you want the default mode.
|
| 213 |
|
|
;
|
| 214 |
|
|
(action-feedback-mode "outline")
|
| 215 |
|
|
;(action-feedback-mode "boundingbox")
|
| 216 |
|
|
|
| 217 |
|
|
; continue-component-place string
|
| 218 |
|
|
;
|
| 219 |
|
|
; If this enabled then multiple instances of the same component can be placed
|
| 220 |
|
|
; immediately without having to click on the name or Apply in the Component
|
| 221 |
|
|
; Place... dialog box. If this is disabled then only one component can be
|
| 222 |
|
|
; placed (the user must then press Apply in the dialog box to place multiple
|
| 223 |
|
|
; instances of the same component)
|
| 224 |
|
|
;
|
| 225 |
|
|
(continue-component-place "enabled")
|
| 226 |
|
|
;(continue-component-place "disabled")
|
| 227 |
|
|
|
| 228 |
|
|
; scrollbars string
|
| 229 |
|
|
;
|
| 230 |
|
|
; Controls if the scrollbars are displayed (enabled) or not (disabled)
|
| 231 |
|
|
; If you disable the scrollbars, you will not be able to use the scroll
|
| 232 |
|
|
; wheel on your mouse. This is an unfortunate side effect of how the
|
| 233 |
|
|
; code is implemented.
|
| 234 |
|
|
;
|
| 235 |
|
|
(scrollbars "enabled")
|
| 236 |
|
|
;(scrollbars "disabled")
|
| 237 |
|
|
|
| 238 |
|
|
; raise-dialog-boxes-on-expose string
|
| 239 |
|
|
;
|
| 240 |
|
|
; Controls if dialog boxes are raised whenever an expose event happens
|
| 241 |
|
|
; Default is disabled since gtk2 supposedly handles the raising of these
|
| 242 |
|
|
; dialogs correctly now.
|
| 243 |
|
|
;
|
| 244 |
|
|
;(raise-dialog-boxes-on-expose "enabled")
|
| 245 |
|
|
(raise-dialog-boxes-on-expose "disabled")
|
| 246 |
|
|
|
| 247 |
|
|
; embed-components string
|
| 248 |
|
|
;
|
| 249 |
|
|
; Determines if the newly placed components are embedded in the schematic
|
| 250 |
|
|
; or if only the filename is specified and the component is searched for
|
| 251 |
|
|
; instead. If it is enabled, then all new components will be embedded
|
| 252 |
|
|
; otherwise they are not embedded. This can be controlled on the fly during
|
| 253 |
|
|
; runtime with the "Embed Component" checkbox on the select component dialog
|
| 254 |
|
|
; box
|
| 255 |
|
|
;
|
| 256 |
|
|
;(embed-components "enabled")
|
| 257 |
|
|
(embed-components "disabled")
|
| 258 |
|
|
|
| 259 |
|
|
; logging string
|
| 260 |
|
|
;
|
| 261 |
|
|
; Determines if the logging mechanism is enabled or disabled
|
| 262 |
|
|
; Possible options: enabled or disabled
|
| 263 |
|
|
; Default is enabled.
|
| 264 |
|
|
; See below for the logging-destination keyword for control over
|
| 265 |
|
|
; where the messages go.
|
| 266 |
|
|
;
|
| 267 |
|
|
(logging "enabled")
|
| 268 |
|
|
;(logging "disabled")
|
| 269 |
|
|
|
| 270 |
|
|
|
| 271 |
|
|
; log-window string
|
| 272 |
|
|
;
|
| 273 |
|
|
; Controls if the log message window is mapped when gschem is started up
|
| 274 |
|
|
; Possible options:
|
| 275 |
|
|
; startup - opened up when gschem starts
|
| 276 |
|
|
; later - NOT opened up when gschem starts
|
| 277 |
|
|
; (can be opened by Options/Show Log Window)
|
| 278 |
|
|
;
|
| 279 |
|
|
(log-window "startup")
|
| 280 |
|
|
;(log-window "later")
|
| 281 |
|
|
|
| 282 |
|
|
|
| 283 |
|
|
; log-window-type string
|
| 284 |
|
|
;
|
| 285 |
|
|
; Controls if the log message window is a transient or if it is decorated
|
| 286 |
|
|
; as a normal window (this is dependant on the window manager doing decoration
|
| 287 |
|
|
; right)
|
| 288 |
|
|
;
|
| 289 |
|
|
; Possible options:
|
| 290 |
|
|
; decorated - log window is a normal decorated window
|
| 291 |
|
|
; transient - log window is a transient dialog box, typically
|
| 292 |
|
|
; not decorated by the window manager
|
| 293 |
|
|
;
|
| 294 |
|
|
(log-window-type "decorated")
|
| 295 |
|
|
;(log-window-type "transient")
|
| 296 |
|
|
|
| 297 |
|
|
|
| 298 |
|
|
; logging-destination string
|
| 299 |
|
|
;
|
| 300 |
|
|
; Specifies where log message go during run time.
|
| 301 |
|
|
; Possible options are:
|
| 302 |
|
|
; log_window The log window (if it's visible)
|
| 303 |
|
|
; tty The stdout of the terminal where gschem was run from
|
| 304 |
|
|
; both Both of the above locations
|
| 305 |
|
|
; Message are always written to the log file (unless logging is disabled)
|
| 306 |
|
|
; by the above keyword
|
| 307 |
|
|
;
|
| 308 |
|
|
; Default is log_window
|
| 309 |
|
|
;
|
| 310 |
|
|
(logging-destination "log_window")
|
| 311 |
|
|
;(logging-destination "tty")
|
| 312 |
|
|
;(logging-destination "both")
|
| 313 |
|
|
|
| 314 |
|
|
; text-size number
|
| 315 |
|
|
;
|
| 316 |
|
|
; Sets the default text size.
|
| 317 |
|
|
;
|
| 318 |
|
|
(text-size 10)
|
| 319 |
|
|
|
| 320 |
|
|
; snap-size number
|
| 321 |
|
|
;
|
| 322 |
|
|
; Sets the default grid spacing at start-up of gschem.
|
| 323 |
|
|
;
|
| 324 |
|
|
(snap-size 100)
|
| 325 |
|
|
|
| 326 |
|
|
; text-caps-style string
|
| 327 |
|
|
;
|
| 328 |
|
|
; Sets the default caps style used for the input of text
|
| 329 |
|
|
; lower specifies that all inputed text is in lowercase
|
| 330 |
|
|
; upper specifies that all inputed text is in uppercase
|
| 331 |
|
|
; both specifies that all inputed text is used as is (no case conversion)
|
| 332 |
|
|
;
|
| 333 |
|
|
(text-caps-style "both")
|
| 334 |
|
|
;(text-caps-style "lower")
|
| 335 |
|
|
;(text-caps-style "upper")
|
| 336 |
|
|
|
| 337 |
|
|
; file-preview string
|
| 338 |
|
|
;
|
| 339 |
|
|
; Controls if the preview area in the File Open/Save As and Component
|
| 340 |
|
|
; dialog boxes is enabled by default or not
|
| 341 |
|
|
;
|
| 342 |
|
|
(file-preview "enabled")
|
| 343 |
|
|
;(file-preview "disabled")
|
| 344 |
|
|
|
| 345 |
|
|
; enforce-hierarchy string
|
| 346 |
|
|
;
|
| 347 |
|
|
; Controls if the movement between hierarchy levels (of the same underlying
|
| 348 |
|
|
; schematics) is allowed or not.
|
| 349 |
|
|
; If this is enabled, then the user cannot (without using the page manager)
|
| 350 |
|
|
; move between hierarchy levels otherwise, if enabled, the user sees all
|
| 351 |
|
|
; the hierarchy levels as being flat.
|
| 352 |
|
|
;
|
| 353 |
|
|
(enforce-hierarchy "enabled")
|
| 354 |
|
|
;(enforce-hierarchy "disabled")
|
| 355 |
|
|
|
| 356 |
|
|
; window-size width height
|
| 357 |
|
|
;
|
| 358 |
|
|
; Specifies the size of the drawing area window. The width and height
|
| 359 |
|
|
; are specified in pixels and do not include the three menu bars and
|
| 360 |
|
|
; scrollbars (so the window will be larger than the specified
|
| 361 |
|
|
; measurements). Try to keep an aspect ratio of 1.333333 if at all possible.
|
| 362 |
|
|
; These numbers are NOT the true size of the window, but of the drawing area.
|
| 363 |
|
|
;
|
| 364 |
|
|
;(window-size 650 487) ; Good size for 800x600
|
| 365 |
|
|
(window-size 900 650) ; Good size for 1024x768
|
| 366 |
|
|
;(window-size 950 712) ; Good size for 1152x864
|
| 367 |
|
|
;(window-size 1100 825) ; Good size for 1280x1024
|
| 368 |
|
|
|
| 369 |
|
|
; world-size width height border
|
| 370 |
|
|
;
|
| 371 |
|
|
; Specifies the size of the world and a border (in world space units)
|
| 372 |
|
|
; Be sure all inputs are reals (floats/doubles) and don't try to reverse
|
| 373 |
|
|
; the values: to get a portrait mode. Code to support that needs to be added
|
| 374 |
|
|
; The code that implements this automatically transforms the dimensions into
|
| 375 |
|
|
; the proper aspect ratio. All units are in inches.
|
| 376 |
|
|
; This is not the paper size. That is specified elsewhere. End users should
|
| 377 |
|
|
; not change this at all.
|
| 378 |
|
|
;
|
| 379 |
|
|
(world-size 120.0 90.0 1.0)
|
| 380 |
|
|
;(world-size 60.0 45.0 1.0)
|
| 381 |
|
|
|
| 382 |
|
|
; image-color string
|
| 383 |
|
|
;
|
| 384 |
|
|
; Controls if image (png) is color (enabled) or black/white (disabled)
|
| 385 |
|
|
;
|
| 386 |
|
|
(image-color "enabled")
|
| 387 |
|
|
;(image-color "disabled")
|
| 388 |
|
|
|
| 389 |
|
|
; middle-button string
|
| 390 |
|
|
;
|
| 391 |
|
|
; Controls if the middle mouse button draws strokes, repeats the last
|
| 392 |
|
|
; command, does an action (move and copy (holding down the ALT key)
|
| 393 |
|
|
; are supported) on a single objects, or if it does the mouse panning.
|
| 394 |
|
|
;
|
| 395 |
|
|
(middle-button "mousepan")
|
| 396 |
|
|
;(middle-button "action")
|
| 397 |
|
|
;(middle-button "stroke")
|
| 398 |
|
|
;(middle-button "repeat")
|
| 399 |
|
|
|
| 400 |
|
|
; third-button string
|
| 401 |
|
|
;
|
| 402 |
|
|
; Controls if the third mouse button performs the popup ("popup") or
|
| 403 |
|
|
; if it does the mouse panning ("mousepan")
|
| 404 |
|
|
;
|
| 405 |
|
|
(third-button "popup")
|
| 406 |
|
|
;(third-button "mousepan")
|
| 407 |
|
|
|
| 408 |
|
|
; third-button-cancel string
|
| 409 |
|
|
;
|
| 410 |
|
|
; Controls if the third mouse in mousepan mode cancels draw actions such as
|
| 411 |
|
|
; placing of a component or drawing of a primitive
|
| 412 |
|
|
;
|
| 413 |
|
|
(third-button-cancel "enabled")
|
| 414 |
|
|
;(third-button-cancel "disabled")
|
| 415 |
|
|
|
| 416 |
|
|
; scroll-wheel string
|
| 417 |
|
|
;
|
| 418 |
|
|
; Controls the binding of the mouse scroll wheel.
|
| 419 |
|
|
; "classic" style is the gschem default, where scrolling with no modifier
|
| 420 |
|
|
; key is mapped to zoom, + CTRL -> x-axis pan, + SHIFT -> y-axis pan.
|
| 421 |
|
|
; "gtk" style changes the behaviour to be more like other GTK applications,
|
| 422 |
|
|
; no modifier -> y-axis pan, + CTRL -> zoom, + SHIFT -> x-axis pan.
|
| 423 |
|
|
(scroll-wheel "classic")
|
| 424 |
|
|
;(scroll-wheel "gtk")
|
| 425 |
|
|
|
| 426 |
|
|
|
| 427 |
|
|
; scrollpan-steps integer
|
| 428 |
|
|
;
|
| 429 |
|
|
; Controls the number of scroll pan events required to traverse the viewed
|
| 430 |
|
|
; schematic area. Larger numbers mean more scroll steps are required to
|
| 431 |
|
|
; pan across the viewed area and giving finer control over positioning.
|
| 432 |
|
|
(scrollpan-steps 8)
|
| 433 |
|
|
;(scrollpan-steps 4) ; Hard-coded behaviour up to version 1.5.0.20080706
|
| 434 |
|
|
|
| 435 |
|
|
; warp-cursor string
|
| 436 |
|
|
;
|
| 437 |
|
|
; Controls if the cursor is warped (or moved) when you zoom in and out.
|
| 438 |
|
|
; Some people find this forced cursor movement annoying.
|
| 439 |
|
|
;
|
| 440 |
|
|
(warp-cursor "enabled")
|
| 441 |
|
|
;(warp-cursor "disabled")
|
| 442 |
|
|
|
| 443 |
|
|
|
| 444 |
|
|
; Bus ripper controls
|
| 445 |
|
|
; The following keywords control the auto bus ripper addition code
|
| 446 |
|
|
;
|
| 447 |
|
|
; bus-ripper-size : Sets the size of the auto bus rippers.
|
| 448 |
|
|
; bus-ripper-type : Sets the bus ripper type either a "component" or
|
| 449 |
|
|
; plain "net"
|
| 450 |
|
|
; bus-ripper-symname : If above is set to component, specify the symbol name.
|
| 451 |
|
|
; The symbol must exist in a component library
|
| 452 |
|
|
; bus-ripper-rotation : Either "symmetric" or "non-symmetric". This deals
|
| 453 |
|
|
; with how the bus ripper symbol is rotated when it
|
| 454 |
|
|
; is auto added to a schematic.
|
| 455 |
|
|
;
|
| 456 |
|
|
|
| 457 |
|
|
; The default bus ripper
|
| 458 |
|
|
;(bus-ripper-size 200)
|
| 459 |
|
|
;(bus-ripper-type "component")
|
| 460 |
|
|
;(bus-ripper-symname "busripper-1.sym")
|
| 461 |
|
|
;(bus-ripper-rotation "non-symmetric")
|
| 462 |
|
|
|
| 463 |
|
|
; A symmetric alternative
|
| 464 |
|
|
;(bus-ripper-size 200)
|
| 465 |
|
|
;(bus-ripper-type "component")
|
| 466 |
|
|
;(bus-ripper-symname "busripper-2.sym")
|
| 467 |
|
|
;(bus-ripper-rotation "symmetric")
|
| 468 |
|
|
|
| 469 |
|
|
; A simple net
|
| 470 |
|
|
(bus-ripper-size 200)
|
| 471 |
|
|
(bus-ripper-type "net")
|
| 472 |
|
|
|
| 473 |
|
|
; Grid mode
|
| 474 |
|
|
;
|
| 475 |
|
|
; The grid-mode keyword controls which mode of grid is used by default in
|
| 476 |
|
|
; gschem.
|
| 477 |
|
|
;(grid-mode "none")
|
| 478 |
|
|
(grid-mode "dots")
|
| 479 |
|
|
;(grid-mode "mesh")
|
| 480 |
|
|
|
| 481 |
|
|
; Dots grid dot size
|
| 482 |
|
|
;
|
| 483 |
|
|
; The dots-grid-dot-size keyword controls the size of the grid dots in the
|
| 484 |
|
|
; dots grid display. The units are in pixels. The default (min) value of 1
|
| 485 |
|
|
; is the best performing as the grid dot size is rendered as a single pixel.
|
| 486 |
|
|
; Values of 2 and 3 are good values to try if the default grid dot size is
|
| 487 |
|
|
; too small for your tastes. Anything larger than 3 is probably too large.
|
| 488 |
|
|
;
|
| 489 |
|
|
;(dots-grid-dot-size 1)
|
| 490 |
|
|
(dots-grid-dot-size 2)
|
| 491 |
|
|
;(dots-grid-dot-size 3)
|
| 492 |
|
|
|
| 493 |
|
|
; Dots grid mode
|
| 494 |
|
|
;
|
| 495 |
|
|
; The dots-grid-mode keyword controls the mode of the dotted grid, either
|
| 496 |
|
|
; variable or fixed. In the variable mode, the grid spacing changes
|
| 497 |
|
|
; depending on the zoom factor. In the fixed mode, the grid always
|
| 498 |
|
|
; represents the same number of units as the snap-spacing. You can
|
| 499 |
|
|
; control the density of the grid using the dots-grid-fixed-threshold.
|
| 500 |
|
|
(dots-grid-mode "variable")
|
| 501 |
|
|
;(dots-grid-mode "fixed")
|
| 502 |
|
|
|
| 503 |
|
|
; Dots grid fixed threshold
|
| 504 |
|
|
;
|
| 505 |
|
|
; The dots-grid-fixed-threshold specifies the minimum number of pixels
|
| 506 |
|
|
; grid-spacing for the grid to be displayed. Using this parameter you can
|
| 507 |
|
|
; control thedensity of the displayed grid (smaller numbers will cause the
|
| 508 |
|
|
; grid to be drawn denser). This mode is only used when grid-mode is fixed.
|
| 509 |
|
|
;
|
| 510 |
|
|
(dots-grid-fixed-threshold 10)
|
| 511 |
|
|
|
| 512 |
|
|
; Mesh grid display threshold
|
| 513 |
|
|
;
|
| 514 |
|
|
; The mesh-grid-display-threshold specifies the minimum line pitch for a the
|
| 515 |
|
|
; grid to be displayed. Using this parameter you can control maximum density
|
| 516 |
|
|
; of the displayed before the minor, then major grid-lines are switched off.
|
| 517 |
|
|
;
|
| 518 |
|
|
(mesh-grid-display-threshold 3)
|
| 519 |
|
|
|
| 520 |
|
|
; force-boundingbox string
|
| 521 |
|
|
;
|
| 522 |
|
|
; Controls if the entire bounding box of a symbol is used when figuring out
|
| 523 |
|
|
; whichend of the pin is considered the active port. Enable this when
|
| 524 |
|
|
; gschem is guessing incorrectly.
|
| 525 |
|
|
;
|
| 526 |
|
|
(force-boundingbox "disabled")
|
| 527 |
|
|
;(force-boundingbox "enabled")
|
| 528 |
|
|
|
| 529 |
|
|
|
| 530 |
|
|
; add-attribute-offset integer
|
| 531 |
|
|
;
|
| 532 |
|
|
; This has not been implemented/debugged yet.
|
| 533 |
|
|
; This has not been implemented/debugged yet.
|
| 534 |
|
|
; This has not been implemented/debugged yet.
|
| 535 |
|
|
;
|
| 536 |
|
|
; Controls a offset which is added to the location of text items that are
|
| 537 |
|
|
; added to an object as an attribute. This offset is added when the following
|
| 538 |
|
|
; conditions occur:
|
| 539 |
|
|
;
|
| 540 |
|
|
; 1) Add/Attribute... has been invoked via the hotkey
|
| 541 |
|
|
; 2) It is the "netname" attribute being added
|
| 542 |
|
|
; 3) It is being attached to a horizontal or vertical net segment
|
| 543 |
|
|
; 4) The initial mouse position is at or near the actual net (with one
|
| 544 |
|
|
; grid unit).
|
| 545 |
|
|
;
|
| 546 |
|
|
; If these four conditions are not met, then this offset is not added.
|
| 547 |
|
|
;(add-attribute-offset 50)
|
| 548 |
|
|
|
| 549 |
|
|
|
| 550 |
|
|
; reset-component-library
|
| 551 |
|
|
;
|
| 552 |
|
|
; When reset-component-library is executed, then all known component library
|
| 553 |
|
|
; paths are erased. This is useful if the user wants to override all the
|
| 554 |
|
|
; system provided paths and provide his/her own set. Normally this is not
|
| 555 |
|
|
; commented in.
|
| 556 |
|
|
;
|
| 557 |
|
|
; (reset-component-library)
|
| 558 |
|
|
|
| 559 |
|
|
|
| 560 |
|
|
; reset-source-library
|
| 561 |
|
|
;
|
| 562 |
|
|
; When reset-source-library is executed, then all known source library
|
| 563 |
|
|
; paths are erased. This is useful if the user wants to override all the
|
| 564 |
|
|
; system provided paths and provide his/her own set. Normally this is not
|
| 565 |
|
|
; commented in.
|
| 566 |
|
|
;
|
| 567 |
|
|
; (reset-source-library)
|
| 568 |
|
|
|
| 569 |
|
|
;
|
| 570 |
|
|
; End of mode related keywords
|
| 571 |
|
|
;
|
| 572 |
|
|
|
| 573 |
|
|
|