Mail Archives: djgpp-workers/1996/10/17/04:50:19
On Thu, 17 Oct 1996, Eli Zaretskii wrote:
>
>On Wed, 16 Oct 1996, Salvador Eduardo Tropea (SET) wrote:
>
>> So if better if all the files are UNIX. That's the same for info.exe and
>> the files are little smaller in this way, so I don't see any reason to
>> distribute some files in DOS format.
>
>Please don't do that. Info.exe can read both DOS- and Unix-style files,
>both compressed and uncompressed, so why shouldn't your Info reader do the
>same? It is so simple! Previous versions of info.exe indeed required
To cope with that you could read .inf files in binary mode (if they are not
compressed) and then convert dos2unix with a call to crlf2lf() on the buffer.
The same would be if uncompressed the files, just convert the buffer in
memory to unix format.
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
Stand straight, look me in the eye and say goodbye
Stand straight, we drifted past the point of reasons why,
Yesterday starts tommorow, tommorow starts today,
The problems always seem to be
we're picking up the pieces on the ricochet
/\/\/\/\/\/\/\/\/\/\ http://ananke.amu.edu.pl/~grendel \/\/\/\/\/\/\/\/\/
- Raw text -