X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Sender-Id: a2hosting|x-authuser|dan AT mcmahill DOT net ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1653368314; a=rsa-sha256; cv=none; b=drExm4yuHkEYNI91Vz6iaNCUIENk9L3B/vtSP87TDZ6bObL2o75lmJS1xIso++l+kSTq8K z1FiEgmlpPSJtx66RNuIzl7zQ9fyrhAXgNSfOXZZRX5EwIfcKyRLaVwC3z+llDeajVCLki 2WPhD50zqBFRKSUYs0r+lJAAYmsrWwN1qIv/4nmsxNBIuErV5sg5yBypckH1QwsebCY9sy 519fbeNVj1LEPnVSCYh8L8ehhWvQTR9/A6QUxNgYpr90B8CWxpLiF+DrYy0F44X+IGQD86 VQeKvadSfncdGtK5HKanZZveqPKjqkEbttnPT0oO8IdzxnJM+RV2hX6eU/KWpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1653368314; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=S/aDda64+CEYhzdp8YZ+Hy/dCyL/bBDQ9EIJAYE5HqM=; b=0AeYElQ6kPb+n7psn9wuGnSjrTaWLudytBA/f4TVEzmbsTv7VVnOFSa9xht9PRPmyUte9x FoYCO83VHhSGUUBAhdRlyXl4bosMd9vS1ZWNuQu38cWUBfUTGRykvbikvP94wNr/ZB0yjQ 35VGCQsnIVl72uZlkXbM2MYGQ9/Ii2KK8eKTVaFOfxz0QZ8KvtIR/kNHpxztVQxx8gKFdg mG05mJdDI8qOMU5POOgDWZyP4VOxIhQPFIP0K6WF1IE+ZONwuzYDM3Ayr6Hq1C7doDLZ22 SkdyGM4qkVrWfiN9wXo1N+/d14zgxjWW4bnVhR4B8IyWj3/2eF8jfzgsK7u2LA== ARC-Authentication-Results: i=1; rspamd-54dc6fd65d-2tq65; auth=pass smtp.auth=a2hosting smtp.mailfrom=dan AT mcmahill DOT net X-Sender-Id: a2hosting|x-authuser|dan AT mcmahill DOT net X-MC-Relay: Neutral X-MailChannels-SenderId: a2hosting|x-authuser|dan AT mcmahill DOT net X-MailChannels-Auth-Id: a2hosting X-Descriptive-Attack: 1748b32c39d788f1_1653368315137_210990098 X-MC-Loop-Signature: 1653368315137:785046931 X-MC-Ingress-Time: 1653368315136 X-Original-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mcmahill.net; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:From:References:To:Subject:MIME-Version:Date:Message-ID:Sender: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=S/aDda64+CEYhzdp8YZ+Hy/dCyL/bBDQ9EIJAYE5HqM=; b=65jDnYuk/oefTTaCGttDfA8ab3 vV9qjVzuK5VL5ZwTDGg7xRPXlnUMLCJxCAzidTkQMceNLpvE6DULb1ask4cfXVGOBHGzUP5NyPLwt x+rd3WFYiQdG0+B6FdwJG1FkRUpVT2Ktf7zZeL47ji9ao3oGyPuOahS/EvUNz5SMk+aIa3ReKFszT hLw/JCl/vtBjcqF+mjmN4SJ8vZj6UIL+6zwdaG6XM81HpLiyJnmDo3kdSBBjw83EOWnGa4qApBQsp y4/QBoXcrIUfx5h1v3rRTXaIOf6sq28B5s8qFnK5qV5N0zt2KVE8eZR+4qIMMKA157F7yUHyc+h2w dv6DAfUQ==; Message-ID: Date: Tue, 24 May 2022 00:58:28 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Subject: Re: [geda-user] Re: gschem/lepton: gafrc security issue Content-Language: en-US To: geda-user AT delorie DOT com References: <20220429135341 DOT 4559b215 AT yo> <71564b8-b39-ca3b-b01c-78fbc7e4fe AT grinsen-ohne-katze DOT de> From: "Dan McMahill (dan AT mcmahill DOT net) [via geda-user AT delorie DOT com]" In-Reply-To: <71564b8-b39-ca3b-b01c-78fbc7e4fe@grinsen-ohne-katze.de> Content-Type: text/plain; charset=UTF-8; format=flowed X-AuthUser: dan AT mcmahill DOT net Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 24O4wcBt003186 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 Precedence: bulk On 4/29/2022 2:58 PM, Roland Lutz wrote: > On Fri, 29 Apr 2022, dmn (graahnul DOT grom AT gmail DOT com) [via > geda-user AT delorie DOT com] wrote: >> Currently, gafrc and gschemerc files are still used >> to define the following remaining settings [3]: >> - gafrc: >>  - component and source libraries >>  - print color scheme >> - gschemrc: >>  - keyboard shortcuts >>  - color scheme > > Yeah, that's about how far I am, as well. > > Color scheme is a surprisingly hard problem. > > "Keyboard shortcuts" doesn't capture the complexity of the problem. > gEDA/gaf has a completely configurable menu (and since 1.10.0, toolbar) > system, and some users employ this to add complex additional > functionality to gschem.  This is also why GTK migration is a problem; > this kind of setup requires tear-off menus to be used efficiently which > are no more supported in GTK 3/4. > > Libraries are just the tip of the "project awareness" iceberg. > > Replacing one kind of configuration format with another is the easy > part. Just offering it as an alternative isn't enough: in order to close > the security barn-door, the old executable configuration format would > have to be removed, or at least discouraged by the GUI.  I don't want to > take the ability to a hack a custom solution away from users without > figuring out these cases and offering a proper alternative.  This is the > hard part. > > Roland > Regarding configurable menus and other extensions, a vision I had and started on some of the infrastructure for ages ago was to be able to support "modes" in gschem sort of like how emacs has major modes for editing different sorts of files (C, python, LaTeX, Makefile, etc). Maybe you're using gschem to drive a spice simulation, so enter spice simulation mode and get menus that are appropriate for the simulator you have. Maybe it is for driving a pcb layout and you get those sorts of menus. Unfortunately other commitments in life took over and I never really got it to the point I wanted. I'm guessing some of that code is still in place though. -Dan