delorie.com/archives/browse.cgi | search |
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.7+dev |
X-Exmh-Isig-CompType: | repl |
X-Exmh-Isig-Folder: | inbox |
From: | "karl AT aspodata DOT se [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com> |
To: | geda-user AT delorie DOT com |
Subject: | Re: [geda-user] advanced-gcode |
In-reply-to: | <20230609133623.20AFF861844F@turkos.aspodata.se> |
References: | <xnzg59af5p DOT fsf AT envy DOT delorie DOT com> <20230609133623 DOT 20AFF861844F AT turkos DOT aspodata DOT se> |
Comments: | In-reply-to "karl AT aspodata DOT se [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com> |
message dated "Fri, 09 Jun 2023 15:36:23 +0200." | |
Mime-Version: | 1.0 |
Message-Id: | <20230609175226.7B4AE8618457@turkos.aspodata.se> |
Date: | Fri, 9 Jun 2023 19:52:26 +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 |
This is a multipart MIME message. --==_Exmh_1686333074_142300 Content-Type: text/plain Karl: > DJ Delorie: > > "karl AT aspodata DOT se [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com> > > writes: > > > I have tried to set that in ~/.pcb/settings, but it > > > doesn't seem to work: advanced-gcode = 0 > > > > Looks like "true" is hard coded: > > > > case HID_Boolean: > > a->default_val.int_value = 1; > > break; > > I see, strange though that the settings file didn't overrode it. Attatched patch makes pcb read in the value from ~/.pcb/settings. Regards, /Karl Hammar --==_Exmh_1686333074_142300 Content-Type: application/x-patch ; name="boolean.patch" Content-Description: boolean.patch Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="boolean.patch" ZGlmZiAtLWdpdCBhL3NyYy9oaWQvY29tbW9uL2hpZGluaXQuYyBiL3NyYy9oaWQvY29tbW9u L2hpZGluaXQuYwppbmRleCBkYjE4MmU5Yi4uNjY3Mjc3YzYgMTAwNjQ0Ci0tLSBhL3NyYy9o aWQvY29tbW9uL2hpZGluaXQuYworKysgYi9zcmMvaGlkL2NvbW1vbi9oaWRpbml0LmMKQEAg LTYyNiw3ICs2MjYsNyBAQCBoaWRfc2V0X2F0dHJpYnV0ZSAoY2hhciAqbmFtZSwgY2hhciAq dmFsdWUpCiAJICAgICAgYS0+ZGVmYXVsdF92YWwuc3RyX3ZhbHVlID0gc3RyZHVwICh2YWx1 ZSk7CiAJICAgICAgYnJlYWs7CiAJICAgIGNhc2UgSElEX0Jvb2xlYW46Ci0JICAgICAgYS0+ ZGVmYXVsdF92YWwuaW50X3ZhbHVlID0gMTsKKwkgICAgICBhLT5kZWZhdWx0X3ZhbC5pbnRf dmFsdWUgPSAhISBzdHJ0b2wgKHZhbHVlLCAwLCAwKTsKIAkgICAgICBicmVhazsKIAkgICAg Y2FzZSBISURfTWl4ZWQ6CiAJICAgICAgYS0+ZGVmYXVsdF92YWwucmVhbF92YWx1ZSA9IHN0 cnRvZCAodmFsdWUsICZ2YWx1ZSk7Cg== --==_Exmh_1686333074_142300--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |