On 12/15/2010 07:42 AM, andy pugh wrote:
> On 15 December 2010 14:34, Sebastian Kuzminsky<s...@highlab.com>  wrote:
>> So the reason it won't start up is that it can't find the ini file you
>> specified.
> How do we specify an ini file? I have never quite figured out if it is
> derived from the folder name, whether the startup dialogue scan for
> ini files, or if there is some other method.

There are three ways that I know of to pick the config file:

shell> emc

     Start the "pickconfig" config picker.  If emc has been run before 
it remembers what config you used last time, and the pickconfig program 
starts with the previously selected config highlighted, so you can just 
hit Enter to choose the same one.

shell> emc -l  # dash little ell

     If emc has been run before, start with the previous config without 
showing the config picker window.  If emc has not been run before, show 
the config picker (ie, act just like "emc").

shell> emc $FILE

     Start with the specified $FILE (which must have a .ini extension), 
without showing the config picker.


emc records which config it starts with in ~/.emcrc's 
[PICKCONFIG]LAST_CONFIG.  That variable, and the $FILE in the third case 
above, is the full path name to the ini file.

A config directory may contain several ini files.  This is useful for 
things like the hm2-servo family of configs, where several different 
.ini files share .hal files etc.


-- 
Sebastian Kuzminsky


------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to