public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Soegtrop, Michael" <michael.soegtrop@intel.com>
To: Michel LaBarre <michel.labarre@rogers.com>, 'cygwin' <cygwin@cygwin.com>
Subject: RE: 2.10.0: Cygwin now can not work well with a file in dos format.
Date: Sat, 16 Jun 2018 20:25:00 -0000	[thread overview]
Message-ID: <0F7D3B1B3C4B894D824F5B822E3E5A17788014D3@IRSMSX102.ger.corp.intel.com> (raw)
In-Reply-To: <003101d40572$dcd479f0$967d6dd0$@rogers.com>

Dear Michel,

>   1. Where in the release notes is this mentioned so that I can try to ensure that I
> find out about future changes?

As far as I can tell such things are announced here on this mailing list with subject "[ANNOUNCEMENT]". This specific change was announced here:

https://sourceware.org/ml/cygwin/2017-02/msg00152.html

You can search the mailing list for ANNOUCEMENT SED here:

https://cygwin.com/ml/cygwin/

>   2. Various "solutions" have been noted for gawk in related emails - all require
> minor but pervasive code changes.
>       Are there any similar solutions for the other tools besides scattering "tr" all
> over the place?

I haven't tried it but according to the release note above this depends on the mount type. It might help to mount your Windows text files in a mount with the text flag set. Binary files should still work on such mounts - as far as I can tell this mount flag has the effect that the binary / text flag to e.g. fopen makes a difference. If you have success with this, I would be interested to learn about it.

>       Also, I don't recall seeing related discussions in this mail-list.  Would these
> have taken place in
>       another Cygwin-developer-focused mail-list?

It has been discussed extensively in February and June last year on this list.

>   3. Is there any chance of Cygwin providing a pervasive file behaviour control
> switch for all the affected tools
>      that have been used generally for text rather than binary data handling?

As stated above, the intended mechanism seems to be to give this hint in the mount tables. You might also want to read through the lengthy discussion on the topic in June last year.

>   4. Would MSYS be better for those of us who are trying to supplement
> Windows rather than running Linux
>        on Windows?

I am building complex Linux centric projects for MinGW on Cygwin. Although this is the intended purpose of MSYS2, for me Cygwin works better. Most of the configure and makefiles I have to handle didn't go very far with MSYS2, while with Cygwin I needed only very minor patches here and there. Maybe things changed meanwhile - I tested this about 3 years ago and am happy with Cygwin since then. But I can say that I run CI tests with the latest Cygwin version daily and the SED change was the only Cygwin change which broke my builds in the last 3 years. It could definitely be substantially worse. So while one can discuss some decisions of the Cygwin team, it appears to me that they took the right decisions.

Best regards

Michael

Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Christian Lamprechter
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


  parent reply	other threads:[~2018-06-16 14:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-15 16:19 tuyanyi
2018-06-15 19:46 ` Soegtrop, Michael
2018-06-15 23:50   ` cyg Simple
2018-06-16  0:49   ` Brian Inglis
2018-06-16 14:10   ` Michel LaBarre
2018-06-16 15:21     ` Marco Atzeri
2018-06-16 20:25     ` Soegtrop, Michael [this message]
2018-06-16 20:34       ` Michel LaBarre
2018-06-17  1:13       ` cyg Simple
2018-06-15 22:50 ` cyg Simple

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0F7D3B1B3C4B894D824F5B822E3E5A17788014D3@IRSMSX102.ger.corp.intel.com \
    --to=michael.soegtrop@intel.com \
    --cc=cygwin@cygwin.com \
    --cc=michel.labarre@rogers.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).