*BSD News Article 57437


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!newsfeed.internetmci.com!news.mathworks.com!zombie.ncsc.mil!cs.umd.edu!mojo.eng.umd.edu!hecate.umd.edu!ed
From: ed@astro.umd.edu (Ed Schmahl)
Newsgroups: alt.unix.wizards,comp.unix.admin,comp.unix.advocacy,comp.unix.aix,comp.unix.bsd.misc,comp.unix.solaris,comp.unix.ultrix
Subject: A challenge
Date: 20 Dec 1995 18:34:39 GMT
Organization: Astronomy @ U. of MD, College Park
Lines: 27
Distribution: inet
Message-ID: <4b9kvv$ria@hecate.umd.edu>
References: <4b4q0l$pc3@news.inc.net> <4b5e2r$nma@shocker.mid.net>
NNTP-Posting-Host: helios.astro.umd.edu
To: alan@mid.net (Alan Hannan)
Originator: ed@helios.astro.umd.edu
Xref: euryale.cc.adfa.oz.au alt.unix.wizards:2458 comp.unix.admin:36254 comp.unix.advocacy:12433 comp.unix.aix:66944 comp.unix.bsd.misc:388 comp.unix.solaris:55054 comp.unix.ultrix:26555



Here's a question (possibly useful, possibly stupid) that none of the
Unix wizards I know have been able to answer.  Let's see if anyone on
the Net has any suggestions.

Say we've got a (gasp) Fortran program that outputs data to a file called
R:foobar.  The program compiles fine on VMS and DOS operating systems, but not
on Unix systems, which complains about the ":" as a directory tree separator.
The obvious (non wizardly) way to solve this is to modify the source code to 
sense the OS that it's being compiled under and change the ":" to a "/"
when it's compiled under Unix.  But is there a (wizardly) way
to force Unix, during run time, to accept R:foobar as if it was R/foobar?

Ed Schmahl

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    Department of Astronomy                  http://www.astro.umd.edu/~ed
    University of Maryland                               ed@astro.umd.edu
    College Park, MD 20742                                 (301) 405-1506
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

-- 
Edward J. Schmahl        |  Internet: ed@astro.umd.edu  (128.8.251.56)       
Lab for Astr & Solar Phys|  Gateway:  eschmahl@solar.stanford.edu    
Goddard Space Flt. Ctr.  |  SPAN:     CHAMP::SCHMAHL  (128.183.10.108)
Greenbelt, MD 20771      |  Voice:    (301) 286-5114