how to write binary datas in a file_(re)
Wed, 18 Sep 96 10:27:42 CST
On 17 Sep 1996 02:00:00 +0200,
Sven Hilscher wrote:
>
>Hi folks,
>
>another stupid problem:
>
>I tryed to write binary datas in a file.
>I can use only the "write" function - the result is all $0A will be
>converted into "$0D $0A" - Yes, thats the CrLf - I think it's no problem
>under UNIX, Linux, Ponyx, Limbux etc. :-)
>
Yep - a bug.
djgpp opens all files in textmode unless instructed otherwise, which the
RTS _should_ do for all files not of type TEXT.
Unfortunately, a quick fix broke the standard "Input" and "Output" so
please wait a few more days 'till I have time to do this the right way.
>How can I write binary datas in a file?
>It must be work in MS-DOS !!!
>
Win32 affected too probably.
Hey Peter, does OS/2 (EMX) discriminate between text and binary files like
DOS, or not, like unix?
JanJaap
---
Someone once asked me if they could use Open Windows on a Mac.
I said, "I don't know. Let's find out."
I went to the Mac, opened the window and threw out the Mac.
"Yep, You can use Open Windows on a Mac."
bofh@RedDragon.Empire.Net (Psycho Sysadmin)
J.J. van der Heijden (j.j.vanderheijden@student.utwente.nl)
HTML conversion by Lluís de Yzaguirre i Maura
Institut de Lingüística Aplicada -
Universitat "Pompeu Fabra"
e-mail: de_yza@upf.es