>This feature already exists (including in 2.2). The file is the
>~/.axsirc file. If you require a separate file for each configuration,
>then I'd be happy to look at a patch allowing the name ~/.axisrc to be
>overridden by an inifile item.
like this maybe:
Index: axis.py
===================================================================
RCS file: /cvs/emc2/src/emc/usr_intf/axis/scripts/axis.py,v
retrieving revision 1.225
diff -u -r1.225 axis.py
--- axis.py 26 Jan 2009 20:37:34 -0000 1.225
+++ axis.py 28 Jan 2009 15:59:45 -0000
@@ -3971,6 +3971,11 @@
forget(widgets.lubel, "iocontrol.0.coolant-flood", "iocontrol.0.coolant-mist")
rcfile = os.path.expanduser("~/.axisrc")
+user_command_file = inifile.find("DISPLAY", "USER_COMMAND_FILE") or ""
+if user_command_file != "":
+ if os.path.exists(rcfile):
+ print rcfile," superseded by ",user_command_file
+ rcfile = user_command_file
if os.path.exists(rcfile):
import traceback
try:
--
Dewey Garrett
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers