wiml@blake.acs.washington.edu (William Lewis) (12/24/89)
I'm looking for a set of routines that's vaguely like curses, except with a bit of handling for low baud rates (2400, 1200, 300...) Specifically, what I want is a refresh() function that will send output in the "background" (spawn another task for buffer-flushing) and if another refresh() is performed before the previous one has squeezed through the tty, will dump the previous output and start again (but keeping track of the modifications that have already been sent). Ideally, it would also let me prioritize areas on the screen so that when a new refresh() occurred, it would redraw high priority areas first and work its way down. An example: Say I have a program that puts a bunch of stuff up in the middle of the screen, then calls refresh(). So curses immediately starts redrawing the center of the screen. Now, the application makes some global change to the screen-center (pages the window, or something). The program I'm looking for would stop terminal output immediately, and start on the redraw again with the new info in mind. Curses as it already exists would first completely finish the first redraw, then immediately overwrite it with the second (except not so immediately at 1200 baud =8( ) Does anyone know of anything that matches this description? Hopefully it would be vaguely portable, but I'm looking for something that would run under 4.3BSD or Dynix. ad>thanks<vance -- wiml@blake.acs.washington.edu (206)526-5885 Seattle, Washington