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 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: <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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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/