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 eric_bac...@agilent.com wrote: Niels Hallenberg nhallenberg at 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

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 eric_bac...@agilent.com wrote: Niels Hallenberg nhallenberg at 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

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

2009-10-29 Thread Eric Backus
Niels Hallenberg nhallenberg at 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

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 the tool doc2unix

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

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 (yyin),

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

2003-08-14 Thread Francis Harvey
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, I realize most people may not be familiar with the byacc package

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: #include stdio.h int main

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

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

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 stdio.h int main() { char *token; token = \n; printf(token[0] = %d; token

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

2003-08-06 Thread Francis Harvey
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: snip But that completely misses the point of text mode. You should always use

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

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/bugs.html

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/cygwin-ug-net/using

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/faq/faq.html#TOC74 http