Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!brl-tgr!tgr!me%brandeis.csnet@csnet-relay.arpa From: me%brandeis.csnet@csnet-relay.arpa (Elias Israel) Newsgroups: net.sources Subject: Hack for Sys V Rel 2 Message-ID: <11499@brl-tgr.ARPA> Date: Thu, 11-Jul-85 12:39:19 EDT Article-I.D.: brl-tgr.11499 Posted: Thu Jul 11 12:39:19 1985 Date-Received: Sat, 13-Jul-85 11:00:12 EDT Sender: news@brl-tgr.ARPA Lines: 31 I seem to have ported hack over to SVR2 without much difficulty (all the real work is in hack.tty.c) but I have one final bug that I could use some help with. Perhaps someone else has already seen/fixed this: It seems that when hack gets interrupted (via ^C from the keyboard) the approriate routine gets called and you get the little message "Really Quit?" as you should. It even reads the next character (the "y" or "n") as the response for the question. The problem is that any subsequent reads (assuming that you answer "n") will fail and hack exits and prints the error message "End of Input?". I have looked at the code and can find no obvious reason for this (which doesn't mean the reason isn't obvious anyway, I'm still a little new to SysV, I'm really a BSD hacker) Does anyone have an idea about this bug? Elias Israel at Brandeis University ( me%brandeis.csnet@csnet-relay ) "That's Me!" -------------------------------- "I saw a spider hop across my desk and into my terminal just now" "That bad, huh?" "Yea, I'm goin' home. When the bugs start crawlin' around your office, I say its time to give up"