Date: Tue, 27 Jun 1995 15:03:44 +0300 From: eliz AT is DOT elta DOT co DOT il (Eli Zaretskii) To: kenny AT Freak DOT ORG Subject: Re: read()? Cc: djgpp AT sun DOT soe DOT clarkson DOT edu > while ((count = read(0, buffer, sizeof(buffer))) > 0) { You are reading from handle 0, which is standard input, probably the keyboard. If you don't type anything, this indeed *should* hang until such time as you type sizeof(buffer) characters. Could this be the problem?