#emc | Logs for 2006-11-04

Back
[02:47:06] <ejholmgren> oi
[03:37:09] <CIA-5> 03jepler 07HEAD * 10emc2/docs/src/gui/axis.lyx: document the auto-configure-based-on-hal behavior; promote control-home for homing sequence
[05:23:24] <A-L-P-H-A> anyone know if you can convert an ext2/3 to reiserFS?
[05:23:36] <A-L-P-H-A> getting a lot of errors on my hda2 drive which is ext2/3
[09:27:19] <Lerneaen_Hydra> 'lo
[09:37:35] <alex_joni> hi
[09:47:17] <alex_joni> logger_emc: bookmark
[09:47:17] <alex_joni> Just this once .. here's the log: http://www.linuxcnc.org/irc/irc.freenode.net:6667/emc/2006-11-04.txt
[09:47:24] <alex_joni> logger_emc: search
[09:47:24] <alex_joni> I'm logging. I don't understand 'search', alex_joni. Try /msg logger_emc help
[09:49:19] <alex_joni> that should do it for now
[09:49:32] <alex_joni> logger_emc: bookmark
[09:49:32] <alex_joni> Just this once .. here's the log: http://www.linuxcnc.org/irc/irc.freenode.net:6667/emc/2006-11-04.txt
[09:54:17] <Lerneaen_Hydra> A-L-P-H-A: maybe qparted/gparted et al can do that?
[09:54:33] <Lerneaen_Hydra> * Lerneaen_Hydra afk
[09:55:04] <alex_joni> Lerneaen_Hydra: gparted doesn't do ext3 very well
[09:55:14] <alex_joni> and I don't think you can convert a FS at all
[09:55:45] <alex_joni> A-L-P-H-A: if you got problems with hda2 then it's probably the HDD that's busted, not the FS
[09:59:26] <Jymmm> http://cubloc.com/product/01_01.php
[10:01:03] <Jymmm> http://cubloc.com/product/01_04cb280proto.php
[10:02:04] <Jymmm> For roughly $100 you have a 49 I/O uC ready to wire up and two serial ports
[10:04:08] <alex_joni> as Bo^Dick always says.. you can have that cheaper if you build it yourself :)
[10:04:13] <alex_joni> * alex_joni is not a fan of BASIC
[10:04:22] <alex_joni> Jymmm: other than that it doesn't look bad
[10:04:50] <Jymmm> Great for a Q&D solution
[10:05:09] <Jymmm> Alarm Panel, replacement controller, etc
[10:06:55] <alex_joni> http://www.egnite.de/store.php?700001&&sid=d2b700e10ef7d8925a75968f436ab6a7&
[10:06:59] <alex_joni> I'd get one of those
[10:07:50] <alex_joni> a tiny bit pricier, but LOTS more it can do
[10:08:11] <alex_joni> actually I built one of those for about 50$
[10:10:00] <Jymmm> I was looking to build an Alarm Panel... more I/O ports is better
[10:10:35] <Jymmm> Has i2C too I believe
[10:11:09] <Jymmm> I figure there's some small 8pin chip I could make each port "addressable" status wise
[10:11:30] <alex_joni> I used an HC12 once
[10:12:01] <alex_joni> that one had insanely many IOs
[10:12:23] <Jymmm> 85
[10:12:32] <alex_joni> http://elmicro.com/de/kit12_r.html
[10:12:34] <alex_joni> that one
[10:12:38] <alex_joni> about 80 + rs232
[10:13:04] <alex_joni> but I needed way more than that
[10:13:15] <alex_joni> so I ended up using some small boards with latches on them
[10:13:20] <Jymmm> I liked the one I originally posted becasue it already has all the terminal stripes
[10:13:29] <Jymmm> strips
[10:13:32] <alex_joni> BCD->HEX demuxer, and T-flip/flops
[10:14:07] <alex_joni> I controller about 150 leds :D
[10:14:12] <alex_joni> controlled even
[10:14:17] <Jymmm> Ah, ok. didn't think of that.
[10:14:26] <alex_joni> if you don't need the speed
[10:14:32] <Jymmm> heh
[10:14:44] <alex_joni> you can only turn on on/off from a board
[10:14:55] <etla> hi
[10:14:56] <alex_joni> 16 instructions to turn them all on
[10:14:59] <alex_joni> hi etla
[10:15:25] <etla> anyone know anything about ormec servodrives ?
[10:16:22] <alex_joni> firewire?
[10:16:32] <etla> nope
[10:16:53] <etla> juste ebaying for servodrives, but the damn sellers never have the manuals as downloads...
[10:16:55] <alex_joni> http://news.thomasnet.com/images/large/022/22108.jpg
[10:17:18] <etla> ok, that must be a new model
[10:17:26] <Jymmm> ~~~~~ 20
[10:17:33] <alex_joni> etla: sorry.. don't know more than google knows
[10:17:34] <etla> the ones on ebay are E-series, " SAC-E04D2 LNC "
[10:22:26] <Jymmm> alex_joni: http://zedomax.com/diy/100/diy100.htm
[10:27:17] <alex_joni> what's a new alarm system these days?
[10:27:31] <alex_joni> I remember speding about 3-500$ for one at work
[10:27:47] <alex_joni> but that's including 8 sensors and phone alarm
[10:28:04] <alex_joni> it has a few batteries and a big horn
[10:28:10] <alex_joni> and lots of safety features..
[10:28:59] <Jymmm> http://www.makezine.com/blog/archive/2006/11/pennypowered_le.html
[10:29:34] <Jymmm> Yeah, about $500+ for the panel alone. plus sensors, etc
[10:29:57] <Jymmm> $100 just for the keypads these days
[10:30:45] <Jymmm> And no to little documentation for interfacing to a PC
[10:31:05] <alex_joni> seems a bit pricy ;)
[10:31:51] <Jymmm> guess I could go wireless for cheaper, just dont want to deal with replacing batteries
[10:32:21] <alex_joni> wireless is not quite OK for safety relevant stuff
[10:32:42] <Jymmm> better than nothing
[10:32:46] <alex_joni> I suspect you'd use license free frequencies (2.4GHz) etc
[10:32:58] <Jymmm> 900
[10:33:00] <alex_joni> a jammer for those frequencies is not that expensive
[10:33:37] <Jymmm> I'd hope that each sensor is addressable and if it doens't "call home" the panle goes off
[10:33:56] <alex_joni> I see..
[10:35:32] <Jymmm> as well as reports battery condition
[10:36:55] <Jymmm> http://www.homesecuritystore.com/ezStore123/DTProductList.asp?p=2_1_1_1_0_0_110
[10:37:44] <alex_joni> not that pricy
[10:39:17] <Jymmm> Not really, saves from having to run wire too
[10:41:22] <Jymmm> ah, they screw you on the accessories
[10:41:24] <alex_joni> http://www.homesecuritystore.com/ezStore123/DTProductZoom.asp?productID=1479
[10:42:35] <alex_joni> yeah, 75$ for a motion detector seems a bit much
[10:44:19] <alex_joni> * alex_joni goes back to writing that 300k$ quotation
[10:45:30] <Jymmm> heh
[11:41:08] <alex_joni> http://www.linuxcnc.org/index.php?option=com_content&task=view&id=28&Itemid=5
[11:47:13] <Lerneaen_Hydra> gah, anyone have admin accsess to the user accounts at linuxcnc.org?
[11:47:22] <Lerneaen_Hydra> I typo'd the email address
[11:47:30] <alex_joni> sure..
[11:47:50] <Lerneaen_Hydra> just delete the account
[11:48:24] <alex_joni> I can change the email addy
[11:50:22] <alex_joni> Lerneaen_Hydra: seen the page I pasted?
[11:50:55] <Lerneaen_Hydra> I'm not authorised apparently
[11:51:12] <alex_joni> not even now?
[11:51:35] <Lerneaen_Hydra> hmm, nope
[11:51:42] <alex_joni> ok, I'll enable the page
[11:51:51] <alex_joni> it wasn't published before
[11:51:54] <alex_joni> try again
[11:51:55] <Lerneaen_Hydra> oh, ok
[11:52:06] <Lerneaen_Hydra> woo, it works
[11:53:00] <Lerneaen_Hydra> afaik though it doesn't need to be LATHE = 1 as much as LATHE = <any value> (so 1, yes, true would all work)
[11:53:21] <alex_joni> that's from the menu
[11:54:23] <Lerneaen_Hydra> I wonder which lathe that is ;)
[11:54:32] <alex_joni> you should know :P
[11:54:58] <Lerneaen_Hydra> I should get you a new picture, that one was from mid-way though the retrofit
[11:55:06] <alex_joni> perfect ;)
[11:55:11] <Lerneaen_Hydra> big holes for chips too fall into the electronics
[11:55:17] <alex_joni> also.. if you have a page I'd reference you
[11:55:37] <Lerneaen_Hydra> hmm, not at the moment
[11:55:41] <Lerneaen_Hydra> (too lazy)
[11:56:11] <Lerneaen_Hydra> (and technically that part and the program is not the same part)
[11:56:31] <alex_joni> who would notice?
[11:56:59] <Lerneaen_Hydra> as long as you don't have large versions of the image, only me ;)
[11:57:15] <alex_joni> I have a larger one ;)
[11:57:38] <Lerneaen_Hydra> oh, the file lathe_pawn.ngc seems to be dead
[11:57:43] <Lerneaen_Hydra> Error: emc2/nc_files/lathe_pawn.ngc: no such file or directory
[11:57:53] <alex_joni> Lerneaen_Hydra: didn't commit it to CVS yet ;)
[11:57:56] <Lerneaen_Hydra> anyway, do you want a newer image of the lathe?
[11:57:59] <Lerneaen_Hydra> ah, right
[11:58:00] <alex_joni> sure
[11:58:11] <alex_joni> * alex_joni is too lazy to get out of bed
[11:58:11] <Lerneaen_Hydra> just a second
[11:58:28] <alex_joni> my development box is turned off :)
[11:58:47] <Lerneaen_Hydra> oh, ok
[12:00:16] <alex_joni> that's a nice bike you got there
[12:07:37] <Lerneaen_Hydra> oh, that's my younger borther's
[12:07:41] <Lerneaen_Hydra> *borther's
[12:08:12] <Lerneaen_Hydra> mine is decidly older and more worn ;)
[12:08:28] <Lerneaen_Hydra> I think I actually either had it as a handmedown or found it in a dumpster
[12:10:00] <Lerneaen_Hydra> alex, do you have an ftp or something I can upload the images to? also, do you want the .ngc I used to make the file shown in the image and video?
[12:10:26] <Lerneaen_Hydra> (that file has radius compensation hardcoded into the file, so no emc toolradius comp is used)
[12:10:42] <Lerneaen_Hydra> ie all tapered moves have lots of decimals
[12:11:12] <Lerneaen_Hydra> brb
[12:11:48] <alex_joni> Lerneaen_Hydra: leave it like this
[12:11:55] <alex_joni> the pictures .. email would be fastest
[12:12:17] <alex_joni> or rescale them to 500x500 max, and upload at wiki.linuxcnc.org
[12:25:47] <Lerneaen_Hydra> iab
[12:26:09] <Lerneaen_Hydra> alex_joni: mail sent
[12:28:14] <Lerneaen_Hydra> err, now it's sent
[12:32:18] <alex_joni> hmm.. a bit big ;)
[12:32:21] <alex_joni> but coming in now
[12:32:25] <Lerneaen_Hydra> 2mb each
[12:32:42] <Lerneaen_Hydra> maybe I should have resized...
[12:35:42] <alex_joni> got them
[12:38:27] <Lerneaen_Hydra> good enough?
[12:38:36] <alex_joni> sure
[12:38:38] <alex_joni> jas
[12:39:11] <Lerneaen_Hydra> jas?
[12:40:31] <alex_joni> just a second
[12:40:37] <Lerneaen_Hydra> oh, right
[12:40:43] <alex_joni> changed
[12:41:12] <Lerneaen_Hydra> woo
[12:41:14] <alex_joni> is that better?
[12:42:07] <Lerneaen_Hydra> yeah :D
[12:42:19] <alex_joni> ok
[12:43:28] <Lerneaen_Hydra> or did you like the previous images better?
[12:45:11] <alex_joni> nope, it's fine
[12:45:16] <alex_joni> did you just shoot those?
[12:45:20] <Lerneaen_Hydra> yeah
[12:45:27] <alex_joni> cool :)
[12:45:35] <alex_joni> I suggest you update your axis :P
[12:45:36] <Lerneaen_Hydra> fortunately I kept that peice ;)
[12:45:39] <alex_joni> and emc2 ;)
[12:45:46] <Lerneaen_Hydra> what is it old?
[12:45:57] <Lerneaen_Hydra> IIRC it's head from a few months back
[12:46:11] <alex_joni> yeah.. it changed a bit I think
[12:46:15] <Lerneaen_Hydra> oh,cool
[12:47:03] <alex_joni> heh.. like your handwheels
[12:47:18] <alex_joni> reminds me of one of those older water controls
[12:47:20] <alex_joni> :D
[12:47:22] <Lerneaen_Hydra> Im actually quite pleased with those actually
[12:47:27] <Lerneaen_Hydra> haha
[12:47:47] <Lerneaen_Hydra> The ones I saw for sale were really expensive, so I made some at my old school
[12:47:52] <alex_joni> nice
[12:48:17] <Lerneaen_Hydra> the lower right one is unused though ATM, it will control the CSS speed when that's done ;)
[12:48:30] <Lerneaen_Hydra> the upper two are X/Z jog and lower right is FO
[12:48:53] <Lerneaen_Hydra> it works surprisingly well considering that they are only 16steps/rev
[12:50:33] <Lerneaen_Hydra> http://www.linuxcnc.org/index.php?option=com_weblinks&catid=13&Itemid=7&lang=en <-- the lower link seems to be dead
[12:51:40] <alex_joni> which lower link?
[12:52:02] <alex_joni> mmm.. pizza just arrived :D
[12:53:08] <Lerneaen_Hydra> "more users machines"
[12:53:49] <alex_joni> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Case_Studies
[12:53:56] <alex_joni> should be that
[12:55:43] <alex_joni> fixed
[12:55:47] <alex_joni> thanks for spotting it
[13:01:31] <Lerneaen_Hydra> http://fenn.freeshell.org/retrofest/dcp_0385.jpg <-- haha
[13:01:37] <Lerneaen_Hydra> I recognise that lathe too :D
[13:03:03] <alex_joni> nice
[13:03:36] <Lerneaen_Hydra> any idea of how much it went for?
[13:04:14] <Lerneaen_Hydra> that mazak project looks like a real PITA, *tons* of bits of hardware sticking out everywhere, old & oily
[13:14:30] <alex_joni> Lerneaen_Hydra: I assume it was
[13:14:36] <alex_joni> * alex_joni wasn't there
[13:14:53] <Lerneaen_Hydra> flying there and back would probably be quite expensive
[13:15:05] <alex_joni> I'm still thinking about doing it next year :)
[13:15:24] <Lerneaen_Hydra> wasn't there some euro-shop that someone was thinking about doing?
[13:15:42] <alex_joni> yeah, but the developerbase around here is a bit small
[13:15:51] <alex_joni> so I'm not sure how good that can make
[13:15:59] <Lerneaen_Hydra> oh, ok. how many devels are there here in europe/nearby?
[13:16:10] <alex_joni> active ones? ;-)
[13:16:38] <alex_joni> a handfull tops
[13:16:46] <Lerneaen_Hydra> that few?
[13:17:02] <alex_joni> we have under 10 active developers on emc2 right now
[13:17:08] <Lerneaen_Hydra> under 10=
[13:17:12] <Lerneaen_Hydra> oh my
[13:17:23] <Lerneaen_Hydra> were there more earlier?
[13:18:33] <alex_joni> in no particular order: jepler, cradek, jmk, rayh, jonelson (only on his boards drivers), petev (at one time at least), myself, ??
[13:19:01] <alex_joni> fenn did a couple of things
[13:19:14] <alex_joni> swpadnos too
[13:19:19] <alex_joni> and zwisk
[13:19:28] <alex_joni> and there was paul, but he drifted from the project
[13:20:08] <alex_joni> emc1 had/has a lot of developers on the list .. but not quite active
[13:20:17] <Lerneaen_Hydra> emc sure is being developed fast then considering the number of developers
[13:22:53] <alex_joni> I'd say we have our hands full
[13:22:59] <alex_joni> from time to time ;)
[13:23:37] <alex_joni> http://cvs.linuxcnc.org/cvs/emc2/docs/AUTHORS?rev=1.5;content-type=text%2Fplain
[13:23:51] <alex_joni> that's a list of people that worked on emc2 at one point or the other
[13:27:18] <Lerneaen_Hydra> most of the poeple are here on IRC too it seems :)
[13:27:57] <alex_joni> yup.. most
[14:09:52] <alex_joni> hi danfalck
[14:10:17] <CIA-5> 03alex_joni 07HEAD * 10emc2/nc_files/lathe_pawn.ngc: lathe test program by LH
[14:11:26] <Lerneaen_Hydra> woo!
[14:12:04] <alex_joni> you're famous now :P
[14:12:11] <Lerneaen_Hydra> yeah
[14:12:26] <Lerneaen_Hydra> the world will know my name^W psuedoname
[14:12:28] <danfalck> hi alex_joni
[14:12:43] <alex_joni> Lerneaen_Hydra: question: why did you put the lpt cable on the front of the lathe?
[14:12:48] <alex_joni> danfalck: how goes it?
[14:12:55] <Lerneaen_Hydra> practicality issues
[14:13:11] <danfalck> good. I'm learning more about programming- in the pursuit of open CADCAM
[14:13:22] <alex_joni> oh.. nice ;)
[14:13:28] <alex_joni> did you look at that brazilian thingie?
[14:13:30] <danfalck> learning about C, python, etc
[14:13:46] <danfalck> I took a quick look and declined to use it
[14:14:05] <danfalck> I've been exploring Varkon a lot lately
[14:14:12] <danfalck> Opencascade
[14:14:16] <danfalck> and Cadvas
[14:14:17] <alex_joni> ok
[14:14:33] <danfalck> Varkon is really quite sophisticated
[14:15:12] <danfalck> the scripting language it has makes it very close to doing what I want, as soon as I learn how to use it better ;)
[14:15:59] <danfalck> Marc Pictor has been hacking Opencascade with a lot of success towards CAM too
[14:16:23] <Lerneaen_Hydra> the side were out of very thick steel, and it would be hard to make a hole in it without having to move the lathe to the workshop and remove the PCBs. also the plate the contact is attached to is a 2mm small aluminum plate, easy to machine
[14:16:47] <alex_joni> hmm.. that name rings a bell
[14:17:00] <danfalck> Lerneaen_Hydra, do you have a URL with pics?
[14:17:02] <Lerneaen_Hydra> and I've noticed that since the lathe is so small it doesn't matter
[14:17:13] <Lerneaen_Hydra> yeah, I actually do :D
[14:17:26] <Lerneaen_Hydra> (alex just uploaded them)
[14:17:35] <danfalck> alex_joni, Marc Pictor is on the EMC mailing list
[14:17:36] <alex_joni> danfalck: http://www.linuxcnc.org/index.php?option=com_content&task=view&id=28&Itemid=13
[14:17:40] <danfalck> thanks
[14:17:57] <alex_joni> danfalck: yeah, I know.. was just trying to remember what I associate the name with :)
[14:18:21] <Lerneaen_Hydra> oh, alex found it first
[14:18:33] <alex_joni> * alex_joni is quick ;)
[14:19:17] <danfalck> nice pics and a youtube link also!
[14:19:42] <Lerneaen_Hydra> I wonder how much material I removed per pass there
[14:19:48] <Lerneaen_Hydra> it looks like it was very little
[14:19:55] <Lerneaen_Hydra> as the part is only 15mm in diameter
[14:20:02] <alex_joni> 1-2mm I thik
[14:20:30] <Lerneaen_Hydra> afaict it looke like =<0.5mm
[14:20:43] <alex_joni> danfalck: if you have pics/movie/g-code file I'd be happy to set it up
[14:20:47] <Lerneaen_Hydra> had I done it today I would have done 1mm or so
[14:22:06] <alex_joni> Lerneaen_Hydra: you know what would be cool?
[14:22:15] <danfalck> alex_joni, Ok, If I can get anything together, I will let you know.
[14:22:24] <alex_joni> to have a movie with a small PIP, with the AXIS window doing the live preview
[14:22:45] <alex_joni> danfalck: no sweat, but I think it's good to let people know what emc2 can do ;)
[14:23:43] <danfalck> I think the preview is one of the features that impresses people, who aren't familiar with emc, a lot
[14:24:09] <danfalck> expecially on Axis
[14:31:43] <Lerneaen_Hydra> alex_joni: that would be cool!
[14:31:52] <Lerneaen_Hydra> hmm, I might actually do that
[14:32:04] <Lerneaen_Hydra> do you know of any movie-grabbing app
[14:32:24] <Lerneaen_Hydra> oh, wait. come to think of it that might not work so will with RT-linux on an 800mhz computer
[14:32:54] <alex_joni> yeah.. probably filming it might do the trick
[14:33:42] <Lerneaen_Hydra> yeah, you'd have to have the same FO though
[14:34:01] <Lerneaen_Hydra> or be *very* certain of when you do FO ;)
[14:44:33] <CIA-5> 03jepler 07HEAD * 10emc2/configs/nist-lathe/inch.ini: core_axis.hal is no longer needed or present
[15:41:13] <CIA-5> 03jepler 07HEAD * 10emc2/share/axis/tcl/axis.tcl: use an undocumented method to hide .-files from the open dialog
[15:42:36] <CIA-5> 03alex_joni 07HEAD * 10emc2/nc_files/lathe_pawn.ngc: fixed a missing I word, and ran through dos2unix (sorry about that)
[16:24:49] <Guest225> hello everybody
[16:24:54] <alex_joni> hi Guest225
[16:25:21] <alex_joni> bye Guest225
[16:27:15] <Lerneaen_Hydra> alex_joni: you're far too slow
[16:27:24] <Lerneaen_Hydra> ;)
[16:27:28] <Guest452> hi again
[16:27:33] <Lerneaen_Hydra> 'lo
[16:28:38] <Guest452> i have one question
[16:28:46] <Guest452> i have 2 axis for x
[16:28:48] <alex_joni> shoot
[16:29:28] <Guest452> it's possible with emc2
[16:29:36] <alex_joni> is it a gantry ?
[16:30:15] <Guest452> wait a minute, i translate gantry (french)
[16:30:29] <alex_joni> portal
[16:30:55] <Guest452> bridge ?
[16:31:12] <alex_joni> sort of :)
[16:32:25] <Guest452> yes it's x and x'
[16:33:51] <alex_joni> the answer is yes and no
[16:34:13] <Guest452> :=)
[16:34:18] <Guest452> :(
[16:34:48] <alex_joni> Guest452: there was quite a bit of talk about this on the emc-users list
[16:35:06] <alex_joni> there is an archive of that list at http://sourceforge.net/projects/emc/
[16:35:14] <Guest452> i go to see
[16:46:57] <Guest452> if i understand all
[16:47:00] <rcsudo> rcsudo is now known as rcsu
[16:47:24] <Guest452> hal give the same command on the 2 axis
[16:47:43] <Guest452> but initialization make trouble
[16:47:51] <alex_joni> yes, homing is a problem
[16:48:04] <Guest452> ok i see
[16:48:21] <alex_joni> there is another possibility: hal-> axis 1 -> encoder -> axis 2 -> feedback
[16:48:31] <Guest452> the question is for waterjet machine...
[16:48:55] <alex_joni> Guest452: I think it would be best if you wrote an email to the emc-users list
[16:49:06] <alex_joni> more experienced people there who can probably help
[16:49:13] <alex_joni> most are not around this early ;)
[16:49:27] <Guest452> good idea :)
[16:49:34] <Guest452> thank you
[16:49:46] <alex_joni> np
[16:49:51] <alex_joni> sorry I can't help much
[16:50:48] <Guest452> it's enough, i have an idea of problem, and a solution to ask more help
[16:52:25] <Guest452> so thank you very much and bye
[16:52:52] <alex_joni> no problem
[16:52:54] <alex_joni> bye
[16:53:35] <Guest452> oh my nickname is Didier usually
[16:53:42] <alex_joni> yeah, I figured
[16:53:54] <alex_joni> 18:25 -!- Guest452 [n=Didier@lns-bzn-43-82-249-171-226.adsl.proxad.net] has
[16:53:54] <alex_joni> joined #emc
[16:56:28] <anonimasu> hello
[16:56:49] <alex_joni> hi
[17:01:46] <anonimasu> what's up?
[17:02:00] <alex_joni> * alex_joni works on M-codes
[17:10:25] <anonimasu> :)
[17:10:27] <anonimasu> nice
[17:10:34] <anonimasu> I just got home from visiting my grandparents
[17:31:59] <A-L-P-H-A> hope they're well.
[17:35:05] <anonimasu> yeah :)
[17:35:35] <anonimasu> im doing some design of some buisness card boxes..
[17:37:51] <alex_joni> boxes for business cards ?
[17:38:13] <anonimasu> yeah
[17:38:44] <anonimasu> will machine one of them in aluminium..
[17:39:01] <alex_joni> not too heavy?
[17:39:35] <anonimasu> for moving around with it..
[17:39:46] <anonimasu> but for keeping the cards on the desk :)
[17:40:06] <alex_joni> * alex_joni hands anonimasu a business cards scanner and a shredder
[17:40:16] <anonimasu> oh, for giving them out..
[17:41:03] <anonimasu> :)
[17:41:09] <anonimasu> storing your own cards in rather..
[17:41:22] <A-L-P-H-A> I've seen some nice ones outta sheet metal...
[17:41:31] <A-L-P-H-A> very elegant looking.
[17:41:41] <A-L-P-H-A> who would want a billet one that is bulky?
[17:42:42] <anonimasu> bulky?
[17:42:52] <anonimasu> and how do you have a clue about that really.
[17:43:26] <A-L-P-H-A> From milton bradley.
[17:43:58] <A-L-P-H-A> oops. Hasbro
[17:57:02] <Lerneaen_Hydra_> Lerneaen_Hydra_ is now known as Lerneaen_Hydra
[18:00:02] <owhite> hey people.
[18:00:12] <alex_joni> hi owhite
[18:00:19] <owhite> any tcl/tk programmers around?
[18:00:25] <owhite> hello alex.
[18:00:38] <alex_joni> not me :D
[18:00:55] <owhite> alex: I came up with an interesting idea.
[18:01:00] <alex_joni> but ask away. maybe one shows up in the end
[18:01:02] <owhite> well, at least I thought it was interesting.
[18:01:24] <owhite> I have been wanting to create a remote control for emc2. I think I got an easy one.
[18:02:32] <owhite> a game pad http://images-eu.amazon.com/images/P/B0000BB7J0.03.LZZZZZZZ.jpg
[18:02:44] <owhite> * owhite thinks this is very clever.
[18:02:45] <alex_joni> how about this: http://www.backshop.nl/uk_new/prod_display.php?prodid=180&opdr=tel
[18:03:01] <SWPadnos> http://catalog.belkin.com/IWCatProductPage.process?pcount=&Product_Id=157024
[18:03:11] <owhite> yep. that's pretty good too.
[18:03:26] <owhite> so, the thing is that there are wireless game controllers.
[18:03:32] <alex_joni> the advantage with numpad is that you don't need to do anything for the keys ;)
[18:03:38] <SWPadnos> there's a joystick driver aready
[18:03:49] <alex_joni> http://www.aitway.com/images/mini10kb_large.jpg
[18:03:58] <SWPadnos> it exports a float for each "analog" axis found, and a bit for each button found
[18:04:00] <owhite> a joystick driver is where? In emc?
[18:04:04] <SWPadnos> yep
[18:04:07] <SWPadnos> hal_joystick
[18:04:13] <owhite> oh hm.
[18:04:24] <owhite> but then you're going to try to sell me on not using tkemc.
[18:04:36] <alex_joni> you can use tkemc and halui
[18:04:43] <alex_joni> and connect the joystick pins to halui
[18:04:48] <SWPadnos> it doesn't matter. the hal pins can be attached to halui to do things, and tkemc can also run along with it
[18:04:54] <SWPadnos> what he said ;)
[18:04:56] <owhite> hm.
[18:04:58] <alex_joni> it will work as the second UI in the background
[18:05:05] <alex_joni> you won't see it at all :P
[18:05:50] <owhite> okay. so suggestions for configuring halui to use joystick input?
[18:06:13] <alex_joni> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Halui
[18:06:37] <alex_joni> find the pins you want in that list, then link them to the joystick driver
[18:07:06] <owhite> * owhite looks for hal_joystick information.
[18:07:43] <alex_joni> man hal_joystick
[18:09:29] <owhite> got it. so I have the executable. I was wondering what the best way to see if my game controller is talking to hal_joystick. there could be various problems with drivers and what not.
[18:09:47] <alex_joni> hal_joystick &
[18:10:08] <owhite> you crazy.
[18:10:47] <alex_joni> juve@ubuntu:~/emc2/src$ hal_joystick
[18:10:47] <alex_joni> ERROR: can't stat() device '/dev/js0'
[18:10:54] <alex_joni> I have no joystick plugged in now
[18:11:05] <owhite> yah that's fine. I have a /dev/input/js0
[18:11:27] <owhite> and once rtai is running, it doesnt crash either :-)
[18:12:46] <alex_joni> heh
[18:12:49] <owhite> is the type of thing where hal_joystick has pins and I've got to get the pins mapped to um, something.
[18:12:51] <owhite> ?
[18:13:29] <SWPadnos> yes
[18:13:39] <SWPadnos> you connect them by adding commands in a .hal file (or in the ini)
[18:13:40] <alex_joni> halcmd show pin
[18:13:44] <alex_joni> should show them
[18:14:00] <alex_joni> halcmd show
[18:14:05] <owhite> * owhite looks around.
[18:14:10] <SWPadnos> hmmm - alex, does globbing work now (or is that just at the command line?)
[18:14:19] <alex_joni> command line
[18:14:26] <SWPadnos> hmmm
[18:14:28] <alex_joni> if he's using the installed version
[18:14:31] <SWPadnos> ah
[18:14:38] <owhite> yes he is.
[18:14:42] <alex_joni> see.. :)
[18:15:08] <SWPadnos> I've got to say, I love readline and stuff - up-arrow and tab-completion are excellent
[18:15:18] <alex_joni> SWPadnos: not in 2.0.x ;)
[18:15:31] <alex_joni> but yes, you are correct.. it kicks ass
[18:15:48] <Lerneaen_Hydra> * Lerneaen_Hydra coughMDIhistorycough
[18:15:50] <Lerneaen_Hydra> ;)
[18:15:57] <alex_joni> Lerneaen_Hydra: :P
[18:16:02] <Lerneaen_Hydra> (sorry I couldn't resist)
[18:16:07] <alex_joni> there is some history in AXIS actually
[18:16:17] <Lerneaen_Hydra> what up/down arrow?
[18:16:24] <SWPadnos> yeah - MDI commands go into the text widget, and can be cut/pasted
[18:16:39] <Lerneaen_Hydra> well, it's not up/down arrow fast :p
[18:16:45] <SWPadnos> toop bad for you :P
[18:17:04] <alex_joni> up/down are for jogging :D
[18:17:15] <Lerneaen_Hydra> *cue a "patches gladly accepted line"*
[18:17:24] <Lerneaen_Hydra> alex_joni: :p
[18:17:59] <owhite> where do you suppose the .hal file for halui would be in a default installation?
[18:18:12] <SWPadnos> Lerneaen_Hydra, patches gratefully accepted
[18:18:13] <owhite> *braces self for another rtfm*
[18:18:14] <SWPadnos> :)
[18:18:31] <Lerneaen_Hydra> * Lerneaen_Hydra facepalm
[18:18:39] <alex_joni> owhite: thought we made it clear that's wtfm
[18:18:44] <SWPadnos> heh
[18:18:55] <alex_joni> "at least the missing bits"
[18:19:06] <owhite> as in write the fu... manual?
[18:19:12] <alex_joni> yup
[18:19:17] <SWPadnos> ahem. *fine* manual ;)
[18:19:29] <alex_joni> fubared
[18:19:35] <SWPadnos> funny
[18:19:44] <owhite> the english or portugese version?
[18:20:06] <alex_joni> engrish
[18:20:13] <owhite> _is_ there a .hal file for the halui?
[18:20:24] <alex_joni> there's an example called halui_halvcp
[18:20:25] <alex_joni> in HEAD
[18:22:50] <owhite> I cant find anything call halui_halvcp on disk for my machine. *keeps looking*
[18:23:05] <alex_joni> HEAD
[18:23:08] <alex_joni> HEAD HEAD HEAD
[18:23:15] <alex_joni> that's in CVS ;) not on your machine :P
[18:23:20] <SWPadnos> HEAD for HEAD - it'll clear your HEAD
[18:23:42] <jepler> WHY ARE YOU SHOTING?
[18:23:44] <jepler> SHOUTING
[18:23:45] <jepler> ARGH
[18:24:24] <alex_joni> owhite: http://cvs.linuxcnc.org/cvs/emc2/configs/halui_halvcp/halvcp.hal
[18:27:06] <owhite> is the following statement true: in order to get hal_joystick working on halui I am going to have to be able to compile emc2?
[18:27:18] <owhite> and, rtfm.
[18:27:35] <Lerneaen_Hydra> wtf is up with the devels todat?
[18:27:44] <Lerneaen_Hydra> today, gah
[18:28:14] <alex_joni> owhite: and probably ask a few questions along those
[18:28:18] <alex_joni> Lerneaen_Hydra: what do you mean?
[18:29:07] <Lerneaen_Hydra> all the... randomness
[18:29:16] <owhite> that's non fun.
[18:30:17] <alex_joni> what randomness?
[18:30:42] <CIA-5> 03alex_joni 07HEAD * 10emc2/src/ (configure.in configure): changed default behaviour of building docs: by default docs are not built (--enable-build-documentation to build docs)
[18:32:52] <alex_joni> * alex_joni looks around .. only to find a very well organized chaos
[18:34:06] <owhite> * owhite gives his son a ride to the subway station.
[18:34:21] <alex_joni> dig a hole.. should be easier ;)
[18:41:07] <CIA-5> 03alex_joni 07HEAD * 10emc2/src/ (configure.in configure): update helper text for --enable-build-documentation
[18:46:41] <owhite> *blink*
[18:47:03] <alex_joni> 20:33 * owhite gives his son a ride to the subway station.
[18:47:07] <alex_joni> 20:33 < alex_joni> dig a hole.. should be easier ;)
[18:54:37] <Lerneaen_Hydra> 'night people
[19:03:02] <owhite> master alex.
[19:03:10] <alex_joni> owhite: ?
[19:03:15] <owhite> I cant find any docs on how to launch halui.
[19:03:26] <alex_joni> [HAL] HALUI = halui
[19:03:48] <alex_joni> that means in the ini file add a line HALUI = halui to the [HAL] section
[19:03:59] <owhite> could I put that in my tkemc.ini?
[19:04:14] <alex_joni> yes, but I must warn you that the 2.0.x halui is pretty crippled :)
[19:04:24] <owhite> hm.
[19:04:34] <alex_joni> we feature froze 2.0.x before it got ready
[19:04:41] <alex_joni> it'll be in 2.1 soon
[19:04:48] <owhite> so, there's a program that run on the unix command line...
[19:04:54] <alex_joni> yes
[19:05:02] <alex_joni> and it runs in the background
[19:05:09] <owhite> its called joy2key. its set up so once you are running that, it...
[19:05:21] <alex_joni> oh.. don't know that one ;)
[19:05:36] <owhite> sends the key presses of the game controller to the screen as characters.
[19:06:05] <owhite> then it behaves the same way as a keyboard.
[19:06:38] <owhite> thing is, I cant get the key-presses to redirect into tkemc.tcl -- any suggestions?
[19:06:55] <owhite> I'd be allLLLllll done if I could get that working.
[19:07:31] <alex_joni> maybe you need to run it before emc in the same console?
[19:07:55] <owhite> *tries some stuff*
[19:07:59] <owhite> there
[19:08:09] <owhite> there's a way you can tell it to send it to another window.
[19:08:09] <alex_joni> I mean not run emc from the menu, but open a console run 'joy2key', then 'emc'
[19:08:22] <owhite> right. I'll try that.
[19:12:47] <owhite> nope. fooling around with xwininfo to try to get the target ID of the tkemc window.
[19:35:25] <owhite> RR@#$R@#KNLMK
[19:35:40] <owhite> that's my gamepad sending characters to #emc.
[19:36:21] <alex_joni> hah
[19:36:35] <alex_joni> you need to tell it to send to emc not #emc :D
[19:36:57] <alex_joni> owhite: good job though :)
[19:37:14] <alex_joni> how about.. writing a short wiki page to describe the process>
[19:37:16] <alex_joni> ?
[19:37:36] <owhite> I will but I figure if I go this route you're going to lose all respect for me
[19:37:47] <owhite> ...because I didnt use hal_pins.
[19:37:49] <owhite> :-)
[19:37:56] <alex_joni> wanna not really
[19:38:02] <owhite> but yeah, I'm working out some details.
[19:38:08] <alex_joni> there are things that HAL is not perfect for
[19:38:27] <owhite> *nod*
[19:39:01] <owhite> I just know its going to take up the better part of weekend if not more, just learning how to compile emc2.
[19:39:16] <alex_joni> not really
[19:39:24] <alex_joni> I'd say 20 minutes tops
[19:39:32] <owhite> BWAH!
[19:39:51] <alex_joni> judging by your linux knowledge so far :)
[19:39:58] <owhite> well like right now I was trying to compile joy2key.c and it was crapping out.
[19:40:02] <alex_joni> wanna bet?
[19:40:10] <owhite> no that's not true. I was trying to run configure.
[19:40:21] <alex_joni> yeah.. but you can ask in here :)
[19:40:30] <owhite> oh hey if you want to walk me though it, I am quite willing to try.
[19:40:30] <alex_joni> sudo apt-get build-dep emc2
[19:40:42] <owhite> *typing*
[19:40:43] <alex_joni> there's a wiki page covering most of it
[19:41:24] <owhite> wiki- shmikki. either you are going to walk me through it or I aint doing it. *wonders if this logic has a chance of working*
[19:41:33] <owhite> okay. apt-ing....
[19:41:36] <alex_joni> ok.. but you gonna be fast
[19:41:36] <alex_joni> :P
[19:41:50] <alex_joni> * alex_joni opens the wiki :D
[19:42:06] <owhite> E: Build-dependencies for emc2 could not be satisfied.
[19:42:31] <alex_joni> you probably have not all repositories switched on
[19:42:36] <alex_joni> 2 ways to do that
[19:42:36] <owhite> *awaits "oh, just reformat your harddrive"*
[19:42:49] <alex_joni> 1. open synergy and add the repositories
[19:42:57] <alex_joni> 2. sudo vim /etc/apt/sources.list
[19:43:02] <alex_joni> and uncomment some lines
[19:43:22] <alex_joni> whatever you're more comfortable with :D
[19:43:26] <owhite> do you mean synaptic?
[19:43:33] <alex_joni> err. yeah
[19:43:44] <alex_joni> * alex_joni gets confused by those pesky guis with silly names
[19:43:50] <owhite> I asked synaptic to increase its repositories earlier.
[19:44:01] <alex_joni> you need universe enabled at least
[19:44:04] <owhite> shoudl I do that vim thing? *does without waiting*
[19:44:28] <alex_joni> not if you're not familiar with vim :D
[19:44:45] <owhite> holy shit vim is a text editor!!
[19:44:49] <alex_joni> indeed it is
[19:44:54] <owhite> qx?
[19:44:55] <alex_joni> :q to exit it
[19:44:57] <alex_joni> :D
[19:45:21] <owhite> I am strictly emacs. so what do I comment?
[19:45:31] <alex_joni> sudo emacs /etc/apt/sources.list
[19:45:35] <alex_joni> not comment, uncomment
[19:45:36] <owhite> done.
[19:45:45] <alex_joni> check that there are lines with universe uncommented
[19:46:03] <alex_joni> deb http://archive.ubuntu.com/ubuntu/ dapper universe multiverse
[19:46:09] <alex_joni> that's from my file
[19:46:28] <owhite> *looking* I think its uncommented.
[19:46:35] <owhite> I wonder what I screwed up?
[19:46:41] <alex_joni> ok, then you probably need to sudo apt-get update
[19:47:06] <owhite> *updating*
[19:47:08] <owhite> done.
[19:47:20] <alex_joni> try sudo apt-get build-dep emc2 again
[19:47:35] <owhite> E: Build-dependencies for emc2 could not be satisfied.
[19:47:41] <alex_joni> nothing else?
[19:47:42] <owhite> crap.
[19:48:08] <owhite> *awaits "oh just reformat your harddrive"*
[19:48:17] <alex_joni> no.. don't you get any other error?
[19:48:32] <owhite> nope. it does this....
[19:48:46] <owhite> Reading package lists... Done
[19:48:46] <owhite> Building dependency tree... Done
[19:48:46] <owhite> E: Build-dependencies for emc2 could not be satisfied.
[19:49:10] <alex_joni> can you copy the contents of /etc/apt/sources.list and put them on www.pastebin.ca ?
[19:49:15] <jepler> after you change source.list you must run apt-get update
[19:49:30] <alex_joni> he did run that
[19:49:41] <jepler> oh I can't read
[19:49:41] <jepler> sorry
[19:49:53] <alex_joni> jepler: np.. 2 pairs of eyes are better
[19:50:46] <owhite> righto. http://pastebin.ca/237878
[19:50:57] <owhite> that pastebin is neat.
[19:50:58] <alex_joni> you're fast
[19:51:05] <owhite> <--- just not real clever.
[19:52:07] <alex_joni> * alex_joni wonders
[19:52:29] <alex_joni> crap.. gotta run 10 minutes
[19:52:37] <alex_joni> owhite: try sudo apt-get update again
[19:52:43] <alex_joni> I have nfc why it's not working
[19:52:56] <alex_joni> maybe merge line 1 and 16
[19:53:04] <owhite> *tries with same result*
[19:53:17] <alex_joni> the rest should be ok
[19:53:18] <owhite> how about I install emc2-dev with synaptic?
[19:53:31] <alex_joni> I'll hurry back
[19:53:36] <alex_joni> maybe jepler can help till then
[19:53:46] <owhite> merge line 1 and 16 of sources.list?
[20:05:58] <alex_joni> back
[20:06:14] <alex_joni> line 1 and 16 in that paste refer to the same thing but with different parameters
[20:12:52] <owhite> hm.
[20:13:07] <owhite> still confused. so what would you suggest I put there?
[20:13:25] <LH_school> 'lo again
[20:13:33] <LH_school> logger_emc: bookmark
[20:13:33] <LH_school> Just this once .. here's the log: http://www.linuxcnc.org/irc/irc.freenode.net:6667/emc/2006-11-04.txt
[20:14:45] <owhite> now you have immortalized your prediction that I could be compiling emc2 within 20 minutes.
[20:15:28] <alex_joni> deb-src http://us.archive.ubuntu.com/ubuntu/ dapper main restricted
[20:15:35] <alex_joni> deb-src http://us.archive.ubuntu.com/ubuntu/ dapper universe
[20:15:42] <alex_joni> those are line 1 and 16
[20:15:50] <alex_joni> they refer to the same server and type
[20:15:57] <owhite> ah.
[20:16:02] <alex_joni> you could combine them to read: dapper main restricted universe
[20:16:10] <alex_joni> but I doubt that's the problem
[20:16:36] <alex_joni> deb http://archive.ubuntu.com/ubuntu/ dapper universe main restricted
[20:16:40] <alex_joni> try adding multiverse there
[20:16:57] <owhite> hang on...
[20:17:04] <LH_school> in my repository file I just uncommented them (and had them seperate), and that worked fine
[20:17:12] <owhite> I have a very small screen this is quite challenging.
[20:17:38] <alex_joni> LH_school: ok.. didn't know that
[20:17:50] <alex_joni> but I wonder wtf it's not working.. I mean what's missing
[20:18:28] <alex_joni> owhite: alternative
[20:18:43] <owhite> *alternates*
[20:18:46] <alex_joni> sudo apt-get install linux-headers-2.6.15-magma g++ gcc-4.0 make libc6-dev tcl8.4-dev tk8.4-dev libgtk1.2-dev pciutils-dev
[20:19:05] <owhite> <-- will try anything once.
[20:19:20] <alex_joni> try snooping :)
[20:19:28] <owhite> libc6-dev: Depends: libc6 (= 2.3.6-0ubuntu20) but 2.4-1ubuntu12 is to be installed
[20:19:46] <owhite> I had a problem with libc6-dev this morning.
[20:20:39] <alex_joni> aha.. there's your problem
[20:20:43] <alex_joni> you broke it :P
[20:21:09] <owhite> suggestions? does apt do uninstalls?
[20:21:14] <alex_joni> apt-get remove
[20:21:21] <alex_joni> with sudo infront
[20:21:30] <alex_joni> or you can isntall the other version
[20:21:32] <owhite> how about something like:
[20:21:44] <alex_joni> uninstall of libc6 might be bad
[20:21:45] <owhite> sudo apt-get libc6-dev
[20:21:54] <owhite> erp.
[20:21:56] <alex_joni> sudo apt-get install libc5-dev
[20:22:03] <alex_joni> sudo apt-get install --reinstall libc5-dev
[20:22:08] <alex_joni> libc6
[20:22:09] <alex_joni> darn
[20:22:22] <owhite> *tries reinstall*
[20:22:47] <owhite> nope. doesnt like libc6
[20:22:57] <owhite> libc6-dev: Depends: libc6 (= 2.3.6-0ubuntu20) but 2.4-1ubuntu12 is to be installed
[20:23:14] <owhite> I tried putting it in this morning. how bout I just remove it?
[20:23:26] <alex_joni> sudo dpkg --configure -a
[20:23:35] <owhite> sudo apt-get remove libc6-dev?
[20:23:45] <owhite> * owhite does dpkg....
[20:24:28] <owhite> dpkg returned with nothing, no complaints, rerunning apt get on libc6 gave same result.
[20:24:47] <alex_joni> sudo apt-get install libc6-dev libc6-i386 libc6
[20:24:50] <alex_joni> does the same thing?
[20:25:21] <owhite> hang on.
[20:25:35] <alex_joni> sudo apt-get install libc6=2.3.6-0ubuntu20
[20:26:09] <owhite> *doing the libc6=blah blah thing*
[20:26:18] <owhite> that seems to be working.
[20:26:35] <alex_joni> finally something ;)
[20:26:38] <owhite> <-- gets 20kb/sec.
[20:26:47] <alex_joni> sudo apt-get install libc6-dev afterwards
[20:26:53] <owhite> okay.
[20:27:02] <owhite> alex: how come your english is so get?
[20:27:09] <owhite> s/get/good/
[20:27:11] <alex_joni> owhite: I practise daily :P
[20:27:26] <owhite> yeah but you know slang and everything.
[20:27:46] <owhite> another minute on the download.
[20:27:48] <alex_joni> well.. I learned in highschool, then used it a lot I guess
[20:28:04] <alex_joni> we'll get to the big packages.. so probably way over 20 minutes :)
[20:28:12] <owhite> scary.
[20:28:37] <owhite> my house's internet connection is fu and bar.
[20:28:46] <alex_joni> heh..
[20:28:51] <alex_joni> * alex_joni remembers dialup :D
[20:29:03] <LH_school> * LH_school shudders
[20:29:05] <owhite> one warning. but looks good.
[20:29:57] <LH_school> so... who knows of a page that describes op-amp bandpass filters?
[20:30:04] <owhite> sudo apt-get install libc6-dev
[20:30:04] <owhite> ran with no complaints.
[20:30:07] <alex_joni> sudo apt-get build-dep emc2 next
[20:30:09] <LH_school> (how to work with them and stuff)
[20:30:16] <alex_joni> LH_school: google
[20:30:18] <owhite> *braces for big excitement*
[20:30:22] <anonimasu> LH_school: at school at a saturday :/
[20:30:25] <LH_school> alex_joni: :p except for that
[20:30:36] <LH_school> anonimasu: you bet, at 9:30 PM too
[20:30:39] <alex_joni> LH_school: I suppose yahoo to.. but I never really tried that
[20:30:43] <LH_school> doesn't get better than that ;)
[20:30:47] <alex_joni> s/to/too/
[20:30:51] <LH_school> alex_joni: ok
[20:30:52] <owhite> big download! *twiddles thumb*
[20:30:57] <owhite> *pets cat*
[20:31:25] <LH_school> alex_joni: does build-dep emc2 get the same packages as build-essential?
[20:31:43] <owhite> so for all of you watching -- alex_joni bet me we could be compiling emc2 on my machine in 20 minutes.
[20:31:43] <alex_joni> build-essential only gives make and gcc
[20:31:57] <alex_joni> owhite: I _assumed_ a decent connection
[20:32:04] <owhite> fair enough.
[20:32:06] <LH_school> owhite: yeah, but that's was with a good connection
[20:32:08] <alex_joni> and that you didn't _fubar_ your apt :P
[20:32:16] <LH_school> bad owhite
[20:32:27] <owhite> do you still think my apt is broke?
[20:32:27] <anonimasu> LH_school: what are you doing there anyway?
[20:32:40] <owhite> I thought it was a screwy lib6 thing.
[20:32:46] <LH_school> there's a halloween thingy they're having
[20:32:53] <owhite> YOU KNOW I DONT EVEN *LIKE* COMPUTERS.
[20:32:56] <owhite> there. I said it.
[20:33:01] <LH_school> I'm going with a few friends from high school
[20:33:03] <alex_joni> I think that's a screwy package you installed
[20:33:12] <owhite> I just want to cut sheet metal. *wimper*
[20:33:14] <alex_joni> LH_school: so what are you doing on irc?
[20:33:16] <anonimasu> LH_school: nice
[20:33:24] <alex_joni> LH_school: did they cut your booze ratios?
[20:33:24] <LH_school> waiting for it to start :p
[20:33:55] <owhite> ooh. speaking of partying, lets have a beer.
[20:34:06] <LH_school> well, there's as much as you want, but I won't be wanting much tonight, as I've got an assignment to do tomorrow (and I want to work on the electric bike tomorrow)
[20:34:30] <alex_joni> * alex_joni doesn't really fancy alcohol
[20:34:42] <alex_joni> owhite: there.. I know aussie slang too :P
[20:34:43] <LH_school> * LH_school holds the same opinion
[20:34:47] <anonimasu> * anonimasu agrees
[20:35:01] <owhite> <--- drinks like there's no tomorrow.
[20:35:04] <anonimasu> the only reason I drink alcohol is to get drunk.
[20:35:10] <owhite> hey, you think that's why I cant program?
[20:35:18] <anonimasu> if that isnt the point I drink other stuff..
[20:35:22] <alex_joni> owhite: nah.. bet it ain't
[20:35:22] <LH_school> friends don't let friends drink and CNC
[20:35:44] <LH_school> so lay it off owhite ;)
[20:35:52] <owhite> some of my best laser work was under the influence of alcohol.
[20:36:02] <alex_joni> we shall call it ... art
[20:36:10] <LH_school> * LH_school does not want to imagine what happened
[20:36:19] <anonimasu> lasers dont include stuff spinning at 30000rpm..
[20:36:29] <owhite> hang on...
[20:36:59] <anonimasu> :)
[20:37:27] <owhite> http://www.nilno.com/avatar.jpg
[20:37:31] <owhite> heh.
[20:37:47] <alex_joni> heh
[20:37:48] <anonimasu> ouch
[20:37:52] <owhite> hey hey. apt-get is done.
[20:38:10] <alex_joni> go to ~
[20:38:19] <alex_joni> cvs -z5 -d:ext:anon@cvs.linuxcnc.org:/cvs co -d emc2-head emc2
[20:38:31] <LH_school> owhite: haha
[20:38:38] <LH_school> nice text ;)
[20:38:54] <owhite> rut-ro.
[20:39:03] <owhite> (which means uh-oh)
[20:39:14] <owhite> (which means, "this is bad")
[20:39:19] <alex_joni> what is?
[20:39:19] <owhite> I dont haved cvs.
[20:39:29] <anonimasu> apt-get install cvs
[20:39:36] <alex_joni> what he said ;)
[20:39:41] <alex_joni> sudo even
[20:39:46] <owhite> good god you guys have an answer for everything.
[20:40:03] <alex_joni> you ain't seen half of it
[20:40:14] <anonimasu> wait until you start configuring ;)
[20:40:26] <anonimasu> * anonimasu hides from alex
[20:40:39] <owhite> it killed me when I came in this morning and I started talking about joysticks and you said: "hey, use hal_joystick"
[20:40:47] <alex_joni> wasn't me ;)
[20:40:48] <LH_school> oh the wonders of HAL when you're not used to the naming conventions
[20:40:53] <alex_joni> swp beat me to saying that
[20:41:28] <owhite> Host key verification failed.
[20:41:33] <owhite> complaint from cvs
[20:41:41] <alex_joni> host key?
[20:41:41] <anonimasu> I'll be back in 10
[20:41:44] <anonimasu> going to the kiosk
[20:41:46] <owhite> The authenticity of host 'cvs.linuxcnc.org (206.222.212.221)' can't be established.
[20:41:53] <alex_joni> don't mind that ;)
[20:41:59] <alex_joni> I'll say it's good :P
[20:42:09] <owhite> cvs [checkout aborted]: end of file from server (consult above messages if any)
[20:42:17] <alex_joni> export CVS_RSH=ssh
[20:42:24] <alex_joni> then the long cvs line again
[20:42:52] <owhite> head head heading...
[20:43:00] <alex_joni> owhite: I think the cvs package puts that in the default bashrc but you need to relogon for it to know it
[20:43:12] <alex_joni> owhite: for now we'll use export CVS_RSH=ssh
[20:43:16] <owhite> its installing away.
[20:43:26] <LH_school> moo
[20:43:36] <owhite> alex_joni: that's all in the docs of course.
[20:43:45] <alex_joni> owhite: don't tempt me
[20:43:57] <alex_joni> I'll instruct you to read the 190 pages CVS Red Book :D
[20:44:00] <owhite> how in linux do I find out how much disk space I have left?
[20:44:22] <owhite> oh god all the software engineers at work know cvs in their sleep.
[20:44:26] <owhite> <--- does not.
[20:44:35] <alex_joni> df -h
[20:44:44] <alex_joni> disk free -human readable
[20:45:02] <LH_school> doesn't quota also show that?
[20:45:08] <owhite> ooh. plenty left.
[20:45:12] <alex_joni> LH_school: quota is for school loosers :D
[20:45:18] <alex_joni> with bad sysadmins ;)
[20:45:29] <alex_joni> juve@ubuntu:~/emc2/src$ quota
[20:45:29] <alex_joni> bash: quota: command not found
[20:45:42] <LH_school> oh, it's an addon
[20:46:00] <alex_joni> yup, not compiled by default into normal kernels
[20:46:54] <alex_joni> owhite: after the checkout we'll do a first configure (which will probably fail)
[20:46:57] <owhite> this is so crazy. all this to get a joystick on my machine.
[20:47:08] <owhite> alex_joni: cool.
[20:47:15] <alex_joni> the build-dep you did earlier was for 2.0.x and in the meantime there are new dependencies
[20:47:28] <owhite> Its ready.
[20:47:32] <owhite> ./configure?
[20:47:34] <alex_joni> cd src
[20:47:41] <alex_joni> ./configure --enable-run-in-place
[20:48:00] <owhite> cd emc-head?
[20:48:04] <alex_joni> yes
[20:48:07] <alex_joni> cd emc-head/src
[20:48:30] <owhite> *runs configure*
[20:48:44] <owhite> *dumb-founded*
[20:48:48] <owhite> it, it ran!
[20:49:01] <owhite> now your going to tell me to run make.
[20:49:22] <alex_joni> sure
[20:49:24] <alex_joni> make
[20:49:35] <alex_joni> then sudo make setuid
[20:49:36] <owhite> this is too freaky.
[20:49:46] <alex_joni> but you won't get AXIS
[20:49:59] <LH_school> owhite: had bad luck before?
[20:50:12] <LH_school> alex_joni: isn't AXIS included in EMC?
[20:50:14] <alex_joni> sudo apt-get install libncurses-dev gettext libxaw7-dev libreadline5-dev python yapps2
[20:50:21] <LH_school> wasn't it added mid-june?
[20:50:26] <owhite> LH: yes, I'm 44, and I've had bad luck from age 0-43.999
[20:50:27] <alex_joni> LH_school: sure but it doesn't build unless python is installed ;)
[20:50:34] <LH_school> alex_joni: oh, right
[20:50:44] <LH_school> shouldn't that be included in build-dep emc2?
[20:50:46] <alex_joni> owhite: got that line above?
[20:50:53] <alex_joni> LH_school: it will in the 2.1 build-dep
[20:50:56] <LH_school> owhite: well today's your lucky day
[20:51:00] <LH_school> alex_joni: oh, ok :D
[20:51:25] <owhite> *looking* you want me to do the sudo apt-get?
[20:51:33] <alex_joni> owhite: it would be best
[20:51:42] <alex_joni> then you won't come later screaming something isn't there :D
[20:51:45] <owhite> okay. how about the sudo make setuid?
[20:51:54] <alex_joni> do the apt-get first
[20:51:58] <alex_joni> then re-run configure ;)
[20:52:00] <alex_joni> then make
[20:52:03] <owhite> *watches compiler, thinks he's staring into the eye of god*
[20:52:04] <alex_joni> then sudo make setuid
[20:52:14] <alex_joni> owhite: you can abort with ctrl-C
[20:52:29] <owhite> oh you want me to abort the make?
[20:52:40] <alex_joni> owhite: unless you really like it :)
[20:53:02] <owhite> too late! all done :-)
[20:53:17] <owhite> *does the long apt-get*
[20:54:56] <alex_joni> sudp apt-get install python2.4-numarray python2.4-imaging python2.4-imaging-tk bwidget python2.4-tk
[20:55:32] <owhite> sudo apt-get the-13th-century-literature-base
[20:56:04] <alex_joni> shush or you'll get more :D
[20:56:36] <owhite> *observes his cat climbing on 8 foot high shelf to get bag of cat food*
[20:57:05] <owhite> little Helix is precariously positioned to fall on my wife's glass-blowing bench*
[20:57:22] <owhite> s/\*/./
[20:58:36] <owhite> alex_joni: its freezing here. how cold is it in romania?
[20:59:01] <alex_joni> pretty cold
[20:59:08] <alex_joni> about -2..-5
[20:59:15] <alex_joni> centigrade ;)
[20:59:17] <owhite> yipe. okay. everything is intstalled.
[20:59:24] <owhite> run make again?
[20:59:28] <alex_joni> configure --enable-run-in-place
[20:59:36] <alex_joni> then make && sudo make setuid
[20:59:39] <owhite> *configures*
[21:02:34] <owhite> okay! have run make setuid
[21:02:49] <alex_joni> cd ~/emc2-head/
[21:02:52] <alex_joni> scripts/emc
[21:03:31] <owhite> *runs emc*
[21:03:37] <owhite> *inspects results*
[21:03:56] <alex_joni> remember to use an emc2-head/configs/ config
[21:04:02] <owhite> HA! I have keystick now.
[21:04:04] <alex_joni> don't mix configs.. it won't work
[21:06:45] <owhite> well runtests worked, halrun seemed like it worked. this is amazing.
[21:07:16] <alex_joni> told you it's 20 minutes or less :)
[21:07:53] <owhite> I really have to say it is pretty freaking amazing how well the whole code-base is put together.
[21:07:58] <owhite> ...thanks much for your help.
[21:08:00] <alex_joni> np
[21:08:09] <alex_joni> you need to thank jepler for the build system
[21:08:10] <anonimasu> iab
[21:08:14] <owhite> is that np, or np-hard? *rim shot*
[21:08:21] <alex_joni> np-complete
[21:08:22] <alex_joni> :D
[21:08:58] <owhite> okay. if a young lad were to try to get halui going, how would he do that?
[21:09:09] <alex_joni> run the halui_halvcp config
[21:12:32] <owhite> o god it worked.
[21:13:04] <owhite> you guys have to understand the last time I tried to work with emc it took me two months just to compile a rtai kernal.
[21:13:16] <owhite> <-- happy for the little things.
[21:16:13] <LH_school> 'night people
[21:16:49] <LH_school> 'night alex
[21:16:57] <alex_joni_> night LH
[21:17:20] <alex_joni_> fscking power outage
[21:18:24] <alex_joni_> lost some routes
[21:18:28] <alex_joni_> owhite: all good?
[21:18:36] <owhite> alex: too good.
[21:18:58] <owhite> I am experiencing an unbearable lightness of being having to do with the fact that nothing went ungood.
[21:19:07] <alex_joni_> heh
[21:19:19] <A-L-P-H-A> ungood?
[21:19:23] <alex_joni_> * alex_joni_ wonders if his split personality will disappear
[21:19:34] <A-L-P-H-A> ghost him
[21:19:38] <owhite> so what is hal_vcp?
[21:19:48] <A-L-P-H-A> VCP = very cool pooh
[21:19:52] <owhite> like an incarnation of halui
[21:19:54] <owhite> ?
[21:19:59] <alex_joni_> virtual control panel
[21:20:05] <owhite> hm.
[21:20:15] <alex_joni_> it's another gismo that allows you to emulate some virtual hal knobs and switches
[21:20:20] <alex_joni_> mostly for testing and such
[21:21:48] <owhite> so launching halui config in that directory gave me a hului and tkemc -- where's the vcp come in?
[21:22:04] <alex_joni_> you wouldn't see anything of halui
[21:22:15] <alex_joni_> halvcp links to halui 1:1 so you can do something with halui
[21:22:27] <alex_joni_> the screen you're seeing is halvcp, halui is running in the background
[21:23:30] <owhite> *looking at files* crazy.
[21:24:57] <owhite> is there an example of anything that invokes hal_joystick?
[21:25:15] <alex_joni_> don't think so
[21:25:35] <alex_joni_> jmkasunich here did something with it iirc (he's the one who wrote it btw:)
[21:27:32] <owhite> *works on getting hal_joystick to run, and see the results in halui*
[21:27:36] <owhite> ...or something.
[21:28:09] <alex_joni_> owhite: right, that shouldn't be too hard
[21:28:23] <alex_joni_> add a few leds to halui, then link them to the pins hal_joystick exported
[21:29:07] <alex_joni_> alex_joni_ is now known as alex_joni
[21:41:47] <jmkasunich> I think alex_joni meant to add the LEDs to halvcp, not halui
[21:41:56] <owhite> *nod*
[21:42:41] <alex_joni> sorry.. yeah, that's what I meant
[21:42:44] <owhite> so if hal_joystick does not document its pins. how do I find out what pins will be available? I am looking at hal_joystick.c, and it isnt obvious.
[21:43:01] <alex_joni> owhite: it exports pins based on the joystick driver it finds
[21:43:13] <alex_joni> pins for each buttons/axes it finds
[21:43:24] <owhite> hm.
[21:43:34] <jmkasunich> just load it and look
[21:43:39] <jmkasunich> there is also a man page
[21:43:41] <alex_joni> owhite: start emc, then run hal_joystick, then bin/halcmd show pin hal_joystick
[21:47:40] <owhite> when you say run emc....
[21:47:52] <alex_joni> cd ~/emc-head/
[21:47:55] <alex_joni> scripts/emc
[21:48:32] <owhite> yah and then that goofy screen comes up.
[21:48:48] <owhite> I could launch like axis or something.
[21:48:57] <jmkasunich> pick one of the sims
[21:48:59] <jmkasunich> like sim/axis
[21:49:18] <alex_joni> * alex_joni resents the remark about goofy
[21:49:19] <jmkasunich> if all you want to do is experiment with the joystick driver, you can also run HAL without emc
[21:49:29] <jmkasunich> scripts/realtime start
[21:49:38] <jmkasunich> bin/halcmd loadusr hal_joystick
[21:49:44] <jmkasunich> bin/halcmd show
[21:49:50] <jmkasunich> bin/halcmd unload all
[21:50:00] <jmkasunich> scripts/realtime stop
[21:50:03] <owhite> *tries jmk's thread*
[21:50:53] <owhite> bear with me, emc is doing something odd.
[21:51:32] <owhite> plus I'm not very bright....
[21:52:09] <owhite> RTAPI: ERROR: version mismatch 530 vs 529
[21:52:19] <alex_joni> you didn't type bin/
[21:52:29] <alex_joni> or you are in the wrong dir
[21:52:29] <jmkasunich> are you running a CVS checkout?
[21:52:39] <alex_joni> jmkasunich: I set him up with a cvs checkout
[21:52:50] <alex_joni> but I bet he wrote halcmd instead of bin/halcmd :)
[21:52:55] <jmkasunich> if so, you need to be in the top directory of that checkout, and use scripts/realtime, and bin/halcmd
[21:53:06] <jmkasunich> (run the realtime script and halcmd binary that are part of the checkout)
[21:53:17] <owhite> ./bin/halcmd loadusr hal_joystick
[21:53:17] <owhite> RTAPI: ERROR: version mismatch 530 vs 529
[21:53:33] <jmkasunich> try bin/hal_joystick
[21:53:38] <alex_joni> it's using the wrong hal_joystick
[21:53:50] <alex_joni> owhite: issue scripts/emc-environment
[21:55:03] <owhite> hey hey. halcmd show is, showing things.
[21:55:09] <jmkasunich> yay
[21:55:20] <alex_joni> nice
[21:55:30] <owhite> <-- is the luckiest guy in the world.
[21:55:41] <jmkasunich> now open another shell, cd to the same directory, and do "bin/halmeter &"
[21:55:55] <jmkasunich> then select on of the axis pins of the joystick
[21:55:55] <owhite> *does*
[21:56:08] <jmkasunich> you should be able to see the value change when you move the stick
[21:56:18] <jmkasunich> likewise with the button bits
[21:56:21] <alex_joni> there's no stick
[21:56:33] <alex_joni> it's a stickless joystick :D
[21:56:42] <alex_joni> it's a joy :D
[21:56:45] <jmkasunich> ok.... whatever you say
[21:56:51] <alex_joni> gamepad
[21:56:55] <owhite> hal_meter is showing a kind of non-useful screen.
[21:57:02] <jmkasunich> ?
[21:57:08] <alex_joni> there is a select button there
[21:57:08] <owhite> hang on.
[21:57:10] <alex_joni> push that
[21:59:14] <owhite> oh. so will hal_meter show changes in the states of the joystick pins?
[21:59:46] <alex_joni> yes
[21:59:58] <owhite> *assorted poking*
[22:01:47] <owhite> ohmygod ohmygod ohmygod.
[22:02:03] <jmkasunich> smoke out of the joystick?
[22:02:17] <owhite> its working.
[22:02:19] <alex_joni> out of his head more likely :D
[22:02:26] <alex_joni> owhite: congrats
[22:03:44] <owhite> *gets attacked by cats who want fed, his step daughter starts talking to him, and HE WANTS TO PLAY WITH HAL COMMAND*
[22:05:32] <owhite> this is cool. so, I am guessing that these pin names should get mapped to LEDs or something in halvcp and I can watch all of it work.
[22:06:12] <alex_joni> yup
[22:06:14] <owhite> and then wtfm.
[22:07:24] <owhite> now, users that have installed the default version of emc2 will not have access to hal_vcp -- right? so there'd be a pretty small customer base of people that could use it, right?
[22:07:47] <alex_joni> yeah, but in 1-2 months tops that changes radically :D
[22:07:59] <alex_joni> and it would be best if we include the docs with the package :)
[22:08:09] <alex_joni> *hint hint*
[22:08:13] <jmkasunich> emc-2.0 doesn't have hal_vcp, but 2.1 will
[22:08:17] <owhite> nonesense. then I never would have had a chance to meet all of you.
[22:08:18] <jmkasunich> vcp docs you mean>?
[22:08:25] <alex_joni> yeah
[22:08:41] <owhite> to be honest I would like to help with documentation. but I dont know if I coudl write it at a level you need.
[22:08:51] <alex_joni> I don't need it :P
[22:09:02] <alex_joni> other users might need it though ;)
[22:09:05] <owhite> oh fine YOU write it.
[22:09:12] <alex_joni> * alex_joni was kidding
[22:09:13] <owhite> o. I get it.
[22:09:33] <anonimasu> my pants just split in half.
[22:09:34] <anonimasu> * anonimasu sighs
[22:10:08] <alex_joni> ROFL
[22:10:11] <alex_joni> stop eating so much :D
[22:10:29] <anonimasu> it's the opposite..
[22:10:38] <anonimasu> im too mobile :/
[22:11:06] <owhite> are there examples of issuing halcmds like loaduser in .ini files?
[22:11:13] <alex_joni> in .hal files
[22:11:23] <owhite> ah. *looks*
[22:25:47] <A-L-P-H-A-2> you all smell funny, even through the interweb.
[22:26:53] <alex_joni> alex_joni has kicked A-L-P-H-A-2 from #emc
[22:27:09] <alex_joni> :P
[22:27:16] <A-L-P-H-A-2> especially you.
[22:27:19] <A-L-P-H-A-2> you smell like cat.
[22:27:24] <alex_joni> cat?
[22:27:24] <A-L-P-H-A-2> cat dodo
[22:27:34] <alex_joni> * alex_joni grins
[22:27:57] <A-L-P-H-A-2> I don't know why... I think cats are useless as pets, unless they're used a tool to kill rodents
[22:28:10] <alex_joni> never liked cats
[22:28:50] <A-L-P-H-A-2> I like some dogs.
[22:28:56] <A-L-P-H-A-2> some dogs are just too dumb.
[22:29:21] <A-L-P-H-A-2> my friend has a pair of dogs that are so obedient... they're awesome dogs
[22:29:29] <A-L-P-H-A-2> little dogs that don't listen, I just want to punt
[22:29:36] <anonimasu> that's soley the owner..
[22:29:40] <anonimasu> :)
[22:30:11] <A-L-P-H-A-2> another friend has a dog.
[22:30:22] <A-L-P-H-A-2> if the dog gets excitied, it starts to piss on the floor.
[22:30:26] <A-L-P-H-A-2> freak'n nasty
[22:30:42] <anonimasu> that's also a owner problem :)
[22:30:52] <A-L-P-H-A-2> I think that one is a genetic problem
[22:30:54] <alex_joni> yeah.. get a plug
[22:31:05] <anonimasu> 95% of the time atleast :)
[22:31:46] <mtedad> Q on cl, what is the section manager suppose to manage. I can fill the section display with rungs of logic, but can't get past that full display
[22:40:25] <A-L-P-H-A-2> guess no one knows
[22:46:12] <mtedad> let me rephrase. config set for 50 rungs.i place a 5 rungs in section display. cannot move down cannot move up. do not want another section--iwant to stay in main.
[22:46:48] <A-L-P-H-A-2> kootie person's here.
[22:47:24] <owhite> alex_joni: awake?
[22:48:10] <A-L-P-H-A-2> shheeesh... don't bug him while he's phapping.
[22:49:47] <alex_joni> owhite: a bit
[22:50:42] <owhite> halui exports pins. like halui.mist.on -- what file would I use to link that to something like joystick.0.button.0? there isnt a halui.hal file.
[22:51:10] <alex_joni> make one ;)
[22:51:17] <alex_joni> newsig foo bit
[22:51:24] <alex_joni> linksp foo halui.mist.on
[22:51:32] <alex_joni> linksp foo joystick.0.button.0
[22:51:57] <owhite> *scratches head*
[22:52:29] <owhite> okay, supposing I made one, where would it reside, where would it get called, in a .ini file?
[22:52:36] <alex_joni> right
[22:52:44] <alex_joni> it would reside in the same folder as the ini
[22:52:49] <alex_joni> and would get called from the ini
[22:53:26] <owhite> * modifies /configs/halui_halvcp/halui.ini*
[22:55:37] <mtedad> Q on cl?
[22:55:59] <alex_joni> mtedad: sorry.. can't say really :(
[22:58:46] <mtedad> any suggestions, this classicladder is becoming a classic puzzle.
[23:00:03] <alex_joni> mtedad: I really have no clue about that :(
[23:03:32] <mtedad> thanx the info from last night got me to this point. all my pins and signals are in place in the ili.files the inputs and outputs are tied to cl, i just need the ladder logic in the middle...get back with you.
[23:06:06] <owhite> it works. that's nice.
[23:06:29] <owhite> * owhite 's game controller turns on mist, now if he could only get it to turn off :-).
[23:06:33] <owhite> what is mist, anyway?
[23:06:41] <alex_joni> coolant
[23:06:44] <alex_joni> in spray form
[23:07:23] <owhite> alex_joni: so the other thing that was really nice about having key commands be detected by tkemc...
[23:07:51] <owhite> ...was that I could type "L" and it would make a call to a tk/tcl function.
[23:08:09] <owhite> do you reckon there is a way to tie a pin to a function call in code?
[23:08:36] <owhite> *wonders if alex's extensive knowledge of slang will include "reckon"*
[23:08:36] <alex_joni> I think so.. but I'm no tcl expert
[23:09:30] <alex_joni> search for bind() or similar
[23:09:48] <owhite> what was halui written in?
[23:09:53] <jmkasunich> owhite: connect another game controller button to halui.mist-off should do it I think? (turning mist back off again)
[23:10:12] <owhite> jmkasunich: yeah, that'll work.
[23:24:03] <owhite> what language was axis written in?
[23:24:13] <alex_joni> python
[23:24:19] <alex_joni> and tk
[23:24:27] <owhite> and a side order of c++
[23:34:36] <owhite> should I write Fred Proctor or Will Shackleford if I have a question about tkemc?
[23:36:25] <alex_joni> owhite: not really
[23:36:29] <alex_joni> rather ask in here
[23:36:39] <owhite> hm.
[23:36:42] <alex_joni> maybe if rayh is around
[23:37:20] <alex_joni> * alex_joni prepares his rubber boat
[23:37:30] <owhite> well, I'm wondering if there's a way to tie hal_pins to program flow in tkemc.
[23:37:44] <owhite> I think perhaps not. bind doesnt look like it.
[23:38:06] <alex_joni> no, you would rather have to do it in emcsh.cc
[23:38:12] <alex_joni> but I'd still do it in halui
[23:38:35] <alex_joni> * alex_joni kicks CIA-5
[23:38:35] <CIA-5> ow
[23:38:40] <alex_joni> lol
[23:38:58] <owhite> but for example I would like to get tkemc to load a file. I dont think I could do that through halui.
[23:39:00] <alex_joni> wth was that?
[23:39:20] <alex_joni> how would you tell it what file to load?
[23:39:38] <Jymmm> Haven't seen jacky in a while
[23:39:44] <alex_joni> he's been fishing
[23:39:57] <alex_joni> living in a hole
[23:40:03] <owhite> well the way I did it before was to specify a default file and path to tkemc via parameters specified in the .ini file.
[23:40:03] <Jymmm> Yeah, but not on a boat
[23:40:20] <alex_joni> * alex_joni kicks CIA-5 again
[23:40:29] <Jymmm> Hey can you concat mpg files?
[23:41:47] <owhite> then there's a call to things like set f [emc_ini "DEFAULT_PROGRAM" "DISPLAY"]
[23:41:54] <owhite> emc_ini passes variables.
[23:42:23] <owhite> no big deal. anyhow, then when I hit a certain key, it would make a function call, and load up that file.
[23:42:37] <alex_joni> the same file?
[23:42:43] <owhite> yah.
[23:42:45] <alex_joni> seems not really usefull :D
[23:42:52] <alex_joni> why not load it from the beginning?
[23:42:56] <owhite> well the use case is this....
[23:43:02] <alex_joni> then only use run/stop
[23:43:14] <owhite> ...keep tkemc running...
[23:43:21] <owhite> ...cut some metal..
[23:43:23] <alex_joni> [DISPLAY] DEFAULT_RUN_FILE = foo.ngc
[23:43:31] <alex_joni> you can restart a program after it stopped
[23:43:49] <owhite> ...didnt like that cut, make a .ngc file....reload.
[23:43:59] <owhite> reload helps a lot if you dont have to restart the program each time.
[23:44:13] <owhite> oh great. I killed him!
[23:44:37] <Jymmm> he'll be back, back connection @ home
[23:44:46] <owhite> *wave*
[23:44:54] <alex_joni_> pesky client
[23:44:58] <owhite> so. reload helps a lot if you dont have to restart the program each time.
[23:45:04] <Jymmm> alex_joni_: Lil vain aren't we? alex_jon@emc/board-of-directors/alexjoni
[23:45:13] <alex_joni_> Jymmm: ?
[23:45:26] <Jymmm> board-of-directors
[23:45:43] <alex_joni_> Jymmm: :P all the board members have that
[23:45:53] <Jymmm> Ok, alot vain
[23:46:22] <Jymmm> anyhow, go help owhite
[23:46:28] <alex_joni_> you're just jealous :P
[23:46:32] <Jymmm> hardly
[23:48:15] <owhite> alex_joni: any thoughts on how to trigger a reload of the .ngc file in tkemc by a hal_pin?
[23:48:31] <alex_joni_> why do you want to reload it?
[23:49:06] <owhite> well shutting the program down and restarting just takes time, its not very ergonmic. I load programs frequently.
[23:49:24] <alex_joni_> not shuttin emc down
[23:49:34] <alex_joni_> just stopping restarting the interpreted program
[23:49:35] <alex_joni_> the ngc
[23:49:58] <alex_joni_> owhite: start emc, run a program
[23:50:04] <alex_joni_> after it finished push run again
[23:50:09] <alex_joni_> it will start all over
[23:50:20] <alex_joni_> that should work with halui only
[23:50:50] <owhite> hm. *thinks* but I need to either tkemc or axis to be running.
[23:51:04] <alex_joni_> yes and no
[23:51:09] <owhite> you're saying restart tkemc or axis each time?
[23:51:12] <alex_joni_> no
[23:51:17] <alex_joni_> leave them running
[23:51:45] <alex_joni_> tkemc has a few buttons on the bottom, so does axis (on the menu)
[23:51:55] <alex_joni_> hit Run after a program finished, and it will run again
[23:52:15] <owhite> okay now I get the disconnect here.
[23:52:26] <owhite> I need to load a _new_ .ngc file.
[23:52:40] <alex_joni_> ok, that's a bit of a problem :)
[23:52:45] <owhite> what I do is call that new file the same thing every time.
[23:52:51] <owhite> ftp moves it over to the same spot.
[23:52:52] <alex_joni_> ahh.. ok
[23:53:02] <alex_joni_> axis has Ctrl-R reload for that
[23:53:37] <owhite> right. and I have it rigged in tkemc to reload if you type R.
[23:53:52] <alex_joni_> * alex_joni_ types R
[23:54:01] <alex_joni_> alex_joni_ is now known as alex_joni
[23:54:13] <owhite> but, they both involve function calls. I'm wondering if there is a way to link to a program flow to a hal_pin.
[23:54:31] <owhite> If I cant then I cant reload.
[23:54:38] <alex_joni> you'd need a hal2key
[23:54:45] <alex_joni> :D
[23:54:56] <owhite> * owhite contemplates killing alex a little.
[23:55:38] <alex_joni> hmm.. jymmm is flexing his muscles
[23:55:48] <Jymmm> owhite ok, NOW you can kill alex_joni
[23:56:05] <owhite> * owhite hopes operator status does not require deep knowledge of the HAL.
[23:56:17] <alex_joni> hal2op_status might help there too
[23:56:19] <Jymmm> owhite no, just he kill command
[23:56:21] <owhite> hal2irc
[23:56:38] <alex_joni> * alex_joni ponders adding some pins to Jymmm
[23:56:46] <alex_joni> Jymmm.0.reset-enable
[23:56:55] <owhite> halcmd killop /w alex_joni