[Oberon] On Oberon Sources
Srinivas Nayak
sinu.nayak2001 at gmail.com
Mon Apr 4 10:43:42 CEST 2016
Dear Aubrey,
> Oberon can create a plain ascii file directly.
This is what I wanted to hear long back.
But blessings in disguise.
I got to know a lot of things because of that.
> I am answering your question How Come or Why Not. You may intend to ask "How Do I" instead.
I am very very sorry for that.
I shouldn't have asked that way.
Now it feels shameful. :-(
I must confess that, it was just straight out of my frustration.
But, never intended to hurt you all.
I apologize if I hurt you unintentionally.
Hope you will excuse me.
With thanks and best regards,
Yours sincerely,
Srinivas Nayak
Home: http://www.mathmeth.com/sn/
Blog: http://srinivas-nayak.blogspot.in/
On 04/04/2016 01:55 AM, Aubrey.McIntosh at Alumni.UTexas.Net wrote:
> Oberon can create a plain ascii file directly.
> When you open a Viewer, you create content. If it is a TextViewer, that content is a Text.
> The files in the viewers are temporary.
> You can Store the file at any time that you want. The file then becomes permanent, and has a name. The name will be the name that appears on the leftmost area of the menu bar of the viewer. Previous files with the same name are lost.
> The default is to store an Oberon format file. Many menus for TextViewers will have a command not unlike *Edit.Store*
> At any time, you may place the caret immediately after the e in Store, and enter text to make the command say *StoreAscii*
> When you activate that command, the saved file will be a plain ascii file.
> You may, at your discretion, also change the document name. For example, you may want the document to be named PlainAscii.txt To accomplish that, edit the name in the leftmost area of the document menu bar, before the | character.
>
> In some versions, the command to store the ascii file is in a separate editor, not the system default editor. In that cate, edit the menu bar to give the name of the correct command.
>
> The total number of keystrokes and mouse clicks to accomplish this is very small. In keeping with the minimalist nature of Oberon, there is no flashing red button with burning naked ladies saying This Way Back to Unix. It is minimalist.
>
> I am answering your question How Come or Why Not. You may intend to ask "How Do I" instead.
>
>
>
>
> On Sun, Apr 3, 2016 at 10:45 AM, Srinivas Nayak <sinu.nayak2001 at gmail.com <mailto: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?
>
> 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 <mailto: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 <mailto: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 <mailto: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 <mailto: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 <mailto:Oberon at lists.inf.ethz.ch> mailing list for ETH Oberon and related systems
> https://lists.inf.ethz.ch/mailman/listinfo/oberon
>
>
>
>
> --
> (email is my preferred communication media)
> Aubrey McIntosh, Ph.D.
> 1502 Devon Circle
> Austin TX 78723-1814
> (512)-348-7401
>
>
>
> --
> 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