> > I thought I had bumped into a short example on the web for creating > > a window in C, but can't seem to find it again. > > Plan 9 programs don't create windows, they use the window already > allocated in their namespace. This is analogous to programs not > creating /fd/^(0 1 2) by themselves - they use the ones inherited > through fork.
that's not quite correct. by default plan 9 programs use the window they're in. but they can create a new window (e.g. page -w). > account and everything) -- does sam really do its own window > management -- I mean, it's got overlapping windows and everything so > that's non-trivial - or does it ask devdraw? I suppose an easy way to yes, samterm really does. > P.S. you might be interested to know that the "theoretical model" of > how Plan 9's window management works -- that rio serves a fake mouse, > keyboard, and screen to each of its children -- is wrong. rio serves it was correct for 8½. - erik
