[Coco] OS-9 environment variables?
Gene Heskett
gene.heskett at verizon.net
Thu Apr 16 21:53:49 EDT 2009
On Thursday 16 April 2009, Willard Goosey wrote:
>On Wed, Apr 15, 2009 at 05:02:51PM -0500, Allen Huffman wrote:
>> WILLARD:
>> >getenv() and setenv() in the cgfx library read/write "environment
>> >variables" from /dd/sys/env.file
>>
>> Willard shoots and scores! I did not know CGFX had those calls, though
>> during my CoCO days, I have never heard of getenv() and setenv().
>> INTERESTING!
>>
>> Is that the stock Tandy version of CGFX, or the third party one?
>
>Someday I'll learn to check my facts before I open my mouth an insert
>my foot. :-(
>
>They're getenv() and putenv() in CGFX7. I've never actually used the
>original cgfx. ;-) I just assumed they were in the stock one.
>
>I've used getenv(). The docs say putenv() writes back to the file,
>but I haven't tried it.
>
>A cheer for Mike Sweet, who added all the stuff that should have been
>in CGFX in the first place!
Amen. I just wish Mike and I got along better.
>Willard
--
Cheers, Gene
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
A lie is an abomination unto the Lord and a very present help in time of
trouble.
-- Adlai Stevenson
More information about the Coco
mailing list