Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site ur-cvsvax.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!rochester!ur-cvsvax!jss From: jss@ur-cvsvax.UUCP (Jon S. Stumpf) Newsgroups: net.sources.bugs Subject: remind(1) Message-ID: <205@ur-cvsvax.UUCP> Date: Mon, 22-Jul-85 17:21:33 EDT Article-I.D.: ur-cvsva.205 Posted: Mon Jul 22 17:21:33 1985 Date-Received: Thu, 25-Jul-85 02:23:29 EDT Distribution: net Organization: Center for Visual Science, U. of Rochester Lines: 23 I was having trouble with remind(1) which was posted with calend(1), et al. I had my terminal set with tostop (stty tostop). In order for remind(1) to work with tostop set, you have to ignore SIGTTOU. In the code, search for SIGTSTP. You will see signals being ignored. Here is how my remind.c looks: #ifdef SIGTSTP (void) signal(SIGTSTP, SIG_IGN); #endif #ifdef SIGTTOU (void) signal(SIGTTOU, SIG_IGN); #endif The problem was the process was getting SIGTTOU and quitting, leaving me at my terminal way past the time I needed to leave. While poking around, I found some rather unportable code. This has to do with the array, nv. It should be struct tm. But that is not a bug (yet). Jon S. Stumpf allegra!hostc1!cancun!jss