From: richard AT NOSPAMstardate DOT bc DOT ca (Richard Sanders) Newsgroups: comp.os.msdos.djgpp Subject: Re: Having problems with a simple C program on the djgpp platform in windos 95 using RHIDE Date: Tue, 28 Oct 1997 03:18:22 GMT Organization: Rapidnet Technologies Internet Lines: 10 Message-ID: <345558e5.17186544@207.102.150.4> References: <01bce33e$264a1cc0$a32285ce AT default> NNTP-Posting-Host: wlp08.rapidnet.net To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk On 28 Oct 1997 01:11:13 GMT, "Carlos Matos" wrote: [snip] ->The problem is that this program goes into and infinite loop because ->when pressed ->CTRL-D, s gets the value of \004 instead of the end-of-file (eof). If memory seves me. CTRL- Z is EOF.