#ifndef lint
static char *RCSid = "$Header: /users/empire/EMP/client/RCS/handle.c,v 1.4 89/06/07 20:18:48 phil Exp $";
#endif /* not lint */

/*
 * handle.c
 *
 * interrupt handler now just sends a message
 *
 * Dave Pare, 1989
 */

int
handleintr(s)
	int	s;
{
	extern	int interrupt;

	if (interrupt) {
		/* tacky, but it works */
		if (write(s, "\naborted\n", 1+7+1) <= 0)
			return 0;
		interrupt = 0;
	}
	return 1;
}
