delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/14/05:34:19

Date: Mon, 14 Apr 1997 12:21:39 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Stefano Brozzi <brozzis AT mag00 DOT cedi DOT unipr DOT it>
cc: djgpp AT delorie DOT com
Subject: Re: JPEG OK, one more question
In-Reply-To: <334E4608.4B88@mag00.cedi.unipr.it>
Message-ID: <Pine.SUN.3.91.970414122119.9938Q-100000@is>
MIME-Version: 1.0

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).

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019