WIP: upgrade FreeBSD neo.kbd for vt(4) (“Newcons”) #633

Draft
root wants to merge 5 commits from root/neo-layout:upgrade_freebsd_kbd_to_newcons_aka_vt into master
First-time contributor
  • syscons(4) limitations severly restrict(ed) the use of neo.kbd. Users choose vt(4) if they intend to use neo.kbd. Therefore design neo.kbd for vt(4)
    disregarding incompatibilities it causes with syscons(4)
  • Widen source code: 80-character width limit is unnecessary nowadays.
  • NB: Mod4 is not available. Only Mod4-lock via Shift-Mod3-Tab is implemented.
* `syscons(4)` limitations severly restrict(ed) the use of `neo.kbd`. Users choose `vt(4)` if they intend to use `neo.kbd`. Therefore design `neo.kbd` for `vt(4)` disregarding incompatibilities it causes with `syscons(4)` * Widen source code: 80-character width limit is unnecessary nowadays. * NB: Mod4 is not available. Only Mod4-lock via Shift-Mod3-Tab is implemented.
root added 1 commit 2023-05-30 05:21:21 +02:00
b64104cf61
upgrade FreeBSD `neo.kbd` for `vt(4)` (“Newcons”)
* `syscons(4)` limitations severly restrict(ed) the use of `neo.kbd`.
  Users choose `vt(4)` if they intend to use `neo.kbd`.
  Therefore design `neo.kbd` for `vt(4)`
  disregarding incompatibilities it causes with `syscons(4)`.
* Widen source code: 80-character width limit is unnecessary nowadays.
root added 1 commit 2023-05-30 14:08:39 +02:00
8afdc74d48
ammend commit b64104cf61
* add Shift-Ins → `paste` function
* make keys such as Home, Pg Up, etc. that are not defined by NEO
  accessible in Mod4-lock (`alta`).
* emphasize `kern.vt.enable_altgr=1` necessary
* some cosmetics (code indentation)
root added 1 commit 2023-05-31 00:23:19 +02:00
fa9f2d9065
FreeBSD supply `keymap(5)` for `vt(4)` and (legacy) `sc(4)` console drivers
* (re-)supply a `keymap(5)` suitable for the (legacy) `sc(4)` console driver
  still widely (and legitimately) in use (b64104cf61)
* create symbolic link so incoming external links do not break
qwertfisch changed title from upgrade FreeBSD `neo.kbd` for `vt(4)` (“Newcons”) to WIP: upgrade FreeBSD `neo.kbd` for `vt(4)` (“Newcons”) 2023-05-31 10:52:11 +02:00
Owner

Moin! Habe den PR mal als „work in progress“ markiert, da anscheinend noch weitere Commits folg(t)en. Wenn der Branch bereit ist zum Angucken und Mergen, entferne das Präfix wieder.

Es gibt nicht soviele Neolinge mit installiertem FreeBSD, also kann eventuell ein, zwei Tage dauern, bis da jemand Zeit (und Lust) zum Testen hat.

Moin! Habe den PR mal als „work in progress“ markiert, da anscheinend noch weitere Commits folg(t)en. Wenn der Branch bereit ist zum Angucken und Mergen, entferne das Präfix wieder. Es gibt nicht soviele Neolinge mit installiertem FreeBSD, also kann eventuell ein, zwei Tage dauern, bis da jemand Zeit (und Lust) zum Testen hat.
Member

I tried to load the de.neo.kbd via kbdcontrol -l and syscons(4).
Unfortunately I get the error message: kbdcontrol: illegal definition line
My test machine was a fresh FreeBSD 13.2-RELEASEp0 on a amd64 architecture.
Maybe something has changed in the structure of kbdmap(5).
If I have time I will look into it myself to provide some more insights.
Also I will test it with vt(4) later, too.

I tried to load the `de.neo.kbd` via `kbdcontrol -l` and `syscons(4)`. Unfortunately I get the error message: `kbdcontrol: illegal definition line` My test machine was a fresh **FreeBSD 13.2-RELEASEp0** on a **amd64** architecture. Maybe something has changed in the structure of `kbdmap(5)`. If I have time I will look into it myself to provide some more insights. Also I will test it with `vt(4)` later, too.
root added 1 commit 2023-06-01 04:03:35 +02:00
Author
First-time contributor

[…] Unfortunately I get the error message: kbdcontrol: illegal definition line […]

I am sorry for sowing confusion.

  • german.neo.kbd will work with both, vt(4) and sc(4).
  • de.neo.kbd contains Unicode characters thus it will only work with vt(4). As of FreeBSD version 13.2 sc(4) does not support characters ≥ 256 so there should/will be an error.

Maybe we should limit support to vt(4) so there is no confusion? I resupplied german.neo.kbd (formerly known as neo.kbd) because I heavily rely on layer 4 arrow keys and Enter, but you only have one alt modifier at your disposal (so dapo as Mod3 became the compromise).

> […] Unfortunately I get the error message: `kbdcontrol: illegal definition line` […] I am sorry for sowing confusion. * `german.neo.kbd` will work with both, `vt(4)` and `sc(4)`. * `de.neo.kbd` contains Unicode characters thus it will only work with `vt(4)`. As of FreeBSD version 13.2 `sc(4)` does not support characters ≥ 256 so there should/will be an error. Maybe we should limit support to `vt(4)` so there is no confusion? I resupplied `german.neo.kbd` (formerly known as `neo.kbd`) because I heavily rely on layer 4 arrow keys and Enter, but you only have one `alt` modifier at your disposal (so `dapo` as Mod3 became the compromise).
root added 1 commit 2023-06-08 18:39:12 +02:00
This pull request is marked as a work in progress.
This branch is out-of-date with the base branch
You can also view command line instructions.

Step 1:

From your project repository, check out a new branch and test the changes.
git checkout -b root-upgrade_freebsd_kbd_to_newcons_aka_vt master
git pull upgrade_freebsd_kbd_to_newcons_aka_vt

Step 2:

Merge the changes and update on Gitea.
git checkout master
git merge --no-ff root-upgrade_freebsd_kbd_to_newcons_aka_vt
git push origin master
Sign in to join this conversation.
No description provided.