Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!bellcore!decvax!mcnc!akgua!gatech!seismo!harvard!talcott!panda!teddy!jpn From: jpn@teddy.UUCP Newsgroups: net.unix-wizards Subject: Re: UNIX Futures Message-ID: <2417@teddy.UUCP> Date: Thu, 3-Apr-86 08:34:33 EST Article-I.D.: teddy.2417 Posted: Thu Apr 3 08:34:33 1986 Date-Received: Wed, 9-Apr-86 07:18:15 EST References: <67@cstvax.UUCP> <2864@amdahl.UUCP> <137@myab.UUCP> <6534@utzoo.UUCP> <1524@wucs.UUCP> Reply-To: jpn@teddy.UUCP (John P. Nelson) Organization: GenRad, Inc., Concord, Mass. Lines: 12 > > > >A program cannot catch '^Z'. This implies that 'vi' doesn't redraw its > > > >screen. >A program can catch ^Z, by ``signal(SIGTSTP, stop_handler)''. >Further, the program can also catch the continue -- which lets it redraw the >screen or print a message or change its state or whatever. I have several >programs which do both. I sure wish people would read before flaming. The original article was talking about SHELL LAYERS "shl" which is a System V poor imitation of Berkeley job control. Under Shell Layers, a ^Z (or equivalent keystroke) passes the terminal input to a different program, but the program that was intercepted is not told, and is NOT EVEN STOPPED (output will continue).