# Here is the contents of my .login file that # is in my home directory in unix. # You can force the terminal program on the mac to use the csh shell rather than the bash shell # by changing that option in the preferences for the "Terminal" program. setenv PATH "/bin:/sbin:/usr/bin:/usr/sbin" setenv PATH ${PATH}:/usr/local/bin setenv ABSOFT /Applications/Absoft set path = (. $ABSOFT/bin $path) set path = (/Users/pat/bin $path) set prompt = "> " alias c clear alias cls clear alias l ls -aAF alias ll ls -alAF alias erase rm alias bye logout alias h history limit stacksize unlimited # This the the contents of my "ca" script I use to compile fortran code. # You will need to separate this code out. # Create a directory in your home directory called bin. "mkdir bin". # Program to compile fortran programs from the command line, # with my particular options built in. # $1 is the name of the fortran program (just the prefix, not the full name with .f attached.) # The executable file will be named $1. # Example: suppose I have a fortran program called SpecAve.f. # The call would be made as "ca SpecAve". To run the program I would type in "SpecAve". # You will have to put this program in your path. I use csh shell for Unix. My .csh file # contains the path informatio. I also create a directory called "bin" in my home directory. # That is where I place scripts like this. # The permissions on this file must be changed to include execution as an option. /usr/local/bin/gfortran -ffixed-form -ffixed-line-length-132 -o $1 $1.f