Hello, In the pd doc, is said that we can create an alias for pd to avoid to type the complete path everytime we open a terminal window. It is also said to add the alias command line in the ~/.tcshrc file to keep track of the alias for further uses. Is that something to do with an alias.mine file ? How to create a such file ? I could not find the ~/.tcshrc. Thanks
Originally OS X doesn't include the .tcshrc file. You should create it as a plain text file with the following line:
alias pd /Applications/pd/bin/pd
of course if you pd lives in /Applications/pd/bin/
you can also add any kind of flag my .tcshrc looks like this:
alias pd /Applications/pd/bin/pd -rt -r 44100 -nomidi
besides the .tcshrc should be on your home directory and you won't be able to see it unless you use ls -a command (shows hidden files that start with a dot)
Hope this helps Ivan
On Thursday, Jan 30, 2003, at 13:49 Europe/Lisbon, Alex from Idoia wrote:
Hello, In the pd doc, is said that we can create an alias for pd to avoid to type the complete path everytime we open a terminal window. It is also said to add the alias command line in the ~/.tcshrc file to keep track of the alias for further uses. Is that something to do with an alias.mine file ? How to create a such file ? I could not find the ~/.tcshrc. Thanks
PD-list mailing list PD-list@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
Ivan Franco Ydreams Researcher www.ydreams.com
Alex from Idoia said this at Thu, 30 Jan 2003 13:49:52 +0000:
Hello, In the pd doc, is said that we can create an alias for pd to avoid to type the complete path everytime we open a terminal window. It is also said to add the alias command line in the ~/.tcshrc file to keep track of the alias for further uses. Is that something to do with an alias.mine file ? How to create a such file ? I could not find the ~/.tcshrc.
You can create such a file by opening the terminal, and typing:
pico ~/.tcshrc
and then once you are in the editor, by typing:
alias pd '/usr/local/pd/bin/pd' # and/or set path = ( "/usr/local/pd/bin" $path )
Close the file with Ctrl-x, answering the question with 'y', and accepting the filename with 'RETURN'. While you're at it, you can create a .pdrc file, by typing:
pico ~/.pdrc
and again, once in the editor, enter some useful stuff like:
-listdev -rt -guishadow -cordcolor -path ~/Library/pd -path /Library/pd -path /usr/local/pd/extra
Again close the file by keying Ctrl-x y RETURN.
You won't be able to see these files in the finder normally, nor will you be able to create them using a normal MacOSX GUI- driven app, since these are "hidden" files.
I hope that these instructions are clear enough to get you started. More information on these "dotfiles" (and a more complex but "correct" way of setting up this configuration) are available in the terminal by typing:
more /usr/share/tcsh/examples/README
Cheers, adam
Hi,
I'm still getting this when trying cvs update for the externals tree:
cvs server: Updating grill/flext/source P grill/flext/source/flatom.cpp cvs [update aborted]: cannot open flatom.cpp: Permission denied
It goes about updatinmost stuff, but halts on that note...has anyone else experienced this?
d
ecdc.dyndns.org/dc --)+
Hallo, david casal hat gesagt: // david casal wrote:
I'm still getting this when trying cvs update for the externals tree:
cvs server: Updating grill/flext/source P grill/flext/source/flatom.cpp cvs [update aborted]: cannot open flatom.cpp: Permission denied
It goes about updatinmost stuff, but halts on that note...has anyone else experienced this?
I checked now (deleted flatom, cvs update) and all went fine: I got a new one. Maybe the persmission on your side have gone wrong? What does "ls -l flatom.cpp" say?
Frank Barknecht _ ______footils.org__
On Thu, 30 Jan 2003, Frank Barknecht wrote:
Hey,
I checked now (deleted flatom, cvs update) and all went fine: I got a new one. Maybe the persmission on your side have gone wrong? What does "ls -l flatom.cpp" say?
Yup youare right, permissions error was my side, but it definitely'came' like that from previous cvs download...
cheers, d
ecdc.dyndns.org/dc --)+
lo again,
ok in grill/flext/source, ls -al gives:
<snip> drwsrwxr-x 5 dc staff 170 Jan 28 14:59 CVS ---------- 1 dc staff 2982 Jan 30 15:58 flatom.cpp -rwsrwxr-x 1 dc staff 1747 Dec 17 14:08 flatom_pr.cpp -rwsrwxr-x 1 dc staff 4242 Jan 30 15:58 flattr.cpp </snip>
a change to 'chmod 0755 flatom.cpp' significantly improves compilation... ;)
Thomas: is this a mistake?
d
ecdc.dyndns.org/dc --)+
Alex from Idoia wrote:
Hello, In the pd doc, is said that we can create an alias for pd to avoid to type the complete path everytime we open a terminal window. It is also said to add the alias command line in the ~/.tcshrc file to keep track of the alias for further uses. Is that something to do with an alias.mine file ? How to create a such file ? I could not find the ~/.tcshrc.
Alex, by default you will not see the files that start with a '.' on the Mac, they are considered "system" files and thus hidden from the user. If you want to see if it is really there or not, type 'ls .tcshrc' if you get the name of the file back, then it is there. If not, you will have to create one. It is just a text file, open your favorite editor and put (or add if it is there) the following inside...
alias pd /path/to/your/pd
Also, if you plan to run this in real time (with the -rt switch in pd), you will probably want to run it with 'sudo'. This will give you better performance, as pd will have root privledges. So, if you are doing this, you will have to create another alias for this:
alias rtpd sudo /path/to/your/pd
The reason you can't just run it as:
sudo pd
is because 'pd' is defined as an alias, and the commandline for 'sudo' won't expand this alias.
So, now when you want to run plain pd, just type 'pd' or if you want to run the root-enabled version, type 'rtpd'. Any additional options that you type on these commandline should also be passed to the program.
Hope this helps,
Mike
Thanks
PD-list mailing list PD-list@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list