Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.os.linux    |    Getting to be as bloated as Windows!    |    107,822 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 105,869 of 107,822    |
|    Paul Edwards to Lew Pitcher    |
|    Re: O_TEXT for PDOS/386    |
|    20 Feb 24 22:25:05    |
      From: mutazilah@gmail.com              On 20/02/24 22:14, Lew Pitcher wrote:       > On Tue, 20 Feb 2024 14:51:15 +0800, Paul Edwards wrote:       >       >> Hi.       >>       >> Cygwin has an O_TEXT on the open() call to let       >> "the OS layer" (can be quibbled) that the file       >> is being opened in text mode. And as such, it       >> gives that layer an opportunity to insert CRs.       > [snip]       >> I'd like to add an O_TEXT flag to Linux.[snip]       >> Any suggestions?       >       > Yes, one. Dont.       >       > Microsoft Windows (on top of which Cygwin must run) makes a low-level       > distinction between "binary" files and "text" files. I believe it is       > because Windows guarantees (or must guarantee) certain data       > transformations on text that do not apply to other forms of data.       > (I.e. translating |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca