On 25 November 2011 21:55, andy pugh <bodge...@gmail.com> wrote:

> However, I just tried the command and got "X server insecure (must use
> xauth-style authorization); command ignored" so I am not sure if it
> works or not (this was in a VM, so might well be non-typical)

OK, just tried it on a real machine, and it worked fine.

So, in the directory referenced by PROGRAM_PREFIX in your INI file,
(probably home/emc2/nc_files) create a text file containing the
following lines.

#!/bin/sh
axis-remote --clear
exit 0

Then save that file with the filename "M101" (no suffix)
Then give that file "execute" properties (in the file browser,
right-click, properties, permissions flag, tick the "execute" tickbox)
You probably need to restart EMC2 if it is open.

Then, any time your Gcode contains M101, that file will be called, and
will clear the screen.
I checked it, and it worked.



-- 
atp
The idea that there is no such thing as objective truth is, quite simply, wrong.

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to