On 11/24/2015 05:25 AM, Gene Heskett wrote: > On Tuesday 24 November 2015 00:21:15 Jon Elson wrote: > >> On 11/23/2015 10:23 PM, Gene Heskett wrote: >>> But can someone take a look at the screenshot attached, and tell me >>> how to get rid of the nuisance error its showing? Preferably for >>> good? >> Put an M02 at the end of your program? >> >> Jon > > EOF is EOF to me. Can it not be to LinuxCNC? As somebody else mentioned, some software may not process the last line of a file unless it ENDS with a line end character (not sure if default is LF or CR). I have seen this with other software. > > M2 does function nicely to stop execution at that point, I've used it to > step thru a program looking for an error many times. So it does have a > use, just not as an EOF marker. IMO of course. > > And, maybe, it is all because of the editor you use to create the G-code. Linux-c++ tries to adapt to the cr/lf format of the file, but may get it wrong in some cases. You can check the line end scheme in particular files with od -c <filename> | more
and see what exact hidden characters are there. Jon ------------------------------------------------------------------------------ Go from Idea to Many App Stores Faster with Intel(R) XDK Give your users amazing mobile app experiences with Intel(R) XDK. Use one codebase in this all-in-one HTML5 development environment. Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140 _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
