Mail Archives: cygwin/1997/06/24/12:45:11
The FAQ and readme need a little bit of an update ;^)
Open &Start menu &Run
and type in regedit
open &edit &find
cygnus
left arrow until you see 00
01
etc.
select each of these keys in the left pane
double click fbinary in the right pane
and change 0 to 1 in the popup
actually you only need to change the last 5 mounts with regedit,
other drives can be changed by (for example)
umount f:\\;mount -b f:\\ /f
at the bash prompt
after you change over to binary mode, you will need
to reinstall from cdk.exe and user.exe, and change any
sources or headers that you previously untarred from
CR\LF to LF
one way to do this for an entire directory is
for file in *;do cat $file|tr -d "\r\032" > t;mv t $file;done
this gets rid of ^Z as well as CR from the fixed files.
On Tue, 24 Jun 1997 09:45:26 -0400, you wrote:
>
>>From the GNU win32 FAQ:
>
>> How is the DOS/Unix CR/LF thing handled?
>
>> By default, tools that deal with binaries (e.g. objdump) operate in
>> unix binary mode and tools that deal with text files (e.g. bash)
>> operate in text mode.
>
>> You can enable the DOS CR/LF end of line in a text file mode by setting
>> fmode_binary setting in the registry to 0. I've tried to keep the file
>> types 'natural'. By default a file is opened in text mode. This can be
>> changed by adding O_BINARY to the second argument of an open call, or
>> "b" to second argument of an fopen call.
>
>> lseek now only works in binary mode.
>
>Can someone please provide with more information about "setting fmode_binary
>in the registry to 0"? I've looked in a lot of places and haven't found
>a reference to it anywhere except in the FAQ.
>
>Thank you very much for your help.
>
>-Gill
>
>
>-
>For help on using this list (especially unsubscribing), send a message to
>"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
>
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -