Putting a curses program in the background then in the foreground

James Brister brister at td2cad.intel.com
Fri Sep 22 09:19:41 AEST 1989


My guess about this sort of required behaviour is this:

	i) the program catches the SIGTSTP signal. In the handler it reset the
	   terminal characteristics and then sends itself a SIGSTOP.

        ii) the program catches the SIGCONT signal. In the handler it does a
	   refresh of the necessary stuff and then continues.

There's probably a few minor :-) details in there that need to be added. Comments?

James
--
James Brister                                          brister at td2cad.intel.com
Intel Corp.                                      {decwrl,oliveb}!td2cad!brister



More information about the Comp.unix.questions mailing list