[o-info] Q&A OS X map, pain_zone, true O web site

From: Phil Evans (pre@mrc-lmb.cam.ac.uk)
Date: Thu Oct 11 2001 - 04:14:28 CDT


Alwyn Jones writes:
 >  >OS X
 > unlike all other unix systems that i've used, a program that starts in OS X 
 > and prompts for a file, tries to open the file in the directory containing 
 > the  exec. i thought i got over this by using the environment variable PWD 
 > which points to the working directory. if the user plaves a / or . or ~ or 
 > some unix like character, i do not use PWD. i don't have a CNS map on my 
 > development system, so i might have a bug there


My solution to this problem is to start O with a script "ono" (which I
usually do anyway), which creates a link (ln -s) to the executable &
executes the link. This preserves the pwd to what you would think, ie
the starting directory

Does anyone know if this is a bug or a feature? Is it peculiar to the
Absoft Fortran compiler?

       Phil
_______________________________________________
o-info mailing list
o-info@o-info.imsb.au.dk
http://o-info.imsb.au.dk/mailman/listinfo/o-info



This archive was generated by hypermail 2b29 : Tue Mar 20 2007 - 03:13:30 CST