Hi, Maybe for 4.6 we can apply a very simple and harmless patch which I attached. It does the following: 1. All reads and writes will be in binary mode, so DOS encoded files corruption under cygwin will be fixed 2. CR will become visible as ^M and editable, exactly the same way as in vi. This will fix a very unpleasant problem with CR in mc editor : CR is not visible, and it can be very easily embedded into text (by cut and paste) , and sometimes this causes very weird problems. Imagine printf("Hello world\n") with CR between two words - you will never see this CR in mc editor , but the program will print only "world" ! Alex
Attachment:
CR.patch
Description: Binary data