Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

BOFH excuse #187: Reformatting Page. Wait...


comp / comp.os.linux.advocacy / Re: Math Keyboard is Here!

SubjectAuthor
* Math Keyboard is Here!Farley Flud
+* Re: Math Keyboard is Here!Chris Ahlstrom
|+- Re: Math Keyboard is Here!Farley Flud
|`* Re: Math Keyboard is Here!rbowman
| `- Re: Math Keyboard is Here!Chris Ahlstrom
`- Re: Math Keyboard is Here!candycanearter07

1
Subject: Math Keyboard is Here!
From: Farley Flud
Newsgroups: comp.os.linux.advocacy
Organization: UsenetExpress - www.usenetexpress.com
Date: Sun, 25 Aug 2024 13:04 UTC
From: ff@linux.rocks (Farley Flud)
Subject: Math Keyboard is Here!
Newsgroups: comp.os.linux.advocacy
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Lines: 39
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!panix!weretis.net!feeder9.news.weretis.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!news.usenetexpress.com!not-for-mail
Date: Sun, 25 Aug 2024 13:04:53 +0000
Nntp-Posting-Date: Sun, 25 Aug 2024 13:04:53 +0000
X-Received-Bytes: 1540
X-Complaints-To: abuse@usenetexpress.com
Organization: UsenetExpress - www.usenetexpress.com
Message-Id: <17eefa764c2256c8$723$2754825$802601b3@news.usenetexpress.com>
View all headers

I wanted a math keyboard and I set out to create one myself,
but the task was daunting and the learning curve was to be
steep. The new X Keyboard Extension method is quite complicated.

However, there is no need. Someone has done it already:

https://github.com/CaptchaSamurai/Math-Unicode-keyboard-overlay-Linux-XKB

This is fantastic!

I am using it now. Here is some of the Greek alphabet:

α β γ δ ... φ θ ω Ω

And some math symbols:

∂f/∂x

∫fdx

Effortless! No need for Shift+Alt+U, enter hex code, Enter.

There are problems, however. The key to enter math mode is only the
Alt-R key, which can be awkward, and especially the Shift+Alt-R. That
hurts my fingers.

Also, the Greek letters are not all mapped to the appropriate English
key. For example, gamma is not mapped to "c" and psi is mapped to "g."
There are also upper-case Greek chars missing.

But I have a good template that I can modify. I need to change the modifier
key to both the right and left Win key and also exclude/include symbols that
I don't/do want.

GNU/Linux/FOSS is the greatest.

--
Systemd: solving all the problems that you never knew you had.

Subject: Re: Math Keyboard is Here!
From: Chris Ahlstrom
Newsgroups: comp.os.linux.advocacy
Organization: None
Date: Sun, 25 Aug 2024 13:39 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: OFeem1987@teleworm.us (Chris Ahlstrom)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Math Keyboard is Here!
Date: Sun, 25 Aug 2024 09:39:33 -0400
Organization: None
Lines: 28
Message-ID: <vafc6l$1t94d$2@dont-email.me>
References: <17eefa764c2256c8$723$2754825$802601b3@news.usenetexpress.com>
Reply-To: OFeem1987@teleworm.us
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 25 Aug 2024 15:39:33 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="28f9f4e1b2479a04d4c1652465291800";
logging-data="2008205"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19w7+DKaDwzle90nBw/iE4y"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:OeAvyLSQBcI16qgiJ/A59Smx0Hg=
X-Slrn: Why use anything else?
X-User-Agent: Microsoft Outl00k, Usenet K00k Editions
X-Mutt: The most widely-used MUA
View all headers

Farley Flud wrote this copyrighted missive and expects royalties:

> I wanted a math keyboard and I set out to create one myself,
> but the task was daunting and the learning curve was to be
> steep. The new X Keyboard Extension method is quite complicated.
>
> However, there is no need. Someone has done it already:
>
> https://github.com/CaptchaSamurai/Math-Unicode-keyboard-overlay-Linux-XKB
>
> This is fantastic!
>
> I am using it now. Here is some of the Greek alphabet:
>
> α β γ δ ... φ θ ω Ω
>
> And some math symbols:
>
> ∂f/∂x
>
> ∫fdx
>
> Effortless! No need for Shift+Alt+U, enter hex code, Enter.

But can you write APL code with it?

--
Celebrate Hannibal Day this year. Take an elephant to lunch.

Subject: Re: Math Keyboard is Here!
From: Farley Flud
Newsgroups: comp.os.linux.advocacy
Organization: UsenetExpress - www.usenetexpress.com
Date: Sun, 25 Aug 2024 14:18 UTC
References: 1 2
From: ff@linux.rocks (Farley Flud)
Subject: Re: Math Keyboard is Here!
Newsgroups: comp.os.linux.advocacy
References: <17eefa764c2256c8$723$2754825$802601b3@news.usenetexpress.com> <vafc6l$1t94d$2@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Lines: 40
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!panix!weretis.net!feeder9.news.weretis.net!news.cmpublishers.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!news.usenetexpress.com!not-for-mail
Date: Sun, 25 Aug 2024 14:18:48 +0000
Nntp-Posting-Date: Sun, 25 Aug 2024 14:18:48 +0000
X-Received-Bytes: 1566
X-Complaints-To: abuse@usenetexpress.com
Organization: UsenetExpress - www.usenetexpress.com
Message-Id: <17eefe7eeda28379$1814$1020395$802601b3@news.usenetexpress.com>
View all headers

On Sun, 25 Aug 2024 09:39:33 -0400, Chris Ahlstrom wrote:

>
> But can you write APL code with it?
>

Most definitely.

Look inside the "mth" file. You can see that each key is given
four levels. The first two levels correspond to the ordinary
keypress and the Shift+Key. The 3rd and 4th levels correspond
to Modifier+Key and Shift+Modifier+Key. The modifier key is defined
in the "include" directive shown in the last line.

Thus all APL symbols could very easily be assigned to 3rd and 4th
levels:

https://en.wikipedia.org/wiki/Digital_encoding_of_APL_symbols

Of course your font must be able to display those symbols.

There may a way to create 5th and higher level keys using different
modifiers but I don't know how to do that (yet).

To change the 3rd level modifier key to both right and left "win" keys
just modify the include:

include "level3(win_switch)"

Then:

setxkbmap -layout mth

I have already modified my "mth" file to better meet my needs.

Now I can have some serious FUN!

--
Systemd: solving all the problems that you never knew you had.

Subject: Re: Math Keyboard is Here!
From: rbowman
Newsgroups: comp.os.linux.advocacy
Date: Sun, 25 Aug 2024 19:12 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: bowman@montana.com (rbowman)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Math Keyboard is Here!
Date: 25 Aug 2024 19:12:59 GMT
Lines: 7
Message-ID: <lj1e1rFr72mU7@mid.individual.net>
References: <17eefa764c2256c8$723$2754825$802601b3@news.usenetexpress.com>
<vafc6l$1t94d$2@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net sf3zTIYS8M2XmDp8u024BAhibA17Izm3//GnDyS4Y/LZ2qyxlB
Cancel-Lock: sha1:NcvYZ6y/GOsB5F4LiEXU/XRW/WY= sha256:FcutA2OhHtqwZHT4VOgFonZ1GT1bA2Ce5JCVqZbotYA=
User-Agent: Pan/0.149 (Bellevue; 4c157ba)
View all headers

On Sun, 25 Aug 2024 09:39:33 -0400, Chris Ahlstrom wrote:

> But can you write APL code with it?

That takes more than a keyboard. The IBM 5120 had an APL interpreter and
the squiggles on the keys. It was all Greek to me.

Subject: Re: Math Keyboard is Here!
From: Chris Ahlstrom
Newsgroups: comp.os.linux.advocacy
Organization: None
Date: Mon, 26 Aug 2024 11:47 UTC
References: 1 2 3
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: OFeem1987@teleworm.us (Chris Ahlstrom)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Math Keyboard is Here!
Date: Mon, 26 Aug 2024 07:47:12 -0400
Organization: None
Lines: 15
Message-ID: <vahq00$2e0r0$11@dont-email.me>
References: <17eefa764c2256c8$723$2754825$802601b3@news.usenetexpress.com>
<vafc6l$1t94d$2@dont-email.me> <lj1e1rFr72mU7@mid.individual.net>
Reply-To: OFeem1987@teleworm.us
Injection-Date: Mon, 26 Aug 2024 13:47:13 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="f5d234a5afcc579c77a3b6b181f12234";
logging-data="2556768"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+BqU3cA0/qeMbfRtkdYv6F"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:L/O8rCxndWUL2aDlUzOoA0bOrao=
X-Slrn: Why use anything else?
X-Mutt: The most widely-used MUA
X-User-Agent: Microsoft Outl00k, Usenet K00k Editions
View all headers

rbowman wrote this copyrighted missive and expects royalties:

> On Sun, 25 Aug 2024 09:39:33 -0400, Chris Ahlstrom wrote:
>
>> But can you write APL code with it?
>
> That takes more than a keyboard. The IBM 5120 had an APL interpreter and
> the squiggles on the keys. It was all Greek to me.

See the sig.

--
"There are three things a man must do / Before his life is done
Write 2 lines in APL / And make the buggers run"
-- Stan Kelly-Bootle from "The Devil's DP Dictionary"

Subject: Re: Math Keyboard is Here!
From: candycanearter07
Newsgroups: comp.os.linux.advocacy
Organization: the-candyden-of-code
Date: Mon, 26 Aug 2024 13:20 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: candycanearter07@candycanearter07.nomail.afraid (candycanearter07)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Math Keyboard is Here!
Date: Mon, 26 Aug 2024 13:20:04 -0000 (UTC)
Organization: the-candyden-of-code
Lines: 41
Message-ID: <slrnvcovs3.31a.candycanearter07@candydeb.host.invalid>
References: <17eefa764c2256c8$723$2754825$802601b3@news.usenetexpress.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 26 Aug 2024 15:20:04 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="4d853a3821f8f136b5757bf59629fbf8";
logging-data="2607871"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19RPRo9Ltyl+x0QAiOf36Bv8QTigVQs5f9orZXONjhB5w=="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:Axb9v3OEYyeb/0OVOnXep1G6UZw=
X-Face: b{dPmN&%4|lEo,wUO\"KLEOu5N_br(N2Yuc5/qcR5i>9-!^e\.Tw9?/m0}/~:UOM:Zf]%
b+ V4R8q|QiU/R8\|G\WpC`-s?=)\fbtNc&=/a3a)r7xbRI]Vl)r<%PTriJ3pGpl_/B6!8pe\btzx
`~R! r3.0#lHRE+^Gro0[cjsban'vZ#j7,?I/tHk{s=TFJ:H?~=]`O*~3ZX`qik`b:.gVIc-[$t/e
ZrQsWJ >|l^I_[pbsIqwoz.WGA]<D
View all headers

Farley Flud <ff@linux.rocks> wrote at 13:04 this Sunday (GMT):
> I wanted a math keyboard and I set out to create one myself,
> but the task was daunting and the learning curve was to be
> steep. The new X Keyboard Extension method is quite complicated.
>
> However, there is no need. Someone has done it already:
>
> https://github.com/CaptchaSamurai/Math-Unicode-keyboard-overlay-Linux-XKB
>
> This is fantastic!
>
> I am using it now. Here is some of the Greek alphabet:
>
> α β γ δ ... φ θ ω Ω
>
> And some math symbols:
>
> ∂f/∂x
>
> ∫fdx
>
> Effortless! No need for Shift+Alt+U, enter hex code, Enter.
>
> There are problems, however. The key to enter math mode is only the
> Alt-R key, which can be awkward, and especially the Shift+Alt-R. That
> hurts my fingers.
>
> Also, the Greek letters are not all mapped to the appropriate English
> key. For example, gamma is not mapped to "c" and psi is mapped to "g."
> There are also upper-case Greek chars missing.
>
> But I have a good template that I can modify. I need to change the modifier
> key to both the right and left Win key and also exclude/include symbols that
> I don't/do want.
>
> GNU/Linux/FOSS is the greatest.

While I would probably not need it, that is a really cool program :D
--
user <candycane> is generated from /dev/urandom

1

rocksolid light 0.9.8
clearnet tor