Re: Running the EMC program





Charles Hopkins wrote:

> How do I move programs in to the linux box and how do I open them once they
> are there?

Method 1:
You can put it on a floppy, and mount the floppy with a command like

mount /dev/fd0 /mnt/floppy -tMSDOS

which connects the floppy's file structure to Linux's file tree structure

You can then list the files with a command like

ls -l /dev/floppy

You could read the program directly off the floppy by typing /dev/floppy/xyz.cad

into wherever the particular GUI is asking for file name.

Or, you could copy the file from the floppy to the current directory you are
in with :
cp /dev/floppy/xyz.cad .

The "." tells Linux to make a new file in your current directory with the same
name as the original file.

Dismount the floppy with the command:
umount /dev/fd0
________________
Method 2:

I would suggest setting up a TCP/IP network.  I use thin-wire Ethernet,
because I know it, and have the stuff to make cables, etc.  Twisted-pair
Ethernet is now the technology of choice.  Don't be snowed by the
100 Mbit/sec transfer rates of newer Ethernet cards, 10 Mbit/Sec is
plenty good for this application, at least.  I can transmit a megabyte
(roughly a floppy's worth) in under 2 seconds!  Linux has all you need
for networking built in, FTP, FTPD, Telnet, etc.  On the Windows
side, part of what you need is built in, but in order to send as well
as receive, you need an FTP program.  If you want to send or
receive from the Linux machine TO the Windows machine, then you
need an FTPD program (File Transfer Protocol Daemon) to
handle the requests.  I've been using Absolute FTP and Smart FTPD,
trial versions are available for these on many of the software
archives.

With this method, I flip the switch on the Linux (EMC) machine so
it will be booted up when I need it, then go to the windows machine
and make the CAD drawing, toolpath files, etc.  When it is
ready, I use the FTP program to send it to the directory where I
put all these files.  Then, I go the the Linux machine, click on
open, and point the TkEMC file selection dialog to that same
directory and look for the file.  If you do this a lot, the network
will make things VASTLY easier.

Jon


>
> I can move files from my win95 box to a dos partition in the linux box.
>
> I can then move the program to the programs directory under EMC.
>
> I can open and run the program from emc, but I can not read the program name
> when I select "File Open".
> This requires me to know the file name and type it in the selection box.
>
> Is this the procedure?  There must be an easier way.
>
> Can some one tell me how to move files and run programs with out going
> through all these steps?
>
> I still have not figures out how to move a file to the win95 box from linux.
>
> I guess if I knew anything about linux I wouldn't have these problems.
>
> Help!
>
> Charles Hopkins




Date Index | Thread Index | Back to archive index | Back to Mailing List Page

Problems or questions? Contact