delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Message-ID: | <42682443.4040306@telesuite.com> |
Date: | Thu, 21 Apr 2005 18:08:03 -0400 |
From: | Jason Barnett <jason DOT barnett AT telesuite DOT com> |
User-Agent: | Mozilla Thunderbird 1.0.2 (Windows/20050317) |
MIME-Version: | 1.0 |
To: | Stephan Mueller <smueller AT exchange DOT microsoft DOT com> |
CC: | cygwin AT cygwin DOT com |
Subject: | Re: Newbie question: What is EOF for stdin? [SOLVED] |
References: | <23AA05B1B7171647BC38C5D761900EA401B6FD90 AT DF-SEADOG-MSG DOT exchange DOT corp DOT microsoft DOT com> |
In-Reply-To: | <23AA05B1B7171647BC38C5D761900EA401B6FD90@DF-SEADOG-MSG.exchange.corp.microsoft.com> |
X-OriginalArrivalTime: | 21 Apr 2005 22:08:19.0495 (UTC) FILETIME=[A02CD370:01C546BE] |
--------------enigABC4C3D59EB8BAB00BB8266E Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit That (^Z) did the trick perfectly. Thanks! Jason Stephan Mueller wrote: > Windows programs often like ^Z as EOF. > stephan(); > > > -----Original Message----- > From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On Behalf > Of Jason Barnett > Sent: Thursday, April 21, 2005 2:45 PM > To: cygwin AT cygwin DOT 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? > --------------enigABC4C3D59EB8BAB00BB8266E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (Cygwin) iD8DBQFCaCRKGK7BL3TShWoRAmM4AJ93BUcrUBTI+OcO6sMO+ex/EPUZXACghfe7 46qtoBJNx9Lz/VAdppdPbew= =Hgl3 -----END PGP SIGNATURE----- --------------enigABC4C3D59EB8BAB00BB8266E--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |