Mail Archives: geda-user/2018/05/25/06:50:53
Dmitry:
> On Fri, 25 May 2018 01:18:37 +0200 (CEST)
> karl AT aspodata DOT se wrote:
>
> > Dmitry:
> > ...
> > > Karl, could you please checkout and try this branch:
> > > https://github.com/graahnul-grom/lepton-eda/tree/wip_cfg_priv_split
> >
> > Sure, but tomorrow.
> >
> > (Could you please help me with the right command line
> > with that ?)
>
> $ git remote add dmn \
> https://github.com/graahnul-grom/lepton-eda
> $ git fetch dmn
> $ git checkout dmn/wip_cfg_priv_split
Done, got detached head warning.
./autogen
./configure --prefix=/usr/local/lepton --disable-update-xdg-database --disable-compat-symlinks --enable-contrib
make
make install
$ cp geda-user.conf geda-user.conf.save
$ /usr/local/lepton/bin/lepton-schematic
$ diff geda-user.conf geda-user.conf.save
$
and I got an empty geda-priv.conf.
$ /usr/local/lepton/bin/lepton-schematic file &
change geda-user.conf
$ diff geda-user.conf geda-user.conf.save
52,53d51
<
< # testing
$
quit lepton-schmematic
$ diff geda-user.conf geda-user.conf.save
$
Seems to be all fine, thanks for the quick patch.
///
Though what would happen when I have two or more schematic processes
running, which happen from time to time ?
first schematic to quit:
-rw-r--r-- 1 karl users 0 May 25 12:35 geda-priv.conf
second schematic to quit:
-rw-r--r-- 1 karl users 0 May 25 12:36 geda-priv.conf
And yes, I could possible be running two instances on the same file,
e.g. one to see what was and one to do the edits with.
Do you want to add something similar to kicad's
"kicad is already running, Continue?", hope not.
Saving thoose "private" states is prone to fail, why bother?
My suggestion is to just drop the idea.
Regards,
/Karl Hammar
-----------------------------------------------------------------------
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden
+46 173 140 57
- Raw text -