Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!texbell!attctc!jolnet!gagme!greg From: greg@gagme.uucp (Gregory Gulik) Newsgroups: comp.unix.questions Subject: csh and signal handling... Keywords: csh trap onintr Message-ID: <53@gagme.uucp> Date: 17 Jan 90 06:01:10 GMT Reply-To: greg@gagme.UUCP (Gregory Gulik) Organization: GAGME - Public Access UNIX of Niles, Illinois, USA, Earth Lines: 21 I know that in the standard sh, I can tell it to perform certain functions upon the receipt of certain signals using the trap command. I was working on a script in csh on a Harris running some BSD-line OS and the closest I came to the trap was the onintr command, but according to TFMP it cancells ALL interrupts.. I don't want that. I just want to catch the intr and hup interrupts. Has anyone gotten around this? Why is it implemented in this way? I finally found something fairly major that sh can do that csh cannot!!! -greg -- Gregory A. Gulik greg@gagme.UUCP || ...!jolnet!gagme!greg || gulik@depaul.edu