Colemak forum

Forum for the Colemak keyboard layout.

You may not post on this forum because you're not logged in.

#1 24-May-2008 01:41:32

ghen
Member
From: Belgium
Registered: 26-Feb-2008
Posts: 210

Colemak now included with NetBSD

Hi,

last week I committed support for my (new) favourite keyboard layout to my (long-time) favourite OS: NetBSD. :-)

Since the wscons mapfile from the Colemak website doesn't work for USB keyboards (this is a general problem with mapfiles), I implemented the Colemak layout in the kernel (where Dvorak and others also live).  It's implemented (like Dvorak) as a "variant" to the US layout.  To enable it:

Code:

wsconsctl -w encoding=us.colemak

To switch back to US Qwerty:

Code:

wsconsctl -w encoding=us

This now works for PC (PS/2) keyboards, USB keyboards and I think also Bluetooth keyboards.  To do: add support for other keyboard drivers on other architectures, eg. Sun keyboards on SPARC.

I've also included the xkbmap file in NetBSD's X11 server.  So "setxkbmap colemak", or setting Option "XkbLayout" "colemak" in XF86Config will now work out of the box.

All this will be in the upcoming NetBSD 5.0 release (expected Q4 2008).  Update: it will be in NetBSD 4.1 as well (whichever comes first).

Last edited by ghen (08-Jun-2008 15:31:17)

Offline

 

#2 24-May-2008 08:36:18

Korivak
Member
Registered: 19-Oct-2006
Posts: 108

Re: Colemak now included with NetBSD

Very nice.  First Linux and now NetBSD.  Now we just need Mac OS X.

... and maybe that other one, too... but I'm not holding my breath on that.

Offline

 

#3 25-May-2008 10:55:16

ghen
Member
From: Belgium
Registered: 26-Feb-2008
Posts: 210

Re: Colemak now included with NetBSD

I forgot to mention: to enable it permanently, set "encoding us.colemak" in /etc/wscons.conf.

Last edited by ghen (25-May-2008 11:17:38)

Offline

 

#4 25-May-2008 12:32:05

DreymaR
Member
From: Bćrum, Norway
Registered: 13-Dec-2006
Posts: 1202
Website

Re: Colemak now included with NetBSD

This is simply awesome!


Better burden you cannot carry than man-wisdom much  --  Hávamál
My test score: http://hi-games.net/typing-test/watch?u=83

Offline

 

#5 27-May-2008 08:56:25

ghen
Member
From: Belgium
Registered: 26-Feb-2008
Posts: 210

Re: Colemak now included with NetBSD

More good news: Colemak support has now been included in FreeBSD, too (I asked a friend with FreeBSD commit access to add the keymap file from http://colemak.com/Unix).

I'll try to get it imported in OpenBSD (similar to NetBSD) and DragonFly (similar to FreeBSD) as well.

Offline

 

#6 09-Jun-2008 00:30:32

dewarrn1
New member
Registered: 09-Jun-2008
Posts: 2

Re: Colemak now included with NetBSD

Hey, that's really cool!  I'm a FreeBSDer, so I'm delighted that your buddy was able to commit the change.  Any idea if he got it into the 7-STABLE branch, 8-CURRENT, or both?  Many thanks!

Offline

 

#7 10-Jun-2008 12:55:06

ghen
Member
From: Belgium
Registered: 26-Feb-2008
Posts: 210

Re: Colemak now included with NetBSD

Both, and apparently even 6-STABLE, too. :-)

See http://www.freebsd.org/cgi/cvsweb.cgi/s … 15.acc.kbd

Offline

 

#8 14-Jun-2008 00:53:17

dewarrn1
New member
Registered: 09-Jun-2008
Posts: 2

Re: Colemak now included with NetBSD

Nicely done!  I feel a buildworld coming on...

Offline

 

#9 21-May-2009 07:12:25

ghen
Member
From: Belgium
Registered: 26-Feb-2008
Posts: 210

Re: Colemak now included with NetBSD

In NetBSD, you can get Colemak support as far as to the bootloader!
Just add the following to your installboot(8) command line:

Code:

-o keymap="FTGDSRP:OYJNKEFLIULftgdsrp;oyjnkefliul"

The bootloader maps each character to the next one, and this way you can type in Colemak even before your kernel is loaded. :-)

Offline

 

#10 27-Jun-2009 02:24:06

ghen
Member
From: Belgium
Registered: 26-Feb-2008
Posts: 210

Re: Colemak now included with NetBSD

Another OS down: DragonFlyBSD now also includes the Colemak keyboard layout (based on the FreeBSD implementation from the Colemak website), it will be in the 2.4 release.

For OpenBSD, a patch has been submitted (based on my earlier NetBSD kernel implementation of Colemak), but no response so far.

On the Linux front, kbd, providing the keytable files and related utilities for the Linux console, will include Colemak in their 1.15.1 release (the implementation taken from the Colemak website).  Linux distributions should then pick it up from there.

I think I should setup a new thread with a matrix of OS'es supporting Colemak. :-)

Offline

 

Board footer

Powered by PunBB

RSS Feed

Donations