Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Date: Sat, 31 May 2003 06:50:29 +0800 From: Greg Matheson To: cygwin AT cygwin DOT com Subject: Re: Should PERLIO=no_crlf be the default on Cygwin? Message-ID: <20030531065029.A27011@ms.chinmin.edu.tw> Mail-Followup-To: cygwin AT cygwin DOT com References: <001601c324fc$16d4f700$6500a8c0 AT ufo> <002901c32504$947701f0$78d96f83 AT pomello> <68785452711 DOT 20030530171948 AT familiehaase DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <68785452711.20030530171948@familiehaase.de>; from gp@familiehaase.de on Fri, May 30, 2003 at 17:19:48 +0200 On Fri, 30 May 2003, Gerrit P. Haase wrote: > Hallo Max, > >>> Since Cygwin runs on Windows and Windows is a DOS system the PERLIO > >>> layer crlf is default. > > Is there any way to tell perlio "just let the system (i.e. > > cygwin) handle things"? That would be a nice default. > I need to patch the sources to do this, but it is no major problem, > I'm already testing with the patched version and it seems to be the > best solution to make no_crlf the default for Cygwin, it is also no > problem then to pull it in everytime it is needed with PERLIO=crlf. It would be good to be able to use the 'open' pragma to do this, rather than an environmental variable. use open IN => ":crlf", OUT => ":bytes"; But it didn't seem to work. -- Greg Matheson Teaching: computer programming Dr Bean's Penpal Pool done by monkeys. Address: palpool --Dr Bean Domain: @cn91.chinmin.edu.tw -- 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/