Date: Thu, 6 Feb 1997 13:05:37 +0200 (IST) From: Eli Zaretskii To: Joe Wright cc: djgpp AT delorie DOT com Subject: Re: EOF In-Reply-To: <32F9042D.145D@exis.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Wed, 5 Feb 1997, Joe Wright wrote: > What key do I press to have getchar() return EOF? I have tried > everything I can think of, ^D, ^Z, ^X. Nothing seems to do it. ^Z it is, and it works for me. Can you post an example program where it doesn't?