Re: Howto set default text file type to DOS/Text under release 1.7 BETA

2009-10-30 Thread Christopher Faylor
On Fri, Oct 30, 2009 at 10:41:08AM -0500, paul.hermeneu...@gmail.com wrote: >On Fri, Oct 30, 2009 at 00:36, Eric Backus wrote: >>Niels Hallenberg gmail.com> writes: >> >>>I have a lot of scripts that won't run under bash as long as the extra >>>CR's are not removed. I know > >Python has implemen

Re: Howto set default text file type to DOS/Text under release 1.7 BETA

2009-10-30 Thread paul . hermeneutic
On Fri, Oct 30, 2009 at 00:36, Eric Backus wrote: > Niels Hallenberg gmail.com> writes: > >> I have a lot of scripts that >> won't run under bash as long as the extra CR's are not removed. I know Python has implemented a universal line ending scheme. Perhaps that could work here. -- Problem re

Re: Howto set default text file type to DOS/Text under release 1.7 BETA

2009-10-29 Thread Eric Backus
Niels Hallenberg gmail.com> writes: > I have a lot of scripts that > won't run under bash as long as the extra CR's are not removed. I know > of the tool doc2unix, however there are other obstacles too so having > the auto-conversion is the best solution for me. > > I have also tried to use the

Re: Howto set default text file type to DOS/Text under release 1.7 BETA

2009-10-28 Thread Larry Hall (Cygwin)
On 10/28/2009 07:59 AM, Niels Hallenberg wrote: Hi, I have just installed release 1.7 under Windows 7, 64bit. The setup.exe program seems to have changed and you can't any longer set the Default Text File Type to DOS/Text. I have a lot of scripts that won't run under bash as long as

Howto set default text file type to DOS/Text under release 1.7 BETA

2009-10-28 Thread Niels Hallenberg
Hi, I have just installed release 1.7 under Windows 7, 64bit. The setup.exe program seems to have changed and you can't any longer set the Default Text File Type to DOS/Text. I have a lot of scripts that won't run under bash as long as the extra CR's are not removed. I know of th

Re: Install 1.3.22-1 problem - default text file type - DOS

2003-08-14 Thread Christopher Faylor
On Thu, Aug 07, 2003 at 04:58:00PM -0400, Francis Harvey wrote: >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"); Hopefully, this isn't what you used since I can't imagine

Re: Install 1.3.22-1 problem - default text file type - DOS

2003-08-14 Thread Igor Pechtchanski
On Tue, 5 Aug 2003, Francis Harvey wrote: > Greetings, > > When installing 1.3.22-1 on XP, I select DOS as the default text file > type. Unfortunately, the packages I use, flex and gcc, don't appear > to correspond to this setting. For gcc, I wrote this program: >

RE: Install 1.3.22-1 problem - default text file type - DOS

2003-08-14 Thread Francis Harvey
r Faylor [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 06, 2003 1:37 PM > To: [EMAIL PROTECTED] > 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, > > > &g

Re: Install 1.3.22-1 problem - default text file type - DOS

2003-08-14 Thread Christopher Faylor
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 (

Re: Install 1.3.22-1 problem - default text file type - DOS

2003-08-14 Thread Larry Hall
en the pointer to take advantage of the technique below. Francis R. Harvey III WB303, x3952 [EMAIL PROTECTED] VB programmers know the wisdom of Nothing -Original Message- From: Larry Hall [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 05, 2003 5:31 PM To: Brian Dessent Cc: '[EMAIL PROTECTED

RE: Install 1.3.22-1 problem - default text file type - DOS

2003-08-06 Thread Francis Harvey
essage- > From: Larry Hall [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 05, 2003 5:31 PM > To: Brian Dessent > Cc: '[EMAIL PROTECTED]' > Subject: Re: Install 1.3.22-1 problem - default text file type - DOS > > > Brian Dessent wrote: > > > > But

Install 1.3.22-1 problem - default text file type - DOS

2003-08-06 Thread Francis Harvey
Greetings, When installing 1.3.22-1 on XP, I select DOS as the default text file type. Unfortunately, the packages I use, flex and gcc, don't appear to correspond to this setting. For gcc, I wrote this program: #include int main() { char *token; token = "\n"; printf("to

Re: Install 1.3.22-1 problem - default text file type - DOS

2003-08-06 Thread Larry Hall
Brian Dessent wrote: Francis Harvey wrote: Thanks. I have now replaced \n with \r\n every place I used \n in a character string. I have made sure not to switch the single character when used separately from a string. Everything appears to work fine now. But that completely misses the point

RE: Install 1.3.22-1 problem - default text file type - DOS

2003-08-05 Thread Francis Harvey
programmers know the wisdom of Nothing > -Original Message- > From: Igor Pechtchanski [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 05, 2003 12:55 PM > To: Francis Harvey > Cc: [EMAIL PROTECTED] > Subject: Re: Install 1.3.22-1 problem - default text file type - DOS &g

Re: Install 1.3.22-1 problem - default text file type - DOS

2003-08-05 Thread Brian Dessent
Francis Harvey wrote: > Thanks. I have now replaced \n with \r\n every place I used \n in a > character string. I have made sure not to switch the single character > when used separately from a string. Everything appears to work fine > now. But that completely misses the point of "text" mode.

Re: Default Text File Type

2003-01-12 Thread Michael A Chase
On Sun, 12 Jan 2003 14:25:19 -0600 Michael Hipp <[EMAIL PROTECTED]> wrote: > Could someone explain the meaning and implications of the Setup option to > select Default Text File Type ( DOS or Unix)? I couldn't find it in the > FAQ or User's Manual. http://cygwin.com

Re: Default Text File Type

2003-01-12 Thread Max Bowsher
Michael Hipp wrote: > Could someone explain the meaning and implications of the Setup > option to select Default Text File Type ( DOS or Unix)? I couldn't > find it in the FAQ or User's Manual. It affects the text/binary flag on the mounts that setup creates. http://cygwin.com/

Default Text File Type

2003-01-12 Thread Michael Hipp
Could someone explain the meaning and implications of the Setup option to select Default Text File Type ( DOS or Unix)? I couldn't find it in the FAQ or User's Manual. Thanks. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com