Path: utzoo!mnetor!uunet!husc6!mailrus!ames!killer!elg
From: elg@killer.UUCP (Eric Green)
Newsgroups: comp.sources.bugs
Subject: Jove bug
Message-ID: <4022@killer.UUCP>
Date: 8 May 88 08:29:15 GMT
Organization: The Unix(R) Connection, Dallas, Texas
Lines: 25

System: AT&T 3b2, running Sys V.3
Software: Jove 4.9, as recently posted to comp.unix.sources

symptoms: will not find files in the home directory, if currently
located in some other directory. This includes the .joverc file,
which is a real pain.

problem: The PWD environment variable is read to find out what
the current working directory is. Unfortunately, the version of csh
that I am using does not maintain the PWD environment variable. Since csh was
entered in my home directory, the PWD environment variable remains as such,
and the pr_name routine chops off the first part of the filename thinking
we're already in that directory.  

solution: find some other way of finding the current working directory, under
Sys V with non-standard shells. Or, remove the dir stack code from Jove --
which is likely to have rippling side effects that I shudder to think of. 

Problem: How CAN I find that directory, to replace the getenv("PWD") currently
used?  Or is it a lost cause with csh?

--
    Eric Lee Green  elg@usl.CSNET    Snail Mail P.O. Box 92191        
    ihnp4!killer!elg                 Lafayette, LA 70509              
"Is a dream a lie that don't come true, or is it something worse?"