delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2018/05/25/06:50:53

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Mailer: exmh version 2.8.0 04/21/2012 with nmh-1.6
X-Exmh-Isig-CompType: repl
X-Exmh-Isig-Folder: inbox
From: karl AT aspodata DOT se
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] Re: New config
In-reply-to: <20180525121942.060a4b31@demon>
References: <20180523005748 DOT 793A180F49D7 AT turkos DOT aspodata DOT se> <20180523143620 DOT 1ad55aab AT demon> <20180523150428 DOT 6A70C80F49D9 AT turkos DOT aspodata DOT se> <20180523203925 DOT 072b918c AT demon> <20180523224732 DOT 9489580F49E2 AT turkos DOT aspodata DOT se> <20180524161257 DOT 7a97d82f AT demon> <20180524161933 DOT 98C7C80F49E4 AT turkos DOT aspodata DOT se> <20180524184702 DOT 75hvlkrnj2g7fvct AT localhost DOT localdomain> <20180524193935 DOT 4BC7E80F49E4 AT turkos DOT aspodata DOT se> <20180525005701 DOT 1dd45bed AT demon> <20180524231837 DOT 239E280F49E4 AT turkos DOT aspodata DOT se> <20180525121942 DOT 060a4b31 AT demon>
Comments: In-reply-to "(graahnul DOT grom AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
message dated "Fri, 25 May 2018 12:19:42 +0300."
Mime-Version: 1.0
Message-Id: <20180525104924.B035380F49E4@turkos.aspodata.se>
Date: Fri, 25 May 2018 12:49:24 +0200 (CEST)
X-Virus-Scanned: ClamAV using ClamSMTP
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019