[Oberon] Oberon keyboard tweaks

Skulski, Wojciech skulski at pas.rochester.edu
Thu Nov 2 03:20:20 CET 2023


Joerg:

how about CTRL-C, CTRL-X, CTRL-V? These are now second nature. Are they implemented under TextFrames?

Wojtek  
________________________________________
From: Oberon [oberon-bounces at lists.inf.ethz.ch] on behalf of joerg.straube at iaeth.ch [joerg.straube at iaeth.ch]
Sent: Tuesday, October 24, 2023 9:03 AM
To: ETH Oberon and related systems
Subject: [EXT] Re: [Oberon] Oberon keyboard tweaks

Hans

I saw you modified my TextFrames.Write.

The underlying logic of my code is that Input.Read returns four special Oberon keys called “left”, “right”, “up”, “down” whatever their HW scancodes are.
If you want Ctrl-B, Ctrl-F, Ctrl-P and Ctrl-N to behave like those 4 cursor keys, try mapping their scancodes to the 4 keys and leave TextFrame.Write untouched.
However, it might be you want Ctrl-B, Ctrl-F… to behave differently in Frames that are not TextFrames.

br
Jörg

Von: Oberon <oberon-bounces at lists.inf.ethz.ch> im Auftrag von Hans Klaver <hklaver at dds.nl>
Datum: Dienstag, 24. Oktober 2023 um 14:17
An: ETH Oberon and related systems <oberon at lists.inf.ethz.ch>
Betreff: Re: [Oberon] Oberon keyboard tweaks
Dear Prof. Cayuela,

Thank you for your message.

If you or your students encounter any lack of clarity in my text or other problem, please let me know.

With regards,

Hans Klaver



Op 24 okt. 2023, om 01:20 heeft Pablo Cayuela <pablo.cayuela at gmail.com<mailto:pablo.cayuela at gmail.com>> het volgende geschreven:

Thank you Hans Klaver for your Tutorial.
I plan to use it as a training tool for my students when learning to work through Project Oberon, and the initial lack of cursor keys and fixed upper case are great starting points to use as a guide to the inner workings.

Best regards,
Prof. Pablo Cayuela
Argentina


On Sun, 22 Oct 2023 at 11:30, Hans Klaver <hklaver at dds.nl<mailto:hklaver at dds.nl>> wrote:
Hi all,

Have you ever felt the desire to use the arrow keys while editing text or playing ObTris (Oberon Tetris) in Project Oberon 2013? Or wondered how to make changes to the keyboard code translation table in Input.Mod?

I did, and I noticed that making such changes is not entirely trivial. So after fiddling with this for some time and succeeding to make most of the tweaks that I needed I wrote a small Tutorial on this.

You can find it here: https://github.com/hansklav/Oberon-keyboard-tweaks<https://urldefense.com/v3/__https://github.com/hansklav/Oberon-keyboard-tweaks__;!!CGUSO5OYRnA7CQ!cAFrd8YltTAxn6m6D1KZfd83r6uDYoHtA3UJHL3N1MZEQUEEZKgbxtNR0eCR2UkcPcJEJo5cv88JKwojN9bywuMb74o2IFM$>

Hoping it will useful to others,

With regards,

Hans Klaver
--
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<https://urldefense.com/v3/__https://lists.inf.ethz.ch/mailman/listinfo/oberon__;!!CGUSO5OYRnA7CQ!cAFrd8YltTAxn6m6D1KZfd83r6uDYoHtA3UJHL3N1MZEQUEEZKgbxtNR0eCR2UkcPcJEJo5cv88JKwojN9bywuMbF2HjUzk$>
--
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<https://urldefense.com/v3/__https://lists.inf.ethz.ch/mailman/listinfo/oberon__;!!CGUSO5OYRnA7CQ!cAFrd8YltTAxn6m6D1KZfd83r6uDYoHtA3UJHL3N1MZEQUEEZKgbxtNR0eCR2UkcPcJEJo5cv88JKwojN9bywuMbF2HjUzk$>



More information about the Oberon mailing list