Path: utzoo!attcan!uunet!jtsv16!isdserv!t45126 From: t45126@iemisi.dhc (John Durko) Newsgroups: comp.unix.wizards Subject: Trapping SIGTSTP and then suspeding Message-ID: Date: 6 Oct 89 12:44:04 GMT Sender: news@isdserv.UUCP Distribution: comp Organization: Boeing Canada, Toronto Lines: 13 Can someone help me with a problem. I am trying to trap signal 18 (SIGTSTP) so that i can reset some terminal stuff before program is suspend by ^Z. The question is how to i actually suspend the program. I have tried saving the value returned from signal() and then calling it from my handler routine but the program core dumps with a segmentation fault. If anyone could give me some pointers i would appreciate it. By the way i'm using SunOS 4.0.3. -- ___ ___ ___ ___ _ _ ___ /__/ / / /__ / /\ / / _ Stephen Martin, Boeing Canada, Toronto. /__/ /__/ /__ _/_ / / /__/ Nuke the Raisins UUCP: smartin@iemisi.UUCP {uunet|suncan}!jtsv16!isdserv!iemisi!t45126