Date: Mon, 14 Apr 1997 12:21:39 +0300 (IDT) From: Eli Zaretskii To: Stefano Brozzi cc: djgpp AT delorie DOT com Subject: Re: JPEG OK, one more question In-Reply-To: <334E4608.4B88@mag00.cedi.unipr.it> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Fri, 11 Apr 1997, Stefano Brozzi wrote: > The programs generated work, but if run without arguments they locks up > the computer. > > They're expecting input from stdin, > isn't CTRL-C, CTRL-Break supposed to work ? It is. What happens if you press Ctrl-C when the program waits for input? Do you see ^C on the screen? If so, just press Ctrl-Z, or [Enter], and the program should be aborted. In fact, even plain Ctrl-Z (without Ctrl-C) should terminate the program (it serves as the End-of-file marker). > Even 'grep' if run without file specification locks up the dos box. > Am I missing something ? If the version of `grep' that you have cannot be terminated by Ctrl-C and/or Ctrl-Z, download the latest grep20b.zip from the DJGPP archives. An early port of `grep' had this problem, but it was corrected in the port of `grep' which comes with DJGPP v2.01 (dated 19-Oct-96 or thereabouts).