Date: Mon, 23 Oct 2000 09:11:50 -0500 (CDT)
Subject: getenv error
Full_Name: Dale Miller
OS: SunOS and Red Hat 6.2
Submission from: (NULL) (126.96.36.199)
I find the getenv predicate quite useful is customizing applications written
in teyjus for different people. It seems that when you give getenv the name of
a proper environment variable, it works fine. If you give it the name of a
variable that does not exist, the system aborts. It should probably fail
[dale@c976020-b Iris]$ tjsim
Welcome to Teyjus
Copyright (C) 1999 Gopalan Nadathur
Teyjus comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions. Please view the accompanying file
"COPYING" for more information.
[toplevel] ?- getenv "TJPATH" P.
Access to unmapped memory!
[dale@c976020-b Iris]$ tjsim -v