In message <[EMAIL PROTECTED]> on Tue, 6 Sep 2005 14:27:23 -0700, Nathaniel 
Smith <[EMAIL PROTECTED]> said:

njs> It's definitely not an intentional feature of 'cat'.  However,
njs> it's possible that it's some unavaoidable win32 bogosity, like
njs> stdout being provided as a text-mode descriptor that is
njs> inherently lossy or something...

As most other operating systems that have a line endine sequence other
than NL, I think Windows C library *correctly* does NL->CRNL
conversion on stdout unless you somehow explicitely tell it that the
output should remain unconverted.

njs> if that's the case (and I'm just guessing) then we might not be
njs> able to fix it.  Can any of the win32-clued people out there shed
njs> any more light on this?  If it's not inherently unfixable,
njs> though, we should fix it.

One way to fix it is to have a --output parameter, to have an explicit
output file that monotone can treat the way it sees fit.  This might
ctually be the cleanest way to do it, considering other operating
systems may have yet other tweaks to get this right.

Cheers,
Richard

-----
Please consider sponsoring my work on free software.
See http://www.free.lp.se/sponsoring.html for details.

-- 
Richard Levitte                         [EMAIL PROTECTED]
                                        http://richard.levitte.org/

"When I became a man I put away childish things, including
 the fear of childishness and the desire to be very grown up."
                                                -- C.S. Lewis


_______________________________________________
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel

Reply via email to