Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!samsung!umich!vela!srodawa From: srodawa@vela.acs.oakland.edu (Dr. Srodawa) Newsgroups: comp.unix.xenix Subject: Re: HELP! Keywords: CGI xenix Message-ID: <224@vela.acs.oakland.edu> Date: 5 Mar 90 05:08:06 GMT References: <1333@polari.UUCP> Reply-To: srodawa@vela.acs.oakland.edu (Dr. Srodawa) Organization: Oakland University, Rochester MI Lines: 18 In article <1333@polari.UUCP> corwin@polari.UUCP (Don Glover) writes: >I am trying to use CGI to do some graphics, and I have determined that >the document writer was either brain dead or a moron or both. It is >of zero help zilch. Can some one give me some kind of pointers on what >should work. wrote a small program that I can not even get to link, though >it looks like it should. The CGI distribution includes a sample program and make file. I put these up in a personal subdirectory and made the sample program and ran it. There are important environment variables you have to establish. I wrote my own programs by hacking them into the demo program. Among other things, the demo program sets up all kinds of signals to allow it to reset the terminal to text mode. Oh yes, learn from my mistakes and don't try to use a debugger on a CGI program on the main console. If you take a breakpoint while in graphics mode you are history! Rebooting is the easiest way back at that point.