[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA: PCB HID sources
> Clicking on the "X" of the frame does not give you a warning about
> saving unsaved work. The normal exit does give you the warning.
This is checked in. I also fixed a bug in command-line boolean
options, and made "pcb --help" do the right thing. It now prints all
the known options, including printer- and export-specific options.
Note: any of the below can be used in .Xdefaults, like:
Pcb.off-limit-color: skyblue
$ ./pcb-bin -h
PCB Printed Circuit Board editing program, http://pcb.sourceforge.net
pcb-bin [-h|-V|--copyright] Help, version, copyright
pcb-bin [gui options] <pcb file> to edit
Available GUI hid:
lesstif LessTif - a Motif clone for X/Unix
pcb-bin -p [printing options] <pcb file> to print
Available printing hid:
lpr Postscript print.
pcb-bin -x hid [export options] <pcb file> to export
Available export hids:
gerber RS-274X (Gerber) export.
ps Postscript export.
eps Encapsulated Postscript
gui options:
--help Show Help
--version Show Version
--copyright Show Copyright
--grid-units-mm
--black-color <string> color for black
--white-color <string> color for white
--background-color <string> color for background
--crosshair-color <string> color for the crosshair
--cross-color <string> color for cross
--via-color <string> color for vias
--via-selected-color <string> color for selected vias
--pin-color <string> color for pins
--pin-selected-color <string> color for selected pins
--element-color <string> color for elements
--rat-color <string> color for
--invisible-objects-color <string> color for invisible objects
--invisible-mark-color <string> color for invisible marks
--element-selected-color <string> color for selected elements
--rat-selected-color <string> color for selected rats
--connected-color <string> color for connections
--off-limit-color <string> color for off-limits areas
--grid-color <string> color for the grid
--layer-color-1 <string> Color for layer 1
--layer-color-2 <string> Color for layer 2
--layer-color-3 <string> Color for layer 3
--layer-color-4 <string> Color for layer 4
--layer-color-5 <string> Color for layer 5
--layer-color-6 <string> Color for layer 6
--layer-color-7 <string> Color for layer 7
--layer-color-8 <string> Color for layer 8
--layer-selected-color-1 <string> Color for layer 1 when selected
--layer-selected-color-2 <string> Color for layer 2 when selected
--layer-selected-color-3 <string> Color for layer 3 when selected
--layer-selected-color-4 <string> Color for layer 4 when selected
--layer-selected-color-5 <string> Color for layer 5 when selected
--layer-selected-color-6 <string> Color for layer 6 when selected
--layer-selected-color-7 <string> Color for layer 7 when selected
--layer-selected-color-8 <string> Color for layer 8 when selected
--via-thickness <num>
--via-drilling-hole <num>
--line-thickness <num> Initial thickness of new lines.
--rat-thickness <num>
--keepaway <num>
--default-PCB-width <num>
--default-PCB-height <num>
--text-scale <num>
--alignment-distance <num>
--bloat <num>
--shrink <num>
--min-width <num> DRC minimum copper spacing
--min-silk <num> DRC minimum silk width
--grid <num>
--grid-increment-mm <num>
--grid-increment-mil <num>
--size-increment-mm <num>
--size-increment-mil <num>
--line-increment-mm <num>
--line-increment-mil <num>
--clear-increment-mm <num>
--clear-increment-mil <num>
--backup-interval <num>
--layer-name-1 <string> Name for layer 1
--layer-name-2 <string> Name for layer 2
--layer-name-3 <string> Name for layer 3
--layer-name-4 <string> Name for layer 4
--layer-name-5 <string> Name for layer 5
--layer-name-6 <string> Name for layer 6
--layer-name-7 <string> Name for layer 7
--layer-name-8 <string> Name for layer 8
--font-command <string>
--file-command <string> Command to read a file.
--element-command <string>
--print-file <string>
--lib-command-dir <string>
--lib-command <string>
--lib-contents-command <string>
--lib-newlib <string>
--save-command <string>
--lib-name <string>
--default-font <string> File name of default font.
--groups <string>
--route-styles <string>
--file-path <string>
--rat-command <string>
--font-path <string>
--element-path <string>
--lib-path <string>
--menu-file <string>
--action-script <string> If set, this file is executed at startup.
--action-string <string> If set, this is executed at startup.
--fab-author <string>
--pinout-offset-x <num>
--pinout-offset-y <num>
--pinout-text-offset-x <num>
--pinout-text-offset-y <num>
--clear-line
--unique-names
--snap-pin
--save-last-command
--save-in-tmp
--all-direction-lines
--show-number
--reset-after-element
--ring-bell-finished
lpr options:
--lprcommand <string> Command to print
--drill-helper Prints a centering target in large drill holes
--align-marks Prints alignment marks on each layer
--outline Prints outline on each layer
--mirror Prints mirror image of each layer
--fill-page Scale board to fill page
--auto-mirror Prints mirror image of appropriate layers
gerber options:
--gerberfile <string> Gerber output file base
ps options:
--psfile <string> Postscript output file
--drill-helper Prints a centering target in large drill holes
--align-marks Prints alignment marks on each layer
--outline Prints outline on each layer
--mirror Prints mirror image of each layer
--fill-page Scale board to fill page
--auto-mirror Prints mirror image of appropriate layers
eps options:
--epsfile <string> Postscript output file
--scale <num> EPS scale