<div dir="ltr">After a decade of coding in AOS, I still miss NO.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Nov 30, 2013 at 5:00 AM, <span dir="ltr"><<a href="mailto:oberon-request@lists.inf.ethz.ch" target="_blank">oberon-request@lists.inf.ethz.ch</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send Oberon mailing list submissions to<br>
<a href="mailto:oberon@lists.inf.ethz.ch">oberon@lists.inf.ethz.ch</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="https://lists.inf.ethz.ch/mailman/listinfo/oberon" target="_blank">https://lists.inf.ethz.ch/mailman/listinfo/oberon</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:oberon-request@lists.inf.ethz.ch">oberon-request@lists.inf.ethz.ch</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:oberon-owner@lists.inf.ethz.ch">oberon-owner@lists.inf.ethz.ch</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Oberon digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Re: Oberon-2 cross compiler source for INMOS T800 Transputer<br>
available now (OP2/V4) (eas lab)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Fri, 29 Nov 2013 20:04:50 +0200<br>
From: eas lab <<a href="mailto:lab.eas@gmail.com">lab.eas@gmail.com</a>><br>
Subject: Re: [Oberon] Oberon-2 cross compiler source for INMOS T800<br>
Transputer available now (OP2/V4)<br>
To: ETH Oberon and related systems <<a href="mailto:oberon@lists.inf.ethz.ch">oberon@lists.inf.ethz.ch</a>><br>
Message-ID:<br>
<<a href="mailto:CAN3-DLGb9LyufHqMSRnkGqvXEA-4TEyTeFD4jQfm6s6T%2B1fDzg@mail.gmail.com">CAN3-DLGb9LyufHqMSRnkGqvXEA-4TEyTeFD4jQfm6s6T+1fDzg@mail.gmail.com</a>><br>
Content-Type: text/plain; charset=UTF-8<br>
<br>
I don't appreciate 'these-days-twitter-style' minimal content burps.<br>
So here is some contents:-<br>
ETHO is much less about the language, than the unsurpassed total OS, where you<br>
see everytihing on the single screen, without the need to bob-yo-head upNdown<br>
between keybrd & screen.<br>
<br>
LinuxEthOberon builds on this to newly discovered extremes.<br>
My original 40GB IDE for ETHO from the 90s started failing; and I have some<br>
valuable legal files on some of the 48 partitions.<br>
<br>
LNO can read these, on the same PC that's running Linux for other tasks.<br>
LEO is more convenient/versatile than LNO, but I was astounded that LEO<br>
can ALSO read the AosFS partitions of old:nativeOberon.<br>
<br>
It doesn't directly fetch and display file contents.<br>
But you can: from linux -> running LEO -> run any *nix command.<br>
And of course the *nix command repetoire is massive.<br>
<br>
This is linux leveraging LEO leveraging Linux!<br>
<br>
So with 'try' being a symbolic-link to an AosFS partition on the<br>
old NativeOberon disk something like:<br>
read the whole NO partition &<br>
delete all non-ascii-chars &<br>
fold the lines < 80-char-len &<br>
print all lines to a file, which contain the critical name that we're<br>
searching;<br>
allows you to search the whole partition, and extract the critical text.<br>
<br>
Previously I remember examining the AosFS structure.<br>
IIRC Partitions.Mod has got nice clear code, and it's not difficult to extract<br>
the dir & file structure. So the actual files could perhaps be accessed.<br>
I wonder what would happen by 'porting' Partitions.Mode to LEO?<br>
--- Here's actual logged code and results including my errors:--<br>
>> -> System.Execute cat try | tr -d \\200-\\377 | hexdump -C | head<br>
>> == looks OK. So count lines containing "Heus". Let's see line-count ?<br>
>><br>
>> -> System.Execute cat try | tr -d \\200-\\377 | fmt | grep Heus | wc -l<br>
>> ==1 <- ! I can see *MANY* "Heus" in many of the different 'folded' lines!<br>
>><br>
>> -> System.Execute cat try | tr -d \\200-\\377 | fmt | wc<br>
>> == 1000653 9864738 72189840 <- 100Klines for 72MB<br>
>><br>
>> What am I doing wrong, to fail to `grep <all lines containing "Heus">?<br>
><br>
> Your 'tr' command is leaving behind a lot of non-printing characters in<br>
> the \000 to \037 range, which is going to cause 'grep' to report<br>
> "non-ASCII" and may be seriously confusing the 'fmt' command. You do<br>
> need to preserve formatting characters such as \n, \t, \r, but you should<br>
> delete the others. Try this:<br>
><br>
> tr -d \\000-\\007\\016-\\037\\177-\\377<br>
><br>
> That leaves the just the range \010 (BS) through \015 (CR) and the<br>
> ASCII characters \040 (SPACE) through \176 (~).<br>
<br>
OK, afterwards I thought of the (chars < Octal_37), like <bell>.<br>
I'll test and file-away your tr-version.<br>
Perhaps `strings` is appropriate.<br>
---- end of USEnet query:-------------<br>
<br>
For non*nix users:<br>
cat try | tr -d \\200-\\377 | fmt | grep Heus | wc -l<br>
means: output file:try [the whole partition] &<br>
delete all chars between Octal(200...377) &<br>
use the `format` filter to <clean up> the lines of text &<br>
output only lines containing "Heus" &<br>
count and list newline, word, and byte of previous stage.<br>
<br>
So with LEO, you get the superb HCI of ETHO, PLUS the massive facilities of<br>
the *nix industry.<br>
<br>
== Chris Glur.<br>
<br>
Did I mention that it's free?<br>
Provided you can detach yourself from the herd....<br>
<br>
<br>
<br>
On 11/27/13, "??z?u??n??s ?o?" <<a href="mailto:scruty@users.sourceforge.net">scruty@users.sourceforge.net</a>> wrote:<br>
> <a href="http://modulaware.com/mdlt/?n=89#t800-op2" target="_blank">http://modulaware.com/mdlt/?n=89#t800-op2</a><br>
><br>
> written in 1990 by Stephane Micheloud.<br>
><br>
> since 2013 there's a free open-source Transputer emulator; follow link.<br>
><br>
> --<br>
> <a href="mailto:Oberon@lists.inf.ethz.ch">Oberon@lists.inf.ethz.ch</a> mailing list for ETH Oberon and related systems<br>
> <a href="https://lists.inf.ethz.ch/mailman/listinfo/oberon" target="_blank">https://lists.inf.ethz.ch/mailman/listinfo/oberon</a><br>
><br>
<br>
<br>
<br>
------------------------------<br>
<br>
--<br>
<a href="mailto:Oberon@lists.inf.ethz.ch">Oberon@lists.inf.ethz.ch</a> mailing list for ETH Oberon and related systems<br>
<a href="https://lists.inf.ethz.ch/mailman/listinfo/oberon" target="_blank">https://lists.inf.ethz.ch/mailman/listinfo/oberon</a><br>
<br>
<br>
End of Oberon Digest, Vol 114, Issue 7<br>
**************************************<br>
</blockquote></div><br></div>