Editing Add exec option to search

From BRL-CAD

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 11: Line 11:
 
Adding the exec option to the search command will require changes not only to search but to how command tables are structured in BRL-CAD - currently tables mapping commands to function calls are present in MGED, and they would need to live at a lower level in order to allow exec to find and run them (search is a library function and as such cannot know anything about MGED).  A student proposal would identify the needed changes to both search and BRL-CAD's tools and libraries (they could be more extensive than one might expect - remember the goal is to do it "the right way", not just a way that works.)  Students interested in this topic are encouraged to discuss it with developers on IRC or email (IRC is preferred.)
 
Adding the exec option to the search command will require changes not only to search but to how command tables are structured in BRL-CAD - currently tables mapping commands to function calls are present in MGED, and they would need to live at a lower level in order to allow exec to find and run them (search is a library function and as such cannot know anything about MGED).  A student proposal would identify the needed changes to both search and BRL-CAD's tools and libraries (they could be more extensive than one might expect - remember the goal is to do it "the right way", not just a way that works.)  Students interested in this topic are encouraged to discuss it with developers on IRC or email (IRC is preferred.)
  
=References=
+
Requirements:
  
* src/librt/search.c
+
*Familiarity with C
* src/libged/search.c
 
* src/mged/setup.c
 
  
=Requirements=
+
Difficulty:  medium
 
 
*Familiarity with C
 

Please note that all contributions to BRL-CAD may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see BRL-CAD:Copyrights for details). Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)