new package offering: zsh

egor duda deo@logos-m.ru
Thu May 23 00:15:00 GMT 2002


Hi!

Thursday, 23 May, 2002 Peter A. Castro doctor@fruitbat.org wrote:

PAC> On Wed, 22 May 2002, Charles Wilson wrote:

>> No -- if zsh can handle cr+lf internally, then let it do so.  Explicitly 
>> open function files in binary mode -- this will override the "textmode 
>> mount" which sets the default read mode.

PAC> zsh uses the open() call, not fopen().  There is no "binary" vs. "text"
PAC> mode to specify.  Theoretically, open() should be opening the file in
PAC> binary mode already (ie: no text translation/interpretation), yet the
PAC> data read in clearly is being cooked under some scenarios.  No, if I
PAC> understand how things are work here, I believe the carriage control
PAC> processing is being done at the filesystem level, which is below open()
PAC> and beyond my control.

It is under your control. You can use setmode () function on file descriptor.

Egor.            mailto:deo@logos-m.ru ICQ 5165414 FidoNet 2:5020/496.19



More information about the Cygwin-apps mailing list