[Oberon] A server allowing revisions to source Texts. Was, Re (2): revisions in sources.

Jörg joerg.straube at iaeth.ch
Mon Oct 3 21:59:28 CEST 2016


Hi

Why do you expect an Oberon document to open in Notepad as readable text?

- If you open a Word document in Notepad, it will display garbage.
- If you open an Excel document in Notepad, it will display garbage.

The key component of the Oberon system is the abstract data type, called
"Text".
A file is only a storage container for that (binary) data type.
In Oberon you don't need to have ASCII files at all:
You can edit Text, compile Text and execute commands in Texts without even
involving one single file.

- Oberon will read plain ASCII files and convert it to Oberon documents
automatically
- Oberon can store (or better export) Oberon documents to plain ASCII files
if needed.
  "EditTools.StoreAscii". By doing so all formatting gets lost, similar to
the export function of Word.

br
Jörg

-----Original Message-----
From: Oberon [mailto:oberon-bounces at lists.inf.ethz.ch] On Behalf Of
peter at easthope.ca
Sent: Montag, 3. Oktober 2016 21:03
To: oberon at lists.inf.ethz.ch
Subject: [Oberon] A server allowing revisions to source Texts. Was, Re (2):
revisions in sources.

Bernhard and all,

In 
https://en.wikibooks.org/wiki/Wikibooks_talk:What_is_Wikibooks#The_source_co
de_of_a_computer_operating_system 
at 13:01, 21 April 2016 (UTC), Treutwein wrote,
"... not yet completely understood how to tweak it, but the basics 
for that tweaking can be found in the Pro Git book in Chap. 8.2 
..." (https://git-scm.com/book/en/v2/Customizing-Git-Git-Attributes).

Git "attributes" is a solution to the "Oberon-Text-is-binary" 
problem.  Another possibility is to represent the Oberon source 
Text as HTML5.  A binary section could be in an embed or object 
element.  <embed type="text/Oberon"> ... </embed>.  Ref.: 
https://dev.w3.org/html5/spec-preview/the-embed-element.html  Most 
of the Text would remain as human readable plain text.

Desktops.OpenDoc could be adjusted to render the HTML5 to the 
original Oberon Text.  A conventional browser would render an 
almost perfect facsimile.

Would that be acceptable?  Objectionable?

Thanks,            ... Lyall E.


-- 
123456789 123456789 123456789 123456789 123456789 123456789 123456789
Tel: +1 360 639 0202                      Pender Is.: +1 250 629 3757
http://easthope.ca/Peter.html              Bcc: peter at easthope. ca

--
Oberon at lists.inf.ethz.ch mailing list for ETH Oberon and related systems
https://lists.inf.ethz.ch/mailman/listinfo/oberon



More information about the Oberon mailing list