Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!apple!usc!elroy.jpl.nasa.gov!sdd.hp.com!ucsd!ucbvax!ccfiris.aedc!c60244 From: c60244@ccfiris.aedc (Kenny McDonald) Newsgroups: comp.sys.sgi Subject: FORMS Message-ID: <9101221927.AA22522@ccfiris.aedc> Date: 22 Jan 91 19:27:29 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 48 In a previous posting I was trying to get some info on FORMS & making system calls from within a c-prog. I have decided my problem is in gl. The following program, when run xeq's the rsh command, but no output shows up. #include main() { prefposition(100, 400, 500, 800); winopen("RED"); shademodel(FLAT); color(RED); clear(); color(7); cmov2i(60,200); charstr("This Window is RED"); system("rsh stokes ls -l"); sleep(5); } /* End of Main */ If I do not make any gl calls & simply do main() { system ("rsh stokes ls -l"); } I get the listing of the files on stokes. Why does this not work in the gl program? vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv | Kenneth M. McDonald * Arnold Engineering Development Center | | MS 100 * Arnold AFS, TN 37389-9998 * (615) 454-3413 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ OO AA OO O O A A O O O O AAAA O O O O A A O O OO A A OO _______________ / vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvRETURN ADDRESS:vvvvvvvvvvvvvvvvvvvvvvvvvvvv | @aedc-vax.af.mil:c60244@ccfiris.aedc | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^