Newsgroups: comp.windows.x
Path: utzoo!utdoe!contact!egr
From: egr@contact.uucp (Gordan Palameta)
Subject: Interrupting an X program... how?
Organization: Contact Public Unix BBS. Toronto, Canada.
Date: Fri, 1 Mar 91 04:58:42 GMT
Message-ID: <1991Mar1.045842.21676@contact.uucp>

Here's a relatively simple question, I hope.

A traditional program under Unix can be interrupted by hitting Control-C
(or whatever other character defined by stty).

How do you send a signal to an X program?

Specifically, a program which goes off and does lengthy
calculations, and doesn't check for X events until the calculations
are complete.

Recasting this (existing) program to check for X events during the
aforesaid lengthy computations is not really an option (among other
things, the computations are in Fortran).  :-( 

So how can I arrange for the window manager or whatever to send a signal
to a program running in an X window?

Thanks in advance...........
