Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!cernvax!chx400!sgzh!root From: root@sgzh.uucp (Bruno Pape) Newsgroups: comp.sys.sgi Subject: Setmonitor Message-ID: <1990Mar20.090310.4802@sgzh.uucp> Date: 20 Mar 90 09:03:10 GMT Reply-To: root@sgzh.UUCP (Bruno Pape) Organization: Silicon Graphics S.A., Zuerich, Switzerland Lines: 36 #include #include main() { short mtype; int ch; ginit(); mtype = HZ30_SG; setmonitor( mtype ); /* switch to 30 Hz */ sleep(5); mtype = HZ60; setmonitor( mtype ); /* switch back to normal */ } It compiles nicely, but upon execution I get an "invalid argument" error message from both "setmonitor" calls. Anyone run into this before?? Any ideas on why this desn't work?? Thanks, -John The ginit() should help it work better. Bruno