linuxcncrsh (emcrsh.cc) has had little maintenance
except for updates for joints_axes and those have
not (intentionally) altered file opening.

I did some experimenting using a run-in-place (RIP)
build of the master branch at commit:
  a7aeaa6 Tue Aug 29 09:25:23 2017 -0700

Procedure:
  I use axis gui for its display/dro but issue
  commands from linuxcncrsh.
  This is a convenient method to see errors that
  help illustrate what needs to be done.

I use simple .ngc files like:
$ cat /tmp/a.ngc
(debug, AAAAAAA)
m2

1) in terminal (ONE):
   $ source $GIT_ROOT_DIR/scripts/.rip-environment
   $ linuxcnc $GIT_ROOT_DIR/configs/sim/axis/axis.ini &

2) in a separate terminal (TWO):
   $ source $GIT_ROOT_DIR/scripts/.rip-environment
   $ linuxcncrsh

3) in a third terminal (THREE):
The files /tmp/a.ngc,/tmp/b.ngc,c.ngc ran as expected
with the following sequence.

Session transcript follows:
$ telnet localhost 5007
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
hello EMC me 1
HELLO ACK EMCNETSVR 1.1
set enable EMCTOO
set enable EMCTOO
set verbose on
set verbose on
SET VERBOSE ACK
set estop off
set estop off
SET ESTOP ACK
set machine on
set machine on
SET MACHINE ACK
set home -1
set home -1
SET HOME ACK
set mode auto
set mode auto <----------- reqd
SET MODE ACK
set open /tmp/a.ngc <----- full pathname
set open /tmp/a.ngc
SET OPEN ACK
set run 0
set run 0
SET RUN ACK
set open /tmp/b.ngc <----- full pathname
set open /tmp/b.ngc
SET OPEN ACK
set run 0
set run 0
SET RUN ACK
set open c.ngc <---------- relative (to ini dir) pathname
set open c.ngc
SET OPEN ACK
set run 0
set run 0
SET RUN ACK

-- 
Dewey Garrett


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to