[Oberon] Oberon Digest, Vol 237, Issue 2
pfoten.falken0p at icloud.com
pfoten.falken0p at icloud.com
Fri Feb 9 22:56:39 CET 2024
Hello Daniel Schmid,
You seem to entertain the idea that the module In is for interactive user input, but many implementations read from existing text instead. You should check chapter 7.1 in Martin Reiser‘s Programming in Oberon. ( E.g. look at the values of Done to see if input is available.)
Regards
Sven Mertens
> Am 09.02.2024 um 18:54 schrieb Daniel Schmid <daniel.schmid at bluemail.ch>:
>
> Dear Oberon-Listeners
>
> Have no idea how to In.Char(ch);
>
> About 1000 lines of code seem to work fine (a server to poll remote
> devices via tcp) but now i would like to get a user keyboard input
> but i get stuck:
>
> PROCEDURE Test2;
> VAR b: BOOLEAN; ch: CHAR;
> BEGIN(*PROCEDURE*)
> Out.String("input: ");
> b:= In.Char(ch);
> Out.Char(ch);
> END(*PROCEDURE*) Test2;
>
> compiles fine but doesn't even stop for an input? any idea/hint?
> Thanks a lot
> Daniel
>
> On Fri, 2024-02-09 at 12:00 +0100, oberon-request at lists.inf.ethz.ch
> wrote:
>>> Send Oberon mailing list submissions to
>>> oberon at lists.inf.ethz.ch
>>>
>>> To subscribe or unsubscribe via the World Wide Web, visit
>>> https://lists.inf.ethz.ch/mailman/listinfo/oberon
>>> or, via email, send a message with subject or body 'help' to
>>> oberon-request at lists.inf.ethz.ch
>>>
>>> You can reach the person managing the list at
>>> oberon-owner at lists.inf.ethz.ch
>>>
>>> When replying, please edit your Subject line so it is more specific
>>> than "Re: Contents of Oberon digest..."
>>>
>>>
>>> Today's Topics:
>>>
>>> 1. Re: font size in oberon-risc-emu (Colby Russell)
>>> 2. Re: font size in oberon-risc-emu (Michael Schierl)
>>>
>>>
>>> -------------------------------------------------------------------
>>> --
>>> -
>>>
>>> Message: 1
>>> Date: Thu, 8 Feb 2024 08:21:28 -0600
>>> From: Colby Russell <oberon at x.colbyrussell.com>
>>> To: ETH Oberon and related systems <oberon at lists.inf.ethz.ch>,
>>> rsykora at disroot.org
>>> Subject: Re: [Oberon] font size in oberon-risc-emu
>>> Message-ID:
>>> <94762f90-00d2-49c1-b041-d25c9433fb79 at x.colbyrussell.com>
>>> Content-Type: text/plain; charset=UTF-8; format=flowed
>>>
>>>> On 2/8/24 02:07, rsykora at disroot.org wrote:
>>> > do you know if there is a simple means to change (enlarge)
>>> > the font size used in Peter De Wachter's oberon-risc-emu?
>>>
>>> The name of the file is hardcoded.? You need to either recompile
>>> the
>>> system or rename the file containing the larger font (so it has the
>>> name
>>> of the smaller).? The latter approach will mess up the display of
>>> texts
>>> that have "looks" (i.e. formatted with different fonts).
>>>
>
>
>
> --
> 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