[Oberon] On Oberon Sources
Bob Walkden
bob at web-options.com
Sun Apr 3 22:24:51 CEST 2016
On 3 Apr 2016, at 21:02, Srinivas Nayak <sinu.nayak2001 at gmail.com> wrote:
>
> Dear Bob,
>
> I see that there are some converters.
> But how come Oberon isn't able to create a plain ascii file directly?
Because it uses its natively-formatted texts. And what do you mean by 'directly'?
There is no need in Oberon to create 'directly' any text format other than its native one. What would be the purpose?
What would it do with plain text, or any other non-native text that someone else thinks it should have? UTF-8? -16? EBCDIC? PDF?
What additional software would be required to do those things?
Why would you need to do those things if your user interface is based on a different model of text?
The only value it has in Oberon is for exchanging data with other systems, and for that converters are adequate.
Non sunt multiplicanda entia sine necessitate.
B
>
> I am not sure if plain ascii file has a format.
> I think, in a plain ascii file, the file content is just some ascii vale bytes.
> And ascii text files have no header.
>
> Am I mistaken?
>
>
> With thanks and best regards,
>
> Yours sincerely,
> Srinivas Nayak
>
> Home: http://www.mathmeth.com/sn/
> Blog: http://srinivas-nayak.blogspot.in/
>
>> On 04/03/2016 08:49 PM, Bob Walkden wrote:
>> In System3 there is an EditTools module which includes various converters.
>>
>> Note - they are converters. What you seem to want to do makes no sense. Oberon and Linux use different file formats.
>>
>> B
>>
>> On 3 Apr 2016, at 16:07, Srinivas Nayak <sinu.nayak2001 at gmail.com> wrote:
>>
>>>> You mean:
>>>> how can I create a Hello.Mod file USING Oberon that contains ONLY
>>>> ascii characters of my code?
>>>
>>> Yes. You took the words right out of my mouth!
>>>
>>>> NativeOberon & LEO & V4 & BlueBottle/Aos [the only ones I know] can all write
>>>> ASCII-only text files.
>>>
>>> How?
>>>
>>> I clicked Edit.Open. Typed something into it. Then added a filename at viewer's title.
>>> Then clicked System.Store. I got the file. Oped in Linux. No Luck. It shows me blank!
>>> In Oberon when I open it, it has the same characters I typed.
>>> That means, I was not able to get a plain ascii file using Edit.Open in Oberon.
>>>
>>> Same I did using Script.Open. No luck. Similar observation.
>>>
>>>
>>> How do you create a plain ascii file?
>>> I tried all these in OLR.
>>> Because it is easy to create a file in Oberon and immidiately access the file from /olr folder in Linux.
>>> Never tried on my NO in vbox, because I don't know how to exchange file between NO and Linux.
>>>
>>>
>>> Kindly refer me the steps to create ascii file, if you are able to do so.
>>>
>>>
>>>> Your question is WRONG.
>>>> "do X in Oberon" is not sufficiently defined.
>>>> Which version/S of Oberon?
>>>
>>> You are right.
>>> My mistake. I want to know how to do it in NO alpha 2.3.6 (and OLR).
>>>
>>>
>>> With thanks and best regards,
>>>
>>> Yours sincerely,
>>> Srinivas Nayak
>>>
>>> Home: http://www.mathmeth.com/sn/
>>> Blog: http://srinivas-nayak.blogspot.in/
>>>
>>> On 04/03/2016 04:29 PM, eas lab wrote:
>>>>> how can I create a simple Hello.Mod file in Oberon that contain pure ascii
>>>>> characters of my code?
>>>>
>>>> You mean:
>>>> how can I create a Hello.Mod file USING Oberon that contains ONLY
>>>> ascii characters of my code?
>>>>
>>>> NativeOberon & LEO & V4 & BlueBottle/Aos [the only ones I know] can all write
>>>> ASCII-only text files.
>>>>
>>>> When I transfer files between LEO and M$ or *nix I need to select
>>>> LEO's facilities
>>>> to read/write in those formats: 4 different commands from a popup menu.
>>>>
>>>> NativeOberon could only do DOS.
>>>> V4 for Linux mistakenly did DOS, but patching the code to do *nix was trivial.
>>>>
>>>> Your question is WRONG.
>>>> "do X in Oberon" is not sufficiently defined.
>>>> Which version/S of Oberon?
>>>>
>>>> == Chris Glur
>>>> --
>>>> Oberon at lists.inf.ethz.ch mailing list for ETH Oberon and related systems
>>>> https://lists.inf.ethz.ch/mailman/listinfo/oberon
>>> --
>>> Oberon at lists.inf.ethz.ch mailing list for ETH Oberon and related systems
>>> https://lists.inf.ethz.ch/mailman/listinfo/oberon
>> --
>> Oberon at lists.inf.ethz.ch mailing list for ETH Oberon and related systems
>> https://lists.inf.ethz.ch/mailman/listinfo/oberon
> --
> 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