X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com Message-ID: <55E3017F.1080809@xs4all.nl> Date: Sun, 30 Aug 2015 15:13:35 +0200 From: "Bert Timmerman (bert DOT timmerman AT xs4all DOT nl) [via geda-user AT delorie DOT com]" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.19) Gecko/20110429 Fedora/2.0.14-1.fc13 SeaMonkey/2.0.14 MIME-Version: 1.0 To: geda-user AT delorie DOT com Subject: Re: [geda-user] command.c/.h References: <55E2F5B1 DOT 7070507 AT jump-ing DOT de> In-Reply-To: <55E2F5B1.7070507@jump-ing.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Reply-To: geda-user AT delorie DOT com Markus Hitter (mah AT jump-ing DOT de) [via geda-user AT delorie DOT com] wrote: > While stepping through the sources, I find the files command.c and command.h. command.h defines these two functions: > > void ExecuteUserCommand (char *); > void CallActionProc (char *action, char **arg, int argc); > > However, neither of them is used anywhere, grep'ing for them brings up nothing but the hit in command.c/.h its self. Looking at the source, these two files apparently implement a vi-like interface: > > Message ("following commands are supported:\n" > " Command() execute an action command (too numerous to list)\n" > " see the manual for the list of action commands\n" > " h display this help message\n" > " l [file] load layout\n" > " le [file] load element to buffer\n" > " m [file] load layout to buffer (merge)\n" > " q quits the application\n" > " q! quits without save warning\n" > " rn [file] read in a net-list file\n" > " s [file] save layout\n" > " w [file] save layout\n" > " wq [file] save layout and quit\n"); > > Anybody aware of where or how this is used? Any user of this interface? If unused I'd remove it to remove one level of obfuscation. > > Tracked at https://bugs.launchpad.net/pcb/+bug/1490264 > > > Markus > > Hi Markus, I confirm no invoking or implementation of above mentioned functions. These seem to stem from the import of the GTK hid by Bill Wilson in a commit by Dan McMahill on 12-03-2005 (3/12/2005 3:17 am). Kind regards, Bert Timmerman.