Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!evax!cchang From: cchang@evax.arl.utexas.edu (Cheng-yaw Chang) Newsgroups: comp.windows.x Subject: Help needed on Athena Widgets Message-ID: <1991Mar7.220840.29388@evax.arl.utexas.edu> Date: 7 Mar 91 22:08:40 GMT References: <9103071249.AA04100@ir.sei.cmu.edu> <9103071345.AA01667@expire.lcs.mit.edu> Organization: Computer Science Engineering Univ. of Texas at Arlington Lines: 16 I am new to the WCL which I recently received, and I am having problems debugging my program. One of the things that I am trying to do is run the Athena intepreter from another program and create text widgets. But I have to set my environemnt before I can create the widget. I can set my XENVIRONMENT to my resource file in my shell, but when I try to do that in my program by using the putenv(string) command, it gives me a segmentation fault. The machine I'm using is the Sun 3. If anyone has any information on how I can set my environment, your help is greatly needed and appreciated. Thanks Cheng-Yaw Chang