[Oberon] Functional programming style for Oberon?
eas lab
lab.eas at gmail.com
Sun Oct 25 23:16:42 CET 2015
> LEO - where? I.e., where can i download it? (And what is it's alias if
> it has one)
"walk with me" while I [show how to] fetch the answer to your question..
On one of the original [at boot time] TextFrames I can see:
ETH Oberon (2.4.3) for Linux x86
which I just pasted here.
Being interested to see the size of the <install-archive>, I use LEO's ability
to execute *nix commands, and guess at:
System.Execute locate beron | grep tgz
which gives me a dozen lines,
where I recognise:
/mnt/hdc6/home/Debug/ThreadObn/Unix_Oberon_r243_Src.tgz
/mnt/hdc11/ETHZ/UnixAos/Unix_Oberon_r243_Src.tgz
/mnt/DebDVD1bak/p11v/ETHforum/LEO/Unix_Oberon_r24_Src.tgz
Why have I got duplicate copies?
And these are the <source archives>; not what I want.
But lets see their sizes: directly instead of via *nix:
System.Directory /mnt/hdc6/home/Debug/ThreadObn/Unix_Oberon_r243_Src.tgz\d
== 08.02.2009 05:36:42 3492833
System.Directory /mnt/hdc11/ETHZ/UnixAos/Unix_Oberon_r243_Src.tgz\d
== 08.01.2013 07:46:16 3492833
So I've got an unintended duplicate.
Of course you don't type-in these long FileID's.; you just paste.
Let's try: System.Execute locate "Unix_Oberon"
Not good: the same 3.
Let's try: System.Execute locate beron | grep nix
That's many, and the probable target is:
/mnt/DebDVD1bak/p11v/ETHforum/LEO/Unix_Oberon_r24_Src.tgz\d
Importantly, all this navigation is on the same screen, without
<turning over pages, and losing your place/focus>.
To see the size, just paste "System.Directory \d"
== 31.01.2013 22:38:39 3234358
So the size is 3M2.
Now for the fetch URL ?
That's probably listed in the same dir, so try:
System.Execute grep http /mnt/DebDVD1bak/p11v/ETHforum/LEO/*
which leads to:
http://www.informatik.uni-bremen.de/~fld/UnixOberon/x86.Linux/Readme.txt
So the URL is: http://www.informatik.uni-bremen.de/~fld
But there's probably a <README> in that Dir; so try:
System.Directory /mnt/DebDVD1bak/p11v/ETHforum/LEO/*
and /mnt/DebDVD1bak/p11v/ETHforum/LEO/Log
probably shows how/when I fetched it.
No; let's klik-on /mnt/DebDVD1bak/p11v/ETHforum/LEO/LEOdir
==>ftp://ftp.ethoberon.ethz.ch/ETHOberon/Unix/x86.Linux/
-rw-r--r-- 1 ftp ftp 2519 Nov 22 2004 Readme.txt
-rw-r--r-- 1 ftp ftp 3234358 Nov 22 2004 Unix_Oberon_r24_Src.tgz
-rwxr-xr-x 1 ftp ftp 492 Sep 20 2000 inst.oberon
-rw-r--r-- 1 ftp ftp 10545812 Nov 22 2004 x86_Linux_Oberon_r24_Sys
.tgz
"Sources = Unix_Oberon_r24_Src.tgz" == 3'234'358
--------------
It's pointless for me to pretend that I just *KNOW* the answer, rather than
demonstrate how you must WORK with LEO, to get it ?
== Chris Glur.
NB. very little of this text was typed in; it's mostly just pasted.
More information about the Oberon
mailing list