-
raynovich
Hey @ddw_music,
Please, please, please. I am not criticizing you. I honestly am just trying to understand. Sincerely and respectfully.You have honestly helped out a great deal. Seriously. I was having to do somethings and changing my patches in ways that was rather disappointing to say the least or upsetting to be blunt. Your explanation and your persistence has helped me to understand better.
How can I make it up to you for helping out @ddw_music? I would gladly provide you compensation or some other way to make it up to you.
FYI, if the ofelia is opened or was opened, then the file cannot be made without the leading slash (I think I got my slash terminology reversed?) In fact to prove this to my self. I used mkdir and rm -r to create and delete a directory without the leading slash, then I opened up ofelia and it did not work. So, I assume ofelia rudely takes over shell or command or something else.
And you also provided a good point as well that I need a leading slash when going with an absolute path. Thank you.
I honestly did not know the nuances of of the slash usage which I understand a bit better now.
And thank you @old for the additional information. I think pd starts in the root directory, if I am understanding the terminology correctly.@old, thank you as well for the response!
-
raynovich
OK, I think I might be closer to a problem with this. I do not think I understand unix and the structure of the program well enough to understand how to rectify the problem I am having.
I get not using cd. Understood now. Thanks dd2_music.
Here is the problem I am running into.
I have a patch I am using when run by itself, the path way is (all of this is on a mac):
Let's say I have a folder that is called test2delete
user/name/Desktop/test2delete
I can use the unix command
mkdir user/name/Desktop/test2delete
and
rm -r user/name/Desktop/test2delete
to make and delete the directory.
Also, this works:
mkdir /user/name/Desktop/test2delete
and
rm -r /user/name/Desktop/test2delete
BOTH work.
Now, if I open ofelia or ofelia was an object in any file while pd was open during the session.
then ONLY the version that starts with a backslash works.
mkdir /user/name/Desktop/test2delete
and
rm -r /user/name/Desktop/test2delete
So part of my frustration as I read your initial help was that you did not include the '/' in you example:
I.e. not cd xxx/yyy/zzz && ls, but ls xxx/yyy/zzz. (See above)
Once I added the backslash to any of the desired actions the unix commands work. So, I can use ls, mkdir, rm, and such.
So, your example would have been /xxx/yyy/zzz
So, I think my question about ofelia still "somewhat" pertains. Perhaps you know the answer?
Why does ofelia make unix commands include a backslash before the beginning of the path?
Whereas if ofelia was never opened it does not need the backslash?
I hope that vindicates me a bit.
-
raynovich
THANK YOU SO MUCH FOR BEING PATIENT WITH ME!!!
I did not understand your initial post well enough. It was overwhelming. Sorry.
I am closer to making this work, I think.
-
raynovich
@ddw_music Oh, I think I now understand better. Let me try that.
I honestly did not understand your initial explanation well. You are a much better and experienced programmer than myself.
-
raynovich
Thanks for the response. I still think cd is not working in shell or command. I am trying to do the same actions in terminal as shell and command. But when I use ls, shell and command is "stuck" in the directory that was in.
This does not happen if ofelia was not opened, but once ofelia is opened, then cd does not work.
ofelia does seem to do something. AND ofelia changes things even if deleted from a patch.
Have you tried ofelia?
-
raynovich
Hey,
So, I have been using ofelia. I am having an issue now, though. Does ofelia "take over" the "command" and "shell" capabilities of the program and "freezes" the directory? It seems to.When I open up a file, then I cannot use unix command, cd ./newdirectory to go to a new directory.
Even if I close the program that "froze" the directory.
Also, if I close the pure data file that is running ofelia, ofelia still seems to be working in the background and I can no longer move to other directories. Help.
-
raynovich
Hey all,
I think I am understanding an issue that I do not know how to resolve.Does ofelia take over the "terminal" or some other function for Pure Data if created?
So, if I open up one file that uses ofelia. . . to show a score easily. Then shell and command do NOT allow me to move from directory to directory. And in fact, the directory that pure data is stuck on is the program that opened ofelia.
If I do not open ofelia, then I can seem to move from directory to directory. I can essentially use shell or command and use unix commands:
ls & cd to check the directory and move to a directory.
Help
-
raynovich
I might have figured out a problem I am running into with this.
So, does ofelia use terminal? If I open ofelia am I also going into a specific directory as well?
-