Skip to content

Deprecated Settings

dmn edited this page Jun 20, 2020 · 17 revisions

Deprecated settings

When running tools from the Lepton EDA suite, you sometimes may see a warning like this:

WARNING: The RC file function 'hierarchy-uref-separator' is deprecated.
RC configuration functions will be removed in an upcoming Lepton EDA
release. Please use .conf configuration files instead:
https://github.com/lepton-eda/lepton-eda/wiki/Configuration-Settings

Put the following lines into the lepton.conf file (in current directory)
or lepton-user.conf (in user's configuration directory, typically
$HOME/.config/lepton-eda/), replacing MYVALUE with the desired
option's value:

[netlist.hierarchy]
refdes-attribute-separator=MYVALUE

It means that the option you are trying to set in the old-style configuration file (e.g. gafrc, gschemrc) has been replaced with the new one that should be defined in one of the *.conf configuration files, as described in the Overview section. Old settings are still valid, but they will be removed in future releases, hence the warning.

Note: if some option is present in both (new and old) configuration files, then the value from the old configuration file will take precedence.

Deprecated settings are listed in the tables below (the new settings in the right column are shown in the form [group_name]::key_name). Also, they can be found in the geda-deprecated-config.scm file (look for define-rc-deprecated-config entries there).

The following gafrc options are deprecated starting with Lepton EDA release 1.9.10:

# Old gafrc file options New options
1 attribute-promotion [schematic.attrib]::promote
2 always-promote-attributes [schematic.attrib]::always-promote
3 promote-invisible [schematic.attrib]::promote-invisible
4 keep-invisible [schematic.attrib]::keep-invisible
5 bus-ripper-symname [schematic]::bus-ripper-symname
6 make-backup-files [schematic.backup]::create-files

The following gnetlistrc options are deprecated:

# Old gnetlistrc file options New options
1 hierarchy-netattrib-mangle [netlist.hierarchy]::mangle-net-attribute
2 hierarchy-netattrib-order [netlist.hierarchy]::net-attribute-order
3 hierarchy-netattrib-separator [netlist.hierarchy]::net-attribute-separator
4 hierarchy-netname-mangle [netlist.hierarchy]::mangle-netname-attribute
5 hierarchy-netname-order [netlist.hierarchy]::netname-attribute-order
6 hierarchy-netname-separator [netlist.hierarchy]::netname-attribute-separator
7 hierarchy-traversal [netlist.hierarchy]::traverse-hierarchy
8 hierarchy-uref-mangle [netlist.hierarchy]::mangle-refdes-attribute
9 hierarchy-uref-order [netlist.hierarchy]::refdes-attribute-order
10 hierarchy-uref-separator [netlist.hierarchy]::refdes-attribute-separator
11 net-naming-priority [netlist]::net-naming-priority
12 unnamed-busname [netlist]::default-bus-name
13 unnamed-netname [netlist]::default-net-name

The following gschemrc options are deprecated:

# Old gschemrc file options New options
1 component-dialog-attributes [schematic.library]::component-attributes
2 print-color [schematic.printing]::monochrome
3 print-orientation [schematic.printing]::layout
4 print-paper [schematic.printing]::paper
5 sort-component-library [schematic.library]::sort
6 untitled-name [schematic]::default-filename

The following gschemrc options are deprecated starting with Lepton EDA release 1.9.10:

# Old gschemrc file options New options
1 action-feedback-mode [schematic.gui]::action-feedback-mode
2 auto-save-interval [schematic]::auto-save-interval
3 bus-ripper-rotation [schematic]::bus-ripper-rotation
4 bus-ripper-size [schematic]::bus-ripper-size
5 bus-ripper-type [schematic]::bus-ripper-type
6 continue-component-place [schematic.gui]::continue-component-place
7 default-titleblock [schematic.gui]::default-titleblock
8 dots-grid-dot-size [schematic.gui]::dots-grid-dot-size
9 dots-grid-fixed-threshold [schematic.gui]::dots-grid-fixed-threshold
10 dots-grid-mode [schematic.gui]::dots-grid-mode
11 draw-grips [schematic.gui]::draw-grips
12 embed-components [schematic.gui]::embed-components
13 enforce-hierarchy [schematic.gui]::enforce-hierarchy
14 fast-mousepan [schematic.gui]::fast-mousepan
15 file-preview [schematic.gui]::file-preview
16 force-boundingbox [schematic.gui]::force-boundingbox
17 grid-mode [schematic.gui]::grid-mode
18 handleboxes [schematic.gui]::handleboxes
19 keyboardpan-gain [schematic.gui]::keyboardpan-gain
20 log-window [schematic]::log-window
21 logging [schematic]::logging
22 magnetic-net-mode [schematic.gui]::magnetic-net-mode
23 mesh-grid-display-threshold [schematic.gui]::mesh-grid-display-threshold
24 middle-button [schematic.gui]::middle-button
25 mousepan-gain [schematic.gui]::mousepan-gain
26 net-consolidate [schematic]::net-consolidate
27 net-direction-mode [schematic.gui]::net-direction-mode
28 net-selection-mode [schematic.gui]::net-selection-mode
29 netconn-rubberband [schematic.gui]::netconn-rubberband
30 scroll-wheel [schematic.gui]::scroll-wheel
31 scrollbars [schematic.gui]::scrollbars
32 scrollpan-steps [schematic.gui]::scrollpan-steps
33 select-slack-pixels [schematic.gui]::select-slack-pixels
34 snap-size [schematic.gui]::snap-size
35 text-caps-style [schematic.gui]::text-caps-style
36 text-size [schematic.gui]::text-size
37 third-button [schematic.gui]::third-button
38 third-button-cancel [schematic.gui]::third-button-cancel
39 toolbars [schematic.gui]::toolbars
40 undo-control [schematic.undo]::undo-control
41 undo-levels [schematic.undo]::undo-levels
42 undo-panzoom [schematic.undo]::undo-panzoom
43 undo-type [schematic.undo]::undo-type
44 warp-cursor [schematic.gui]::warp-cursor
45 zoom-gain [schematic.gui]::zoom-gain
46 zoom-with-pan [schematic.gui]::zoom-with-pan