<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Chuck<div><br></div><div>If you move files between different OSes, you normally have to convert files. Eg if you move ASCII texts between Windows and Unix you have to convert the newlines.</div><div>Every OS has its own convention. The same is true for the Oberon OS.</div><div><br></div><div>BTW: it seems to be a common misunderstanding that text files in Oberon are ASCII files. This is not the case.</div><div><br></div><div>Oberon text files are comparable to Word doc files: they as well contain much more info than just plain ASCII characters. Oberon textfiles contain format info (font family, size, bold...) and may contain various Elems.</div><div><br></div><div>In Word, you can specify the format of the output: chose eg docx or txt when you store your file.</div><div>The same is true in Oberon. EditTools.StoreAscii/StoreMac/StoreUnix extracts the pure ASCII information out of an Oberon text and adds the corresponding newline character.<br><div><br></div><div>Out of the box, ProjectOberon (Texts.Mod) is able to open ASCII files from other OSes.</div><div><br></div><div><div dir="ltr"><div>Jörg</div></div><div dir="ltr"><br>Am 05.01.2019 um 21:33 schrieb Charles Perkins <<a href="mailto:chuck@kuracali.com">chuck@kuracali.com</a>>:<br><br></div><blockquote type="cite"><div dir="ltr"><div dir="ltr"><div dir="ltr">I wrote a technote on modifying V5 Oberon to use newlines instead of carriage-returns, while still accepting carriage-returns in texts.</div><div dir="ltr"><br></div><div>If anyone is curious it can be found at:</div><div dir="ltr"><div><a href="https://github.com/io-core/technotes/blob/master/technote001.md">https://github.com/io-core/technotes/blob/master/technote001.md</a><br></div><div><br></div><div>Since the source code of V5 Oberon is so small and well factored, it was easy to do. Now I can move text files back and forth between my Mac or Linux box and my emulated FPGA environment without converting things all the time.</div><div><br></div><div>Best Regards,</div><div>Chuck</div></div></div>
</div></blockquote><blockquote type="cite"><div dir="ltr"><span>--</span><br><span><a href="mailto:Oberon@lists.inf.ethz.ch">Oberon@lists.inf.ethz.ch</a> mailing list for ETH Oberon and related systems</span><br><span><a href="https://lists.inf.ethz.ch/mailman/listinfo/oberon">https://lists.inf.ethz.ch/mailman/listinfo/oberon</a></span><br></div></blockquote></div></div></body></html>