Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!decvax!decwrl!glacier!well!hoptoad!gnu From: gnu@hoptoad.UUCP Newsgroups: net.unix-wizards Subject: Re: job control, scheduling, and signals Message-ID: <726@hoptoad.uucp> Date: Tue, 22-Apr-86 03:36:28 EST Article-I.D.: hoptoad.726 Posted: Tue Apr 22 03:36:28 1986 Date-Received: Wed, 23-Apr-86 23:53:54 EST References: <1097@psivax.UUCP> <198@desint.UUCP> <897@umcp-cs.UUCP> <205@desint.UUCP> Organization: Nebula Consultants in San Francisco Lines: 28 In article <205@desint.UUCP>, geoff@desint.UUCP (Geoff Kuenning) writes: > In article <897@umcp-cs.UUCP> chris@maryland.UUCP (Chris Torek) writes: > > (It also seems to me desirable to allow processes to be marked as > > noncontextual. It is hardly worth restoring the full context of > > a `bc' session, especially at 1200 baud.) > > While I don't deny the pain of working at low baud rates (I had to dust > off my 300 modem the other day), I would hate to add another feature > to a system to handle a problem as obviously transient as this one... The obvious solution, rather than "marking" a process, is to let the process decide whether or not to repaint, and how much is worth redrawing. "Marking" a process as repaintable or not sounds suspiciously like the TopView "config" files that you need to build to tell it how brain damaged each application that runs under it is. Why not do it like everything else and hand the decisions off to the process itself, e.g. by a signal? (This also allows for novel decisions about repainting to be made by individual programs -- without modifying the job control code/shl program/kernel.) Sun used the same model when it came to window systems; if your window is resized or uncovered (or created in the first place), you get a signal, which you can ignore (most programs do), catch and notice the changed size (curses and such do this for you), catch and repaint (terminal emulators, Emacs, graphics programs that write to the bitmap, etc do). The decision is yours. -- John Gilmore {sun,ptsfa,lll-crg,ihnp4}!hoptoad!gnu jgilmore@lll-crg.arpa