Re: [Emc-users] Possible bugreport needed?

2008-08-02 Thread Greg Michalski
Jeff - Thanks for the in depth reply - I'll leave my wording at "don't use 
spaces in the machine name".  I was smart enough to figure out thats what 
caused my problem but a rookie still apprehensive would likely give up at that 
point.  I actually understand what you explained - I must be getting my brain 
back into the thought processing I used to have it trained to do when I was 
writing QuickBasic programs as a kid.  When 2.3 comes out I'll have to install 
and revise my tutorial accordingly.

Must be nasty weather in other places - people are posting back quite a bit - 
that or I'm just popular! (I know - it has to be the former rather than the 
latter :-L )  Weather is nice here (right now) wish I was allowed to go jumping 
around but hey EMC2 gets my talents for a bit :)  I'd be in the garage 
machining myself if the doctor hadn't said no-no to that for at least 2 or 3 
days.
Greg
www.distinctperspectives.com

  - Original Message - 
  From: Jeff Epler 
  To: Enhanced Machine Controller (EMC) 
  Sent: Saturday, August 02, 2008 1:44 PM
  Subject: Re: [Emc-users] Possible bugreport needed?


  On Sat, Aug 02, 2008 at 12:43:44PM -0400, Stephen Wille Padnos wrote:
  > This bug has been fixed in TRUNK, so it will be in EMC2 2.3 for sure.
  > I'm not sure if it's an oversight or if there's a "good reason" why the 
  > fix hasn't been backported to the 2.2 branch.  If it's just an 
  > oversight, the fix will be in 2.2.6, which will be released before 2.3.

  Allowing spaces in configuration paths required a change to halcmd
  parsing that might break some working configurations.  For this reason,
  I have so far chosen not to put the fix in version 2.2.

  Basically, the emc runscript executes something like this:
  halcmd loadusr io -ini "$INIFILE"
  Let's say that infile is "/bad idea.ini".  "/bad idea.ini" goes to the
  'halcmd' program as a single positional argument, but halcmd then does a
  round of parsing and turns it into two arguments: "/bad" and "idea.ini".
  The change causes halcmd not do to this parsing, and thus avoid
  splitting the word again.

  However, this can affect valid halcmd invocations, because before this
  change you could write
  halcmd "loadusr and2 count=1"
  or
  halcmd loadusr and2 count=1
  in a shell script and get the same result.  After my change, the first
  command will be an error because "loadusr and2 count=1" (the whole thing
  taken as one argument) doesn't name a valid command.

  Jeff

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Possible bugreport needed?

2008-08-02 Thread Jeff Epler
On Sat, Aug 02, 2008 at 12:43:44PM -0400, Stephen Wille Padnos wrote:
> This bug has been fixed in TRUNK, so it will be in EMC2 2.3 for sure.
> I'm not sure if it's an oversight or if there's a "good reason" why the 
> fix hasn't been backported to the 2.2 branch.  If it's just an 
> oversight, the fix will be in 2.2.6, which will be released before 2.3.

Allowing spaces in configuration paths required a change to halcmd
parsing that might break some working configurations.  For this reason,
I have so far chosen not to put the fix in version 2.2.

Basically, the emc runscript executes something like this:
halcmd loadusr io -ini "$INIFILE"
Let's say that infile is "/bad idea.ini".  "/bad idea.ini" goes to the
'halcmd' program as a single positional argument, but halcmd then does a
round of parsing and turns it into two arguments: "/bad" and "idea.ini".
The change causes halcmd not do to this parsing, and thus avoid
splitting the word again.

However, this can affect valid halcmd invocations, because before this
change you could write
halcmd "loadusr and2 count=1"
or
halcmd loadusr and2 count=1
in a shell script and get the same result.  After my change, the first
command will be an error because "loadusr and2 count=1" (the whole thing
taken as one argument) doesn't name a valid command.

Jeff

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Possible bugreport needed?

2008-08-02 Thread John Thornton
Greg, 

Don't you just love the "facts" that some folks pull out of their hat... and 
dream up. I 
love the one "More people use  because" and they don't have a clue how many 
people use what...

ok time for  a nap

John

On 2 Aug 2008 at 13:04, Greg Michalski wrote:

> 
> No problem! When I see comments on the CNCZone forum like "...the
> hobbyist defacto standard..." I feel motivated to do something to sway
> the pendulum. More competition, open source or commercial doesn't
> matter, the constant advice to go buy a certain product without
> rational options is pointless.
> 
> I'll note the status of that in my tutorial. I should have a start to
> it to post tonight for a little bit of feedback.
> 
> Greg
> www.distinctperspectives.com


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Possible bugreport needed?

2008-08-02 Thread Greg Michalski
I usually do that myself since, if I recall correctly, back in the days of the 
TRS-80 and MS-DOS using spaces wasn't even allowed so I persoanlly don't but 
this tutorial is more tailored to people who are afraid of Linux.  Kinda 
bridging the divide.  Thanks for the reminder though!

Greg
www.distinctperspectives.com

  - Original Message - 
  From: Mark Wendt (Contractor) 
  To: Enhanced Machine Controller (EMC) 
  Sent: Saturday, August 02, 2008 1:08 PM
  Subject: Re: [Emc-users] Possible bugreport needed?


  Unix doesn't really like spaces in file or directory names to begin 
  with.  There are some work arounds built into the shells like bash 
  and tcsh, but as Steve mentions, it's probably not a good idea to use 
  spaces, especially if you are using one of the older shells like sh 
  or csh.  If you want to break up the monotony of long 
  filename/directories, in Unix an underscore works very well, like 
  My_Sieg_X3.ini.

  Mark

  At 12:43 PM 8/2/2008, you wrote:
  >This bug has been fixed in TRUNK, so it will be in EMC2 2.3 for sure.
  >I'm not sure if it's an oversight or if there's a "good reason" why the
  >fix hasn't been backported to the 2.2 branch.  If it's just an
  >oversight, the fix will be in 2.2.6, which will be released before 2.3.
  >
  >Until the fix is in a release, it's a good idea to not use spaces.
  >
  >Thanks for making a tutorial!
  >
  >- Steve
  >
  >Greg Michalski wrote:
  >
  > > I'm working on a basic graphic tutorial on my website to assist people
  > > with getting started in EMC2 which I'll then link to in the wiki.
  > > When I was making my generic setup using stepconf I used spaces in the
  > > name of the machine.  When I went to start EMC from the Applications
  > > menu I got the following error:
  > >
  > > .main.f1.f2.f3.tree selection set: Cannot select unknown node
  > > "{/home/cadmonkey/emc2/configs/My Sieg X3/My Sieg X3.ini}".
  > > .main.f1.f2.f3.tree selection set: Cannot select unknown node
  > > "{/home/cadmonkey/emc2/configs/My Sieg X3/My Sieg X3.ini}".
  > > while executing
  > > "Tree::selection .main.f1.f2.f3.tree set
  > > {{/home/cadmonkey/emc2/configs/My Sieg X3/My Sieg X3.ini}}"
  > > ("eval" body line 1)
  > > invoked from within
  > > "eval [linsert $args 0 Tree::$cmd .main.f1.f2.f3.tree]"
  > > (procedure ".main.f1.f2.f3.tree" line 1)
  > > invoked from within
  > > "$tree selection set $node"
  > > (procedure "node_clicked" line 7)
  > > invoked from within
  > > "node_clicked "
  > > (command bound to event)
  > >
  > > When I made a new configuration and just named it SiegX3 it opens it
  > > and creates the desktop launcher without issues.  Do I just advise
  > > people to not use spaces in the machine name or would this constitute
  > > something the developers need a bug report on?  It's rather mundane
  > > IMHO - 90% of the people this is geared to are probably going to just
  > > setup one or two machines so they'd name it *LATHE* or *MILL*.  What
  > > are your thoughts folks?
  > >
  > > If there's already a tutorial I apologize - I'm just trying to expand
  > > the options and hopefully expand our (EMC2's) user base.
  > >
  > > The best part of all this is that I just stumbled across an excellent
  > > motherboard for latency and performance - my current desktop (MSI
  > > 845PE based socket 478 2.5GHz P4) which is several years old and is
  > > due for a replacement/upgrade.  It's latency numbers at no load were
  > > in the 6000-7000 range - with 28 instances of GLXGEARS and some
  > > surfing while playing a song over and over and copying a 4gb video
  > > file back and forth on the HDD and over the wired network it only got
  > > up to 11,000 as opposed to my current P3 controller which hits 13000
  > > with no extra activity.
  > >
  > > Greg
  > > www.distinctperspectives.com <http://www.distinctperspectives.com>
  >
  >
  >-
  >This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
  >Build the coolest Linux based applications with Moblin SDK & win great prizes
  >Grand prize is a trip for two to an Open Source event anywhere in the world
  >http://moblin-contest.org/redirect.php?banner_id=100&url=/
  >___
  >Emc-users mailin

Re: [Emc-users] Possible bugreport needed?

2008-08-02 Thread John Thornton
Hi Greg,

Let us know when you get it up on your web site. 

I'd like to look at it for sure. 

John

On 2 Aug 2008 at 12:33, Greg Michalski wrote:

> 
> I'm working on a basic graphic tutorial on my website to assist people
> with getting started in EMC2 which I'll then link to in the wiki. 
>  
> Greg
> www.distinctperspectives.com
> 



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Possible bugreport needed?

2008-08-02 Thread Mark Wendt (Contractor)
Unix doesn't really like spaces in file or directory names to begin 
with.  There are some work arounds built into the shells like bash 
and tcsh, but as Steve mentions, it's probably not a good idea to use 
spaces, especially if you are using one of the older shells like sh 
or csh.  If you want to break up the monotony of long 
filename/directories, in Unix an underscore works very well, like 
My_Sieg_X3.ini.

Mark

At 12:43 PM 8/2/2008, you wrote:
>This bug has been fixed in TRUNK, so it will be in EMC2 2.3 for sure.
>I'm not sure if it's an oversight or if there's a "good reason" why the
>fix hasn't been backported to the 2.2 branch.  If it's just an
>oversight, the fix will be in 2.2.6, which will be released before 2.3.
>
>Until the fix is in a release, it's a good idea to not use spaces.
>
>Thanks for making a tutorial!
>
>- Steve
>
>Greg Michalski wrote:
>
> > I'm working on a basic graphic tutorial on my website to assist people
> > with getting started in EMC2 which I'll then link to in the wiki.
> > When I was making my generic setup using stepconf I used spaces in the
> > name of the machine.  When I went to start EMC from the Applications
> > menu I got the following error:
> >
> > .main.f1.f2.f3.tree selection set: Cannot select unknown node
> > "{/home/cadmonkey/emc2/configs/My Sieg X3/My Sieg X3.ini}".
> > .main.f1.f2.f3.tree selection set: Cannot select unknown node
> > "{/home/cadmonkey/emc2/configs/My Sieg X3/My Sieg X3.ini}".
> > while executing
> > "Tree::selection .main.f1.f2.f3.tree set
> > {{/home/cadmonkey/emc2/configs/My Sieg X3/My Sieg X3.ini}}"
> > ("eval" body line 1)
> > invoked from within
> > "eval [linsert $args 0 Tree::$cmd .main.f1.f2.f3.tree]"
> > (procedure ".main.f1.f2.f3.tree" line 1)
> > invoked from within
> > "$tree selection set $node"
> > (procedure "node_clicked" line 7)
> > invoked from within
> > "node_clicked "
> > (command bound to event)
> >
> > When I made a new configuration and just named it SiegX3 it opens it
> > and creates the desktop launcher without issues.  Do I just advise
> > people to not use spaces in the machine name or would this constitute
> > something the developers need a bug report on?  It's rather mundane
> > IMHO - 90% of the people this is geared to are probably going to just
> > setup one or two machines so they'd name it *LATHE* or *MILL*.  What
> > are your thoughts folks?
> >
> > If there's already a tutorial I apologize - I'm just trying to expand
> > the options and hopefully expand our (EMC2's) user base.
> >
> > The best part of all this is that I just stumbled across an excellent
> > motherboard for latency and performance - my current desktop (MSI
> > 845PE based socket 478 2.5GHz P4) which is several years old and is
> > due for a replacement/upgrade.  It's latency numbers at no load were
> > in the 6000-7000 range - with 28 instances of GLXGEARS and some
> > surfing while playing a song over and over and copying a 4gb video
> > file back and forth on the HDD and over the wired network it only got
> > up to 11,000 as opposed to my current P3 controller which hits 13000
> > with no extra activity.
> >
> > Greg
> > www.distinctperspectives.com 
>
>
>-
>This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>Build the coolest Linux based applications with Moblin SDK & win great prizes
>Grand prize is a trip for two to an Open Source event anywhere in the world
>http://moblin-contest.org/redirect.php?banner_id=100&url=/
>___
>Emc-users mailing list
>Emc-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/emc-users



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Possible bugreport needed?

2008-08-02 Thread Greg Michalski
No problem!  When I see comments on the CNCZone forum like "...the hobbyist 
defacto standard..." I feel motivated to do something to sway the pendulum.  
More competition, open source or commercial doesn't matter, the constant advice 
to go buy a certain product without rational options is pointless.

I'll note the status of that in my tutorial.  I should have a start to it to 
post tonight for a little bit of feedback.

Greg
www.distinctperspectives.com

  - Original Message - 
  From: Stephen Wille Padnos 
  To: Enhanced Machine Controller (EMC) 
  Sent: Saturday, August 02, 2008 12:43 PM
  Subject: Re: [Emc-users] Possible bugreport needed?


  This bug has been fixed in TRUNK, so it will be in EMC2 2.3 for sure.
  I'm not sure if it's an oversight or if there's a "good reason" why the 
  fix hasn't been backported to the 2.2 branch.  If it's just an 
  oversight, the fix will be in 2.2.6, which will be released before 2.3.

  Until the fix is in a release, it's a good idea to not use spaces.

  Thanks for making a tutorial!

  - Steve

  Greg Michalski wrote:

  > I'm working on a basic graphic tutorial on my website to assist people 
  > with getting started in EMC2 which I'll then link to in the wiki.  
  > When I was making my generic setup using stepconf I used spaces in the 
  > name of the machine.  When I went to start EMC from the Applications 
  > menu I got the following error:
  >
  > .main.f1.f2.f3.tree selection set: Cannot select unknown node
  > "{/home/cadmonkey/emc2/configs/My Sieg X3/My Sieg X3.ini}".
  > .main.f1.f2.f3.tree selection set: Cannot select unknown node
  > "{/home/cadmonkey/emc2/configs/My Sieg X3/My Sieg X3.ini}".
  > while executing
  > "Tree::selection .main.f1.f2.f3.tree set
  > {{/home/cadmonkey/emc2/configs/My Sieg X3/My Sieg X3.ini}}"
  > ("eval" body line 1)
  > invoked from within
  > "eval [linsert $args 0 Tree::$cmd .main.f1.f2.f3.tree]"
  > (procedure ".main.f1.f2.f3.tree" line 1)
  > invoked from within
  > "$tree selection set $node"
  > (procedure "node_clicked" line 7)
  > invoked from within
  > "node_clicked "
  > (command bound to event)
  >
  > When I made a new configuration and just named it SiegX3 it opens it 
  > and creates the desktop launcher without issues.  Do I just advise 
  > people to not use spaces in the machine name or would this constitute 
  > something the developers need a bug report on?  It's rather mundane 
  > IMHO - 90% of the people this is geared to are probably going to just 
  > setup one or two machines so they'd name it *LATHE* or *MILL*.  What 
  > are your thoughts folks?
  >  
  > If there's already a tutorial I apologize - I'm just trying to expand 
  > the options and hopefully expand our (EMC2's) user base.
  >  
  > The best part of all this is that I just stumbled across an excellent 
  > motherboard for latency and performance - my current desktop (MSI 
  > 845PE based socket 478 2.5GHz P4) which is several years old and is 
  > due for a replacement/upgrade.  It's latency numbers at no load were 
  > in the 6000-7000 range - with 28 instances of GLXGEARS and some 
  > surfing while playing a song over and over and copying a 4gb video 
  > file back and forth on the HDD and over the wired network it only got 
  > up to 11,000 as opposed to my current P3 controller which hits 13000 
  > with no extra activity.
  >  
  > Greg
  > www.distinctperspectives.com <http://www.distinctperspectives.com>


  -
  This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
  Build the coolest Linux based applications with Moblin SDK & win great prizes
  Grand prize is a trip for two to an Open Source event anywhere in the world
  http://moblin-contest.org/redirect.php?banner_id=100&url=/
  ___
  Emc-users mailing list
  Emc-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/emc-users


  No virus found in this incoming message.
  Checked by AVG - http://www.avg.com 
  Version: 8.0.138 / Virus Database: 270.5.10/1586 - Release Date: 8/1/2008 
6:59 PM


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Possible bugreport needed?

2008-08-02 Thread Stephen Wille Padnos
This bug has been fixed in TRUNK, so it will be in EMC2 2.3 for sure.
I'm not sure if it's an oversight or if there's a "good reason" why the 
fix hasn't been backported to the 2.2 branch.  If it's just an 
oversight, the fix will be in 2.2.6, which will be released before 2.3.

Until the fix is in a release, it's a good idea to not use spaces.

Thanks for making a tutorial!

- Steve

Greg Michalski wrote:

> I'm working on a basic graphic tutorial on my website to assist people 
> with getting started in EMC2 which I'll then link to in the wiki.  
> When I was making my generic setup using stepconf I used spaces in the 
> name of the machine.  When I went to start EMC from the Applications 
> menu I got the following error:
>
> .main.f1.f2.f3.tree selection set: Cannot select unknown node
> "{/home/cadmonkey/emc2/configs/My Sieg X3/My Sieg X3.ini}".
> .main.f1.f2.f3.tree selection set: Cannot select unknown node
> "{/home/cadmonkey/emc2/configs/My Sieg X3/My Sieg X3.ini}".
> while executing
> "Tree::selection .main.f1.f2.f3.tree set
> {{/home/cadmonkey/emc2/configs/My Sieg X3/My Sieg X3.ini}}"
> ("eval" body line 1)
> invoked from within
> "eval [linsert $args 0 Tree::$cmd .main.f1.f2.f3.tree]"
> (procedure ".main.f1.f2.f3.tree" line 1)
> invoked from within
> "$tree selection set $node"
> (procedure "node_clicked" line 7)
> invoked from within
> "node_clicked "
> (command bound to event)
>
> When I made a new configuration and just named it SiegX3 it opens it 
> and creates the desktop launcher without issues.  Do I just advise 
> people to not use spaces in the machine name or would this constitute 
> something the developers need a bug report on?  It's rather mundane 
> IMHO - 90% of the people this is geared to are probably going to just 
> setup one or two machines so they'd name it *LATHE* or *MILL*.  What 
> are your thoughts folks?
>  
> If there's already a tutorial I apologize - I'm just trying to expand 
> the options and hopefully expand our (EMC2's) user base.
>  
> The best part of all this is that I just stumbled across an excellent 
> motherboard for latency and performance - my current desktop (MSI 
> 845PE based socket 478 2.5GHz P4) which is several years old and is 
> due for a replacement/upgrade.  It's latency numbers at no load were 
> in the 6000-7000 range - with 28 instances of GLXGEARS and some 
> surfing while playing a song over and over and copying a 4gb video 
> file back and forth on the HDD and over the wired network it only got 
> up to 11,000 as opposed to my current P3 controller which hits 13000 
> with no extra activity.
>  
> Greg
> www.distinctperspectives.com 


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users