Newbie question: What is EOF for stdin? [SOLVED]
Jason Barnett
jason.barnett@telesuite.com
Thu Apr 21 22:53:00 GMT 2005
That (^Z) did the trick perfectly. Thanks!
Jason
Stephan Mueller wrote:
> Windows programs often like ^Z as EOF.
> stephan();
>
>
> -----Original Message-----
> From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] On Behalf
> Of Jason Barnett
> Sent: Thursday, April 21, 2005 2:45 PM
> To: cygwin@cygwin.com
> Subject: Newbie question: What is EOF for stdin?
>
> First of all I apologize if this was answered somewhere else, but I
> didn't find it. I tried searching Google, the archives
> (http://sources.redhat.com/cgi-bin/htsearch?restrict=%2Fml%2Fcygwin%2F;e
> xclude=;config=htdig;method=boolean;format=builtin-long;sort=time;words=
> stdin%20AND%20%5ED%20OR%20EOF;page=5)
> and the user guide, but none of these had the answer.
>
> My question is (I think) simple: what is the shell key combination for
> EOF?
>
> I am running a program - CRM114 - that was compiled for Windows, but it
> is in my cygwin path (/usr/bin). This program expects me to type in
> some text and, when I'm ready for CRM114 to process it I am supposed to
> hit the EOF keyboard combination. I tried ^D (control D) but this
> didn't seem to work. Should ^D work? Is there something else I can try
> to use for EOF?
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 186 bytes
Desc: OpenPGP digital signature
URL: <http://cygwin.com/pipermail/cygwin/attachments/20050421/286c95a2/attachment.sig>
More information about the Cygwin
mailing list