#linuxcnc-devel | Logs for 2012-02-06

Back
[00:00:03] -!- jtr [jtr!~jtr@cpe-076-182-172-038.sc.res.rr.com] has joined #linuxcnc-devel
[00:00:18] -!- adb2 has quit [Remote host closed the connection]
[00:01:07] Tom_L is now known as Tom_itx
[00:03:29] -!- jtr has quit [Read error: Operation timed out]
[00:04:09] -!- theorbtwo has quit [Ping timeout: 240 seconds]
[00:04:16] theorb is now known as theorbtwo
[00:06:44] -!- cmorley has quit [Read error: Operation timed out]
[00:16:27] -!- cmorley [cmorley!~chris@S010688ae1d61f51a.no.shawcable.net] has joined #linuxcnc-devel
[00:16:47] -!- jtr [jtr!~jtr@cpe-076-182-172-038.sc.res.rr.com] has joined #linuxcnc-devel
[00:30:25] -!- jtr has quit [Read error: Operation timed out]
[00:32:51] -!- factor has quit [Read error: Connection reset by peer]
[00:34:08] -!- cmorley has quit [Ping timeout: 248 seconds]
[00:37:07] -!- cmorley [cmorley!~chris@S010688ae1d61f51a.no.shawcable.net] has joined #linuxcnc-devel
[00:44:01] -!- servos4ever has quit [Quit: ChatZilla 0.9.85 [SeaMonkey 2.0.11/20101206162726]]
[00:49:01] -!- GoSebGo [GoSebGo!~Seb@184.232.113.29] has joined #linuxcnc-devel
[00:49:44] -!- Loetmichel has quit [Ping timeout: 245 seconds]
[01:00:48] -!- cmorley has quit [Ping timeout: 272 seconds]
[01:41:17] -!- sumpfralle has quit [Ping timeout: 256 seconds]
[01:49:02] -!- rob_h has quit [Ping timeout: 252 seconds]
[01:49:59] -!- cmorley [cmorley!~chris@64.180.206.47] has joined #linuxcnc-devel
[01:51:03] -!- Connor has quit [Quit: Leaving.]
[02:03:35] -!- clytle374 [clytle374!~clytle374@75-105-212-57.cust.wildblue.net] has joined #linuxcnc-devel
[02:08:04] -!- sumpfralle1 has quit [Ping timeout: 245 seconds]
[02:08:12] -!- zlog has quit [Remote host closed the connection]
[02:08:15] -!- Tom_itx has quit []
[02:23:50] -!- ENG has quit [Quit: Bye Bye]
[02:51:33] -!- sumpfralle has quit [Read error: Connection reset by peer]
[02:55:49] -!- GoSebGo has quit [Ping timeout: 240 seconds]
[02:56:43] -!- cstop has quit [Quit: Leaving]
[02:59:06] -!- joe9 has quit [Quit: leaving]
[03:04:10] -!- mhaberler has quit [Quit: mhaberler]
[03:07:33] -!- sumpfralle has quit [Ping timeout: 252 seconds]
[03:32:08] -!- cmorley has quit [Ping timeout: 260 seconds]
[03:32:42] -!- jtr [jtr!~jtr@cpe-076-182-172-038.sc.res.rr.com] has joined #linuxcnc-devel
[03:37:43] -!- GoSebGo [GoSebGo!~Seb@184.232.113.29] has joined #linuxcnc-devel
[03:37:50] -!- GoSebGo has quit [Client Quit]
[03:38:03] -!- GoSebGo [GoSebGo!~Seb@184.232.113.29] has joined #linuxcnc-devel
[03:38:36] -!- Jim_ has quit [Quit: Leaving]
[03:45:15] -!- seb_kuzminsky [seb_kuzminsky!~seb@184-96-96-140.hlrn.qwest.net] has joined #linuxcnc-devel
[03:45:52] -!- cmorley [cmorley!~chris@64.180.206.47] has joined #linuxcnc-devel
[03:50:25] -!- BobGreen has quit [Quit: User pushed the X - because it's Xtra, baby]
[03:53:29] -!- elmo40 has quit [Quit: ciao]
[04:32:23] -!- clytle374 has quit [Quit: Leaving]
[04:50:53] -!- psha[work] [psha[work]!~psha@195.135.238.205] has joined #linuxcnc-devel
[05:33:44] -!- ve7it has quit [Remote host closed the connection]
[05:38:27] -!- skunkworks has quit [Ping timeout: 244 seconds]
[05:55:38] -!- factor has quit [Ping timeout: 240 seconds]
[06:04:41] -!- FinboySlick has quit [Quit: Leaving.]
[06:37:25] [n0b0dy] is now known as |n0b0dy|
[06:46:36] -!- WalterN has quit [Ping timeout: 272 seconds]
[07:45:09] -!- hackrat has quit [Ping timeout: 245 seconds]
[08:00:09] -!- packrat has quit [Ping timeout: 240 seconds]
[08:02:26] -!- mhaberler [mhaberler!~mhaberler@195.191.253.94] has joined #linuxcnc-devel
[08:18:21] -!- packrat has quit [Ping timeout: 252 seconds]
[08:18:34] -!- capricorn_one has quit [Remote host closed the connection]
[08:28:56] -!- maximilian_h [maximilian_h!~bonsai@109.235.229.77] has joined #linuxcnc-devel
[08:29:34] -!- hackrat has quit [Read error: Connection reset by peer]
[08:36:11] -!- packrat has quit [Ping timeout: 244 seconds]
[08:39:09] -!- Jymmm has quit [Ping timeout: 240 seconds]
[08:44:59] -!- iwoj has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
[09:21:13] Loetmichel_ is now known as Loetmichel
[09:29:24] -!- cmorley has quit [Ping timeout: 244 seconds]
[09:29:45] -!- packrat has quit [Ping timeout: 252 seconds]
[09:30:44] -!- Gast793 has quit [Quit: Bye Bye]
[09:30:49] -!- WalterN has quit [Ping timeout: 240 seconds]
[09:33:51] X704 is now known as WalterN
[09:46:01] -!- WalterN has quit [Disconnected by services]
[09:46:06] X704 is now known as WalterN
[09:50:44] -!- rob_h [rob_h!~rob_h@5ace709b.bb.sky.com] has joined #linuxcnc-devel
[09:50:51] -!- packrat has quit [Ping timeout: 252 seconds]
[09:53:08] -!- Valen has quit [Quit: Leaving.]
[10:16:58] -!- cmorley [cmorley!~chris@64.180.206.225] has joined #linuxcnc-devel
[10:35:02] -!- mhaberler has quit [Quit: mhaberler]
[10:44:13] -!- mhaberler [mhaberler!~mhaberler@195.191.253.94] has joined #linuxcnc-devel
[10:54:05] -!- jonnyATroot has quit [Ping timeout: 252 seconds]
[11:15:24] -!- elmo40 has quit [Read error: Operation timed out]
[11:31:40] -!- maximilian_h has quit [Quit: Leaving.]
[11:33:12] -!- Connor has quit [*.net *.split]
[11:33:13] -!- The_Ball has quit [*.net *.split]
[11:39:03] -!- maximilian_h [maximilian_h!~bonsai@109.235.229.77] has joined #linuxcnc-devel
[11:40:12] -!- maximilian_h has quit [Client Quit]
[11:41:31] -!- maximilian_h [maximilian_h!~bonsai@109.235.229.77] has joined #linuxcnc-devel
[11:46:03] -!- maximilian_h has quit [Client Quit]
[12:15:09] -!- maximilian_h [maximilian_h!~bonsai@109.235.229.77] has joined #linuxcnc-devel
[12:34:58] -!- mhaberler has quit [Quit: mhaberler]
[12:43:19] -!- factor has quit [Read error: Connection reset by peer]
[12:50:45] -!- psha[work] has quit [Quit: Lost terminal]
[13:02:09] -!- WalterN has quit [Ping timeout: 272 seconds]
[13:25:57] -!- mhaberler [mhaberler!~mhaberler@195.191.253.94] has joined #linuxcnc-devel
[13:45:27] -!- mhaberler has quit [Quit: mhaberler]
[13:48:10] -!- dgarr [dgarr!~dgarrett@adsl-75-61-74-108.dsl.pltn13.sbcglobal.net] has joined #linuxcnc-devel
[13:49:38] <dgarr> jepler: thanks for working on TildeExpansion, another instance: http://www.panix.com/~dgarrett/stuff/0001-linuxcnc.in-support-tilde-expansion.patch
[13:53:10] <jepler> I believe that's going to do a lot more than tilde expansion. Is this OK?
[13:53:14] <jepler> $ set -- '$(echo pwn >& 2)..'
[13:53:16] <jepler> $ X=$(eval echo "$1")
[13:53:19] <jepler> pwn
[13:53:53] <jepler> would it be better to add $INIFILE -tildeexpand ...? at least it wouldn't have this problem.
[13:54:20] <jepler> and it makes the rules the same for all places it's used
[13:56:00] <dgarr> as usual, your case is beyond my understanding
[13:56:53] <jepler> CFGFILE is coming from the inifile. If it has a value like HALFILE = `run some unix command` it will run some unix command
[13:57:06] <jepler> at the site where you $(eval echo) it
[13:57:50] <jepler> hm, and the shell which calls the linuxcnc script should do tilde expansion on the commandline arguments, so it shouldn't be necessary to expand ~ in $1
[13:59:03] <dgarr> if its in quotes to protect blanks maybe
[13:59:44] <jepler> in that case, you should write ~/"my config with spaces".
[14:02:12] <dgarr> maybe there could be a TildeExpansion() made available to halcmd_main.c
[14:03:26] <jepler> what would halcmd_main.c do with it? Performing tilde expansion on a commandline argument to try to find a hal file would be wrong, in my view
[14:03:27] <dgarr> i just thought it would be reasonable for ini files to have HALFILE=~/somedir/somefile.hal
[14:03:45] <jepler> ok, I think that goal is reasonable too
[14:03:56] <dgarr> but TildeExpansion is c++
[14:04:38] <jepler> hold on a second, let me whip up a patch to show you what I have in mind
[14:04:38] -!- The_Ball has quit [Ping timeout: 240 seconds]
[14:06:33] <jepler> I am thinking of changing the inivar command so that it can behave like this:
[14:06:36] <jepler> http://pastebin.com/uBLjLadt
[14:07:03] <jepler> that gets both 'it comes from the inifile' cases in linuxcnc.in
[14:09:51] <jepler> http://emergent.unpythonic.net/files/sandbox/tilde-for-runscript.patches.mbox.txt
[14:11:17] <jepler> you mentioned halcmd_main; this brings to mind halcmd source which will not expand a ~, and this may be a good enough reason to arrange for TildeExpansion to have "C" linkage
[14:14:26] <dgarr> your patch works fine for the cases i was testing
[14:15:35] -!- psha [psha!~psha@213.208.162.69] has joined #linuxcnc-devel
[14:16:08] <jepler> dgarr: great. I'll put it on master shortly then
[14:16:32] <jepler> I'm also looking at adding tilde expansion to halcmd source, in case that is on your mind
[14:16:39] <dgarr> thanks
[14:18:04] <dgarr> expansion in halcmd source sounds fine but i'm not understanding the use case yet when inivar supports tilde?
[14:18:36] <jepler> halcmd: source ~/whatever.hal
[14:19:05] <dgarr> ok, now i get it, yes that would be good
[14:22:11] <jepler> though I'm not entirely sure how best to proceed
[14:23:07] <jepler> to do the expansion in halcmd_source, to do it in halcmd.c's replace_vars, or what
[14:23:25] <jepler> I think it probably should be in replace_vars, but the tildeExpansion routine doesn't look like it'll be helpful
[14:25:05] <jepler> it shouldn't be in halcmd_source, because this should remin a way to invoke a tcl file that's in a directory called tilde: haltcl: hal source {~/stubborn.tcl}
[14:25:39] <jepler> (in tcl you have [file expanduser] and if you want it you're better off using it explicitly)
[14:26:20] <jepler> (er, what's it called? I know it exists..)
[14:26:58] <dgarr> file nativename?
[14:28:39] <jepler> hm, actually filenames starting with ~ seem to be transparently supported e.g., by [open]
[14:29:13] <jepler> which would point to it being more sane to do it in halcmd_source, in terms of conforming to the expectations of a haltcl user
[14:29:16] <jepler> bbiab
[14:41:03] -!- mhaberler [mhaberler!~mhaberler@195.191.253.94] has joined #linuxcnc-devel
[15:08:41] -!- mhaberler has quit [Quit: mhaberler]
[15:22:40] -!- mhaberler [mhaberler!~mhaberler@195.191.253.94] has joined #linuxcnc-devel
[15:47:52] -!- cevad has quit [Quit: Leaving]
[15:59:58] -!- erasmo [erasmo!~erasmo@77-254-228-245.adsl.inetia.pl] has joined #linuxcnc-devel
[16:17:04] -!- adb2 [adb2!~adb2@178-211-236-142.dhcp.voenergies.net] has joined #linuxcnc-devel
[16:29:18] -!- mhaberler has quit [Quit: mhaberler]
[16:46:16] <jepler> I just ran across python-xdg, which can do things like parse and edit .desktop files
[16:48:47] -!- ve7it [ve7it!~LawrenceG@S0106001c10b7770f.pk.shawcable.net] has joined #linuxcnc-devel
[16:59:30] -!- mhaberler [mhaberler!~mhaberler@195.191.253.94] has joined #linuxcnc-devel
[17:27:31] <jthornton> like desktop shortcuts?
[17:27:44] <psha> and menu items
[17:27:52] <jthornton> oh neat
[17:28:47] <jthornton> seems like it is all ready installed here
[17:35:14] -!- bjam28 has quit [Quit: Page closed]
[17:35:53] -!- kb8wmc [kb8wmc!~chatzilla@nat.mtp.cmsinter.net] has joined #linuxcnc-devel
[17:55:13] -!- sumpfralle has quit [Ping timeout: 244 seconds]
[17:58:07] -!- isssy has quit [Quit: Bye Bye]
[18:07:14] -!- skunkworks [skunkworks!~chatzilla@str-bb-cable-south2-static-6-425.dsl.airstreamcomm.net] has joined #linuxcnc-devel
[18:27:46] -!- dgarr has quit [Ping timeout: 244 seconds]
[18:53:24] -!- psha has quit [Quit: Lost terminal]
[19:00:29] -!- isssy has quit [Quit: Bye Bye]
[19:02:01] -!- Vq has quit [*.net *.split]
[19:02:02] -!- Farthen has quit [*.net *.split]
[19:02:02] -!- Spida has quit [*.net *.split]
[19:02:03] -!- alex_joni has quit [*.net *.split]
[19:02:15] -!- alex_joni [alex_joni!~alex_joni@emc/board-of-directors/alexjoni] has joined #linuxcnc-devel
[19:02:15] -!- mode/#linuxcnc-devel [+v alex_joni] by ChanServ
[19:07:40] -!- e-ndy [e-ndy!~jkastner@static-84-242-102-36.net.upcbroadband.cz] has joined #linuxcnc-devel
[19:09:30] -!- e-ndy has quit [Client Quit]
[19:10:51] -!- kb8wmc has quit [Quit: ChatZilla 0.9.88 [Firefox 10.0/20120130145648]]
[19:23:51] -!- adb2 has quit [Ping timeout: 255 seconds]
[19:39:21] -!- Tom_L has quit []
[19:40:46] -!- adb2 [adb2!~adb2@178-211-236-142.dhcp.voenergies.net] has joined #linuxcnc-devel
[19:51:17] -!- Vq has quit [Ping timeout: 248 seconds]
[19:52:38] -!- Spida has quit [Quit: leaving]
[20:02:29] -!- jtr has quit [Ping timeout: 245 seconds]
[20:02:29] -!- adb2 has quit [Ping timeout: 252 seconds]
[20:04:35] -!- jtr [jtr!~jtr@cpe-076-182-172-038.sc.res.rr.com] has joined #linuxcnc-devel
[20:07:37] -!- bootnecklad has quit [Quit: Leaving]
[20:13:21] <CIA-104> 03cmorley 07v2.5_branch * rc3b2d11a1ed9 10/ (2 files in 2 dirs): gladevcp -expose more display options to hal_gremlin
[20:13:23] <CIA-104> 03cmorley 07v2.5_branch * r58d338594455 10/src/emc/usr_intf/gremlin/gremlin.py: gladevcp - add abilty to clear the plot with a double click
[20:13:24] <CIA-104> 03cmorley 07v2.5_branch * rcedde9d8b7e4 10/lib/python/gladevcp/hal_gremlin.py: gladevcp -change default view to perspective (p)
[20:13:42] -!- adb2 [adb2!~adb2@178-211-236-142.dhcp.voenergies.net] has joined #linuxcnc-devel
[20:22:36] -!- adb2 has quit [Ping timeout: 265 seconds]
[20:25:37] -!- adb2 [adb2!~adb2@178-211-236-142.dhcp.voenergies.net] has joined #linuxcnc-devel
[20:28:28] <CIA-104> 03jepler 07master * r8744931efa91 10/src/libnml/inifile/inivar.cc: inivar: do tilde expansion on request
[20:28:30] <CIA-104> 03jepler 07master * r38e13790b27e 10/scripts/linuxcnc.in: runscript: these are paths, so tilde-expand them
[20:28:31] <CIA-104> 03jepler 07master * ra000f37cc9f0 10/src/ (Makefile libnml/inifile/inifile.h libnml/inifile/inifile.hh): inifile: split header into C and C++ API portions
[20:28:33] <CIA-104> 03jepler 07master * r78fb1746682f 10/src/hal/utils/ (halcmd.c halrmt.c): inifile: include C-api file as necessary
[20:28:34] <CIA-104> 03jepler 07master * r24583e9dc18c 10/src/libnml/inifile/ (inifile.cc inifile.h): inifile: Provide TildeExpansion with C linkage
[20:28:36] <CIA-104> 03jepler 07master * r9bae762f2486 10/src/hal/utils/halcmd.c: halcmd: change flow to ease cleanup
[20:28:38] <CIA-104> 03jepler 07master * re1c11f169d29 10/src/hal/utils/ (halcmd.c halcmd.h): halcmd: Introduce and use A_TILDE
[20:29:07] <jepler> halcmd: source ~/whatever.hal
[20:29:07] <jepler> Could not open hal file '/home/jepler/whatever.hal': No such file or directory
[20:29:22] <jepler> this seems to work. Tilde expansion is done on a few specific commands (load, source, loadusr)
[20:29:32] <jepler> the final commit discusses some of the potential problems I see, but I went ahead and pushed anyway
[20:55:07] -!- iwoj has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
[21:23:02] -!- Mjolinor has quit [Quit: Leaving]
[21:24:47] -!- Gromits has quit [Quit: ChatZilla 0.9.88 [Firefox 10.0/20120130145648]]
[21:27:25] -!- vladimirek [vladimirek!~vladimire@bband-dyn226.178-40-36.t-com.sk] has joined #linuxcnc-devel
[21:27:49] -!- isssy has quit [Quit: Bye Bye]
[21:30:11] -!- rob__H [rob__H!~rob_h@5ace7001.bb.sky.com] has joined #linuxcnc-devel
[21:31:01] -!- rob_h has quit [Ping timeout: 248 seconds]
[21:36:34] -!- jepler has quit [Quit: Reconnecting]
[21:36:46] -!- jepler [jepler!~jepler@emc/developer/pdpc.professional.jepler] has joined #linuxcnc-devel
[21:37:27] -!- syyl has quit [Ping timeout: 252 seconds]
[21:37:56] -!- bootnecklad_ has quit [Quit: Leaving]
[22:04:04] -!- mhaberler has quit [Quit: mhaberler]
[22:04:26] -!- FinboySlick has quit [Quit: Leaving.]
[22:11:56] -!- mhaberler [mhaberler!~mhaberler@195.191.253.94] has joined #linuxcnc-devel
[22:19:30] -!- Valen has quit [Client Quit]
[22:23:39] -!- erasmo has quit [Remote host closed the connection]
[22:24:55] -!- robh__ [robh__!~rob_h@5ace7001.bb.sky.com] has joined #linuxcnc-devel
[22:28:31] -!- rob__H has quit [Ping timeout: 256 seconds]
[22:39:43] -!- jonnyATroot has quit [Remote host closed the connection]
[22:43:22] -!- kb8wmc [kb8wmc!~chatzilla@207.241.137.116] has joined #linuxcnc-devel
[22:47:29] -!- Gromits has quit [Quit: ChatZilla 0.9.88 [Firefox 10.0/20120130145648]]
[23:00:03] -!- Jymmm has quit [Remote host closed the connection]
[23:15:14] -!- syyl_ has quit [Quit: Leaving]
[23:25:53] -!- Jymmm has quit [Remote host closed the connection]
[23:41:52] -!- Jymmm has quit [Remote host closed the connection]
[23:44:59] -!- Tom_itx has quit [Ping timeout: 272 seconds]
[23:54:50] -!- mhaberler has quit [Quit: mhaberler]
[23:56:51] -!- mhaberler [mhaberler!~mhaberler@195.191.253.94] has joined #linuxcnc-devel
[23:57:19] -!- mhaberler has quit [Client Quit]
[23:59:36] -!- zlog has quit [Remote host closed the connection]
[23:59:42] -!- Tom_itx has quit [Client Quit]