Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal
  • 0
EderV

How to copy programs into a floppydisk

Question

Hi,

I'm new in this mod. I'm trying to program robots but the editor it's very small and I prefer to develop my programs in a computer with the shedit editor.  I know that there is a way to copy the programs that I've deloped into a floppydisk and then copy that program from the floppydisk to my robot but I tried a few comands and I can't do that.

What comands should I use?

What tipe of floppydisk I need to use?

 

Thanks

Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0

Insert the floppy into a drive then in the Shell run ls /mnt to find your floppy. Let's say it was /mnt/5ae.

Run cp my_file /mnt/5ae/my_file

I may be rusty so if you need help on shell programs run the man program with the name of a program for usage instructions.

man cp

Link to post
Share on other sites
  • 0
27 minutes ago, Molinko said:

Insert the floppy into a drive then in the Shell run ls /mnt to find your floppy. Let's say it was /mnt/5ae.

Run cp my_file /mnt/5ae/my_file

I may be rusty so if you need help on shell programs run the man program with the name of a program for usage instructions.

man cp

I wrote this in my computer: (38d is my floppy I think, bcos I tried to run the ls comand whit the floppy and without it and 38d it's the number that appear and disappear)

/mnt # cp main.lua /38d/test.lua  (And the computer didn't show an error so okay)

 

Then I went to my robot with the floppy and I wrote this

/mnt # cp /38d/test.lua testfloppy.lua

 

And the robot said: No such file or directory

 

What am I doing wrong?

 

Link to post
Share on other sites
  • 1
  • Solution

I'm not sure exactly but the leading slash may be throwing you off..

Follow my instructions from your home dir so we can be sure to replicate what I just tested.

On source computer:

/home # cp ./main.lua /mnt/38d/test.lua

/home # ls /mnt/38d  #this is to check we're not crazy and the file has been copied to the floppy

On robot:

/home # cp /mnt/38d/test.lua ./main.lua

/home # ls . #list the current dir to check that we have copied our file successfully

 

Run man cp to get a better grip on what the cp command can do.

Link to post
Share on other sites
  • 0
22 minutes ago, Molinko said:

I'm not sure exactly but the leading slash may be throwing you off..

Follow my instructions from your home dir so we can be sure to replicate what I just tested.

On source computer:

/home # cp ./main.lua /mnt/38d/test.lua

/home # ls /mnt/38d  #this is to check we're not crazy and the file has been copied to the floppy

On robot:

/home # cp /mnt/38d/test.lua ./main.lua

/home # ls . #list the current dir to check that we have copied our file successfully

 

Run man cp to get a better grip on what the cp command can do.

Many thanks, now works :)

You will see me more in this forum haha

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.