forkunix, forkwsh, and seqfork???
Dave Carek
eddc at opus.lerc.nasa.gov
Fri Oct 19 05:59:35 AEST 1990
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 at opus.lerc.nasa.gov |
|---------------------------------------------------------------------|
| Engineer -> An innovative imaginative scientist who must design the |
| improbable using the impossible on a budget that is invisible |
-----------------------------------------------------------------------
More information about the Comp.sys.sgi
mailing list