#emc-devel | Logs for 2006-04-16

[04:07:29] <SkunkWorks> SkunkWorks is now known as skunkworks
[10:50:59] <chinamill> as nobody it is not possible to open the link: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl/emcinfo.pl?action=editprefs
[10:52:06] <chinamill> I get: Software error:
[10:52:06] <chinamill> Could not get user-ID lock at /home/groups/e/em/emc/cgi-bin/emcinfo.pl line 3682.
[12:56:09] <jepler> chinamill: I just used the 'editprefs' screen and did not get an error.
[13:00:10] <alex_joni> same here
[13:05:51] <alex_joni> hi jeff
[13:09:04] <jepler> hi
[13:09:17] <alex_joni> I need some help .. if you can spare some time ;)
[13:09:58] <alex_joni> I moved xemc along to emc2, and got it to the point that it's running
[13:10:19] <alex_joni> however, it's looking bad.. and I don't know sh*t about Xaw & the like..
[13:13:18] <alex_joni> oh.. yay.. it works & looks ok
[13:13:27] <alex_joni> only had to copy XEmc to /etc/X11/app-defaults
[13:13:56] <alex_joni> should I commit this stuff_
[13:13:57] <alex_joni> ?
[13:16:01] <jepler> glad you figured it out
[13:16:15] <jepler> The reason I see to *not* commit it would be that it's like a promise to keep supporting xemc
[13:16:28] <jepler> I'm not sure it adds a whole lot of value; isn't it mostly the same as tkemc?
[13:16:57] <alex_joni> yeah, but without the need of tcl
[13:17:05] <alex_joni> it adds some dependencies to emc2
[13:17:10] <alex_joni> build-dep I mean
[13:17:46] <alex_joni> actually only one: libxaw7-dev on breezy
[13:18:05] <jepler> and isn't libxaw7 a new installation requirement?
[13:18:15] <alex_joni> libxaw is already installed
[13:18:19] <jepler> oh it is?
[13:18:27] <jepler> I wonder why.
[13:18:27] <alex_joni> only the dev is needed to compile xemc.cc
[13:18:34] <alex_joni> it's some basic X package
[13:19:02] <jepler> oh yeah -- xterm is linked to it
[13:20:01] <alex_joni> can you bug chris about this?
[13:20:07] <alex_joni> I need to go away for a while
[13:20:14] <alex_joni> he was keen of having xemc in emc2
[13:20:29] <jepler> I'm sure he'll see this in scrollback
[13:20:33] <jepler> see you
[13:20:34] <alex_joni> or maybe he'll see..
[13:20:37] <alex_joni> yeah, thanks
[13:20:53] <alex_joni> laters.. have a good day ;)
[13:21:01] <alex_joni> I'll probably be back in a few hours..
[13:40:08] <rayh> logger_devel, bookmark
[13:40:08] <rayh> See http://solaris.cs.utt.ro/irc/irc.freenode.net:6667/emcdevel/2006-04-16#T13-40-08
[15:36:07] <jepler> cradek: did you see alex says he has xemc working and ready to check in?
[15:42:44] <cradek> yes, that's cool
[15:42:57] <cradek> I couldn't figure out what alex was asking me to do though
[15:53:05] <jepler> I think he solved the resource problem and just wants the OK to check it in.
[16:19:42] <alex_joni> hi guys
[16:19:45] <alex_joni> * alex_joni just got home
[16:20:37] <rayh> Hi alex.
[16:20:47] <alex_joni> hey ray, how's it up there?
[16:23:14] <rayh> Great. We went boating yesterday. Nice sunny day.
[16:23:33] <alex_joni> that's great
[16:23:40] <rayh> Say I favor adding both xemc and yemc to emc2. Legacy you know.
[16:24:07] <alex_joni> it's not hard to do that, but it adds some dependencies
[16:25:01] <rayh> Do those have to be added to ubuntu?
[16:25:10] <rayh> Or are they in there already.
[16:25:56] <alex_joni> you need to 'apt-get install libxaw7-dev'
[16:26:13] <alex_joni> or apt-get build-dep emc2, once that is added to the list of required packages
[16:26:26] <alex_joni> so it's pretty easy on ubuntu, not sure on other platforms
[16:27:22] <rayh> I have built xemc and yemc on BDI before.
[16:30:26] <alex_joni> yup, I'm sure it's nothing major..
[16:30:49] <alex_joni> ok, then I guess I'll commit, then figure out the ./configure part lateron
[17:16:44] <alex_joni> rayh: still there?
[17:16:55] <alex_joni> I have an issue about XEmc and xemc.cc
[17:17:21] <alex_joni> it seems that without XEmc the GUI doesn't know anything about it's strings & such
[18:18:54] <rayh> Back
[18:19:34] <rayh> I thought that XEmc was like TkEmc being a x resource file.
[18:23:04] <rayh> Oh no. It's a lot more. Key bindings and other stuff.
[18:33:33] <alex_joni> yes, all that
[18:33:48] <alex_joni> and it only works for me if I copy it to /etc/X11/app-defaults
[18:34:03] <alex_joni> it doesn't work when it's in the dir where the script runs from
[18:34:57] <alex_joni> damn autoconf :(
[18:35:06] <rayh> Try /ect/X11/apt-defaults
[18:36:02] <alex_joni> yes, that works
[18:36:09] <alex_joni> but that requires a sudo copy
[18:36:30] <rayh> Then the configure could move it along with TkEmc and the others.
[18:37:06] <alex_joni> you mean make install
[18:37:15] <alex_joni> or apt-get install
[18:37:21] <alex_joni> yes that works, but not for RIP
[18:37:37] <rayh> Ah. Right.
[18:37:38] <alex_joni> RIP doesn't install anything outside emc2
[18:37:52] <alex_joni> I can't see how it worked for emc1...
[18:40:48] <alex_joni> jepler: around?
[18:42:22] <jepler> maybe setting XFILESEARCHPATH is what's needed?
[18:42:30] <jepler> * jepler reads Xt manpages and takes guesses
[18:42:39] <alex_joni> another question..
[18:42:43] <jepler> ok
[18:42:54] <alex_joni> how can I test for HAVE_XAW = yes in a Submakefile?
[18:43:04] <alex_joni> assuming that is defined in Makefile.inc
[18:43:07] <alex_joni> ifeq .. ?
[18:43:07] <jepler> ifeq "$(HAVE_XAW)" "yes" ...
[18:43:10] <jepler> endif
[18:43:25] <alex_joni> thanks
[18:44:08] <jepler> I'll see if I can get something working for the app-defaults
[18:44:29] <alex_joni> cool.. I'm commiting my configure changes in a minute
[18:45:23] <jepler> if you haven't added XEmc then hold off
[18:45:33] <jepler> it may have to be in a directory called app-defaults, I'm not sure yet
[18:45:50] <alex_joni> ok, I'm not going to add XEmc
[18:50:12] <rayh> In emc it was in the root directory. But that may be configurable in the code.
[18:50:23] <alex_joni> I can't find any reference in the code
[18:50:59] <alex_joni> but then again xemc.cc is 6238 lines long..
[18:51:03] <alex_joni> might have missed it ;)
[18:51:07] <rayh> Seems like the original make did put it in apt-defaults.
[18:51:24] <alex_joni> oh, and it ran as root...
[18:51:31] <alex_joni> so it could do that..
[18:52:21] <rayh> Right. I'd bet that was the case.
[18:54:27] <jepler> well that's close .. but I get something that says "posLabel3" through "posLabel5" after the axes X, Y, and Z.
[18:54:35] <alex_joni> yeah, I'll remove those
[18:54:49] <alex_joni> I tried define AXES = 6 in xemc (before it was 3)
[18:54:56] <jepler> oh
[18:54:58] <alex_joni> guess that's a hardcoded value
[18:55:08] <alex_joni> I'm putting 3 back into it
[18:55:15] <alex_joni> and we'll worry later about a proper fix
[18:55:16] <rayh> xemc had only 3 axes. yemc had 6
[18:55:24] <alex_joni> e.g. get the number of axes from the interp
[18:55:26] <rayh> I don't think that was variable.
[18:55:35] <alex_joni> it's a #define
[18:56:58] <rayh> That may be but yemc was written specifically for the 6 motor hexapod.
[18:57:20] <rayh> so if the define worked, I'd have thought they would have made that change instead.
[18:57:36] <alex_joni> the define works, but some further tests are needed
[18:57:51] <alex_joni> guess it would be easier to add yemc ;)
[19:00:29] <rayh> Did we come to a conclusion about the ini variable that sets default interp stuff.
[19:01:23] <alex_joni> which do you mean?
[19:01:39] <rayh> Let me find it.
[19:02:40] <rayh> # Interpreter Startup and Reset codes
[19:02:40] <rayh> RS274NGC_STARTUP_CODE = G20
[19:03:01] <rayh> In emc that set the default value for inch or mm,
[19:03:10] <alex_joni> right.. and?
[19:03:14] <rayh> a string of codes like that could be there.
[19:03:21] <alex_joni> afaik it still works
[19:03:32] <rayh> and it would set the interp to that if a reset was issued.
[19:03:41] <alex_joni> afaik it still works in emc2
[19:03:58] <rayh> Right. I tested it but there was a feeling that we should leave it out.
[19:04:08] <alex_joni> it's out of the ini..
[19:04:46] <rayh> I was wanting to put it in.
[19:05:03] <rayh> So that mm folk would not get inch when they pressed reset.
[19:05:10] <rayh> or a lathe get g17
[19:11:03] <rayh> I see CIA is working. Good job guys.
[19:11:33] <alex_joni> well make that 'guy'
[19:11:40] <alex_joni> it's all cradeks works ;)
[19:12:08] <rayh> Thanks, Chris
[19:26:56] <alex_joni> yup, thanks chris
[20:22:20] <alex_joni> SWPadnos: are you around steven?
[20:52:25] <cradek> /j #madscientists
[20:52:28] <cradek> argh
[20:52:34] <alex_joni> try /join ;)
[20:52:45] <alex_joni> hi chris, btw :)
[20:52:45] <cradek> or try not typing the space
[20:52:47] <cradek> hi
[20:56:34] <skunkworks> hey cradek: are you using pcb_gcode?
[20:56:55] <cradek> no
[20:57:03] <cradek> not sure what that is
[20:57:04] <skunkworks> what do you use?
[20:57:07] <skunkworks> ok
[20:57:24] <alex_joni> eagle can export gcode with some custom script I think
[20:57:31] <skunkworks> seems to generate gcode - and has an emc post.
[20:57:43] <cradek> nice
[20:58:00] <cradek> jeff and I use an eagle ulp that we've both hacked on extensively
[20:58:02] <skunkworks> that is what this is. pcb_gcode generates code from within eagle
[20:58:32] <cradek> probably many others have done the same thing
[20:58:38] <skunkworks> right
[20:59:50] <cradek> for best results, avoid round pads - use octagons
[21:00:07] <cradek> the round pads use many segments
[21:00:14] <skunkworks> makes sense.
[21:03:26] <alex_joni> cradek: this guy might want to do axis in slovenian ? http://www.cnczone.com/forums/showthread.php?t=18336
[21:05:25] <cradek> it's not hard to find information about that on the axis site
[21:21:26] <alex_joni> * alex_joni goes to bed
[21:21:30] <alex_joni> good night all
[21:21:57] <rayh> See you alex.