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 Message-ID: <9B501B3774931C469BCCCC021BE5372277AD62@remailnt2-re01.westat.com> From: Francis Harvey To: "'cygwin AT cygwin DOT com'" Subject: RE: Install 1.3.22-1 problem - default text file type - DOS Date: Thu, 7 Aug 2003 16:58:00 -0400 MIME-Version: 1.0 Content-Type: text/plain Greetings, I wanted to correct something from my last request. The pointer yyin is actually from the flex package not byacc, and I ended up using: setmode(yyin, "rt"); to reset yyin as well modifying all of my fopen statements to use text mode. I have returned all of my strings and rules to using just \n instead of \r\n. Hopefully, I finally have a correct method for using these packages. Thanks to everyone for their help. Francis R. Harvey III WB303, x3952 harveyf1 AT westat DOT com VB programmers know the wisdom of Nothing > -----Original Message----- > From: Christopher Faylor [mailto:cgf-idd AT cygwin DOT com] > Sent: Wednesday, August 06, 2003 1:37 PM > To: cygwin AT cygwin DOT com > Subject: Re: Install 1.3.22-1 problem - default text file type - DOS > > > On Wed, Aug 06, 2003 at 01:23:47PM -0400, Francis Harvey wrote: > >Greetings, > > > >I realize most people may not be familiar with the byacc package, but > >it can't hurt to ask. I would like to alter the behavior of byacc to > >make the file pointer yyin use this "text" mode by default. > > setmode (fileno (yyin), O_TEXT); > -- -- 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/