[Coco] OS-9 environment variables?
Allen Huffman
alsplace at pobox.com
Wed Apr 15 19:30:36 EDT 2009
On Apr 15, 2009, at 6:25 PM, Tim Fadden wrote:
> Ya, configuration file that define the ENVIRONMENT VARIABLES. ALL
> variables are initially read from a file on any os, and then either
> used, or become part of the shell environment. Once the initial read
> takes place, they can be manipulated in memory, and apply for that
> shell only. What variables are you talking about? Just what I
> described is exactly what Willard explained below.
I was talking about the variables set and read by setenv() and
getenv(), which are memory variables. But, an autoexec.bat/
startup/.login/etc can issue commands like "setenv TERM=vt100" on
startup to set initial values or create them.
> I went through the Tandy one, and setenv() and getenv() are not
> there, but they have to be written into the multivue program to some
> extent. It does read the /dd/sys/env.file when it starts. I'm not
> sure whether the changes made are written back to the env.file.
> Will have to test that.
Fun stuff!
-- Allen
More information about the Coco
mailing list