delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/12/19/19:42:58

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
From: Daniel Noll <daniel AT nuix DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Running dovecot under Cygwin
Date: Thu, 20 Dec 2007 11:42:51 +1100
User-Agent: KMail/1.9.6 (enterprise 0.20070907.709405)
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>
In-Reply-To: <17393e3e0712191636p2e374429le8cf5eae2c9a2820@mail.gmail.com>
MIME-Version: 1.0
Message-Id: <200712201142.51782.daniel@nuix.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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 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.

Daniel

--
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