Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!wuarchive!ukma!usenet.ins.cwru.edu!eagle!news From: eddc@opus.lerc.nasa.gov (Dave Carek) Newsgroups: comp.sys.sgi Subject: Re: forkunix, forkwsh, and seqfork??? Message-ID: <1990Oct18.195935.24862@eagle.lerc.nasa.gov> Date: 18 Oct 90 19:59:35 GMT References: <2798@uc.msc.umn.edu> Reply-To: eddc@opus.UUCP (Dave Carek) Organization: NASA/Lewis Research Center, Cleveland Lines: 46 forkunix - forks a unix process (code already has necessary stuff to open window. seqfork - sequential fork of unix process (like forkunix but makes sure they are executed in order forkwsh - forks a window shell (same as typing wsh in an open window) Sample RestartActions in user.ps /RestartActions [ { RunConsole (-n C_Shell -r1000 -s40x80 -t"$USER on `hostname`") forkwsh (clock) forkunix (mailbox -S $USER) forkunix (ical) forkunix (gr_osview) forkunix (systemchest) seqfork (/usr/local/bin/hostchest) seqfork (/usr/local/bin/printchest) seqfork (windowchest) seqfork } ] store 1st forkwsh starts a wsh using the parameters specified in the ()'s The four foukunix lines, start the processes specified in the ()'s The four seqfork lines, start the processes specified in the ()'s in the order listed. For documentation you can look in the 4Sight Programmer's Guide. I found it more useful to play around in the 4Dgifts directory and learn by example. But .... I wouldn't waste too much time trying to learn this stuff, seeing as SGI say's they'll be moving to X. -- ----------------------------------------------------------------------- | David Carek | phone: 216-433-8396 | | NASA Lewis Research Center | | | Cleveland, Ohio 44135 | email: eddc@opus.lerc.nasa.gov | |---------------------------------------------------------------------| | Engineer -> An innovative imaginative scientist who must design the | | improbable using the impossible on a budget that is invisible | -----------------------------------------------------------------------