Xref: utzoo comp.unix.questions:24208 comp.unix.wizards:23209 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!bionet!ames!amdcad!sun!jasonf From: jasonf@cetemp.Eng.Sun.COM (Jason Freund) Newsgroups: comp.unix.questions,comp.unix.wizards Subject: Interfacing C and UNIX in SunView? Keywords: C UNIX SUNVIEW Message-ID: <139856@sun.Eng.Sun.COM> Date: 31 Jul 90 16:21:02 GMT Sender: news@sun.Eng.Sun.COM Lines: 16 I'm writing a C program in the SunView 4.0 environment. My program will, eventually, open up in its own window (using a SunView function) and do some stuff (like manipulate files). I want my C program to be able to to execute simple UNIX command sequences from inside its SunView window to make my programming job much easier -- like "lpr - ", "rm ", etc. so that I don't have to write equivalents in C. Speed is not a factor, but the fact that the program uses the shell (or it opens a new window and uses its shell) should be hidden as much as possible. Is this possible? Or should I look into file manipulation in the SunView programmers guide? Is interfacing C and UNIX independant of the environment (SunView) I work in? Thanks, Jason Freund