delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/12/19/20:04:22

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Wed, 19 Dec 2007 20:04:01 -0500
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Running dovecot under Cygwin
Message-ID: <20071220010401.GB26296@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <fk5vte$br4$1 AT ger DOT gmane DOT org> <200712201109 DOT 43942 DOT daniel AT nuix DOT com> <17393e3e0712191636p2e374429le8cf5eae2c9a2820 AT mail DOT gmail DOT com> <200712201142 DOT 51782 DOT daniel AT nuix DOT com>
MIME-Version: 1.0
In-Reply-To: <200712201142.51782.daniel@nuix.com>
User-Agent: Mutt/1.5.16 (2007-06-09)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

On Thu, Dec 20, 2007 at 11:42:51AM +1100, Daniel Noll wrote:
>On Thursday 20 December 2007 11:36:08 Matt Wozniski wrote:
>> On Dec 19, 2007 7:09 PM, Daniel Noll wrote:
>> > On Wednesday 19 December 2007 08:18:37 Dave Korn wrote:
>> > > > Does Cygwin uses EOF of Windows?
>> > >
>> > >   No, Cygwin uses Ctrl-D for EOF like all POSIX.
>> >
>> > No, Cygwin uses whatever the user tells it to use during the install.
>>
>> No, you're confusing EOF with EOL.  Line endings can be either Ctrl-M
>> Ctrl-J or just Ctrl-J, depending upon your installation choice, but
>> end of file is always Ctrl-D, like all of POSIX.
>
>Ah, you're right.  I read it as EOL for some reason.
>
>But actually the Ctrl-D thing seems to be per-application.  I've noticed that 
>under Cygwin, if I run an MS-DOS application it still expects the DOS-style 
>EOF terminator.  Likewise if I run something like "cat" under cmd.exe, Ctrl-D 
>works.

If you are running a non-cygwin program then it uses whatever Windows uses.
If you are running a *Cygwin program* then it uses whatever Cygwin uses.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019