Jove bug

Eric Green elg at killer.UUCP
Sun May 8 18:29:15 AEST 1988


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 at 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?"



More information about the Comp.sources.bugs mailing list