Adding a new keymap

2014-12-24 Thread Henrique Lengler
Hi, I would like to install a custom keymap on my system but I don`t know how since I cant find this information on the internet. I already used it on linux it is a kbd keymap. I get it here http://github.com/nandoflorestan/teclado-br Hom cat I add it to my system? Will I need to convert it

Re: Adding a new keymap

2014-12-24 Thread Maurice McCarthy
On Wed, Dec 24, 2014 at 03:06:11PM -0200 or thereabouts, Henrique Lengler wrote: Hi, I would like to install a custom keymap on my system but I don`t know how since I cant find this information on the internet. I already used it on linux it is a kbd keymap. I get it here

Re: Adding a new keymap

2014-12-24 Thread Henrique Lengler
On Wed, Dec 24, 2014 at 05:25:46PM +, Maurice McCarthy wrote: man setxkbmap man kbd So why does wsconsctl exist? Would not be better if I use it? Regards, -- Henrique Lengler

Re: Adding a new keymap

2014-12-24 Thread Maurice McCarthy
On 2014-12-24 17:31, Henrique Lengler wrote: On Wed, Dec 24, 2014 at 05:25:46PM +, Maurice McCarthy wrote: man setxkbmap man kbd So why does wsconsctl exist? Would not be better if I use it? Regards, Yes, it is likely better. Don't know if it changes X though. I'm not great with

Re: Adding a new keymap

2014-12-24 Thread Maurice McCarthy
See also http://www.openbsd.org/faq/faq7.html

Re: Adding a new keymap

2014-12-24 Thread Henrique Lengler
On Wed, Dec 24, 2014 at 07:56:37PM +, Maurice McCarthy wrote: Yes, it is likely better. Don't know if it changes X though. I'm not great with OpenBSD but had to go through some of the tortures you are having yourself, so I'm doing my best to help as I can. Regards Moss and Merry

Re: Adding a new keymap

2014-12-24 Thread Maurice McCarthy
It is really torturing. I can't find anything on the internet about how can I add a keymap to wscons. OpenBSD really lacks in its documentation. Regards, Always try the man pages first and the online faq. You will find the documentation 1000x better than anywhere else! That said it is still

Re: Adding a new keymap

2014-12-24 Thread Maurice McCarthy
$ man wsconsctl.conf WSCONSCTL.CONF(5) File Formats Manual WSCONSCTL.CONF(5) NAME wsconsctl.conf — wsconsctl variables to set at system startup DESCRIPTION wsconsctl.conf contains a list of wsconsctl(8) variable assignments that is read at system startup by rc(8) during the boot

Re: Adding a new keymap

2014-12-24 Thread Henrique Lengler
On Wed, Dec 24, 2014 at 08:10:51PM +, Maurice McCarthy wrote: Always try the man pages first and the online faq. You will find the documentation 1000x better than anywhere else! That said it is still a steep learning curve. :-) but worth it, so far as I'm concerned. I'm saying that I did

Re: Adding a new keymap

2014-12-24 Thread Henrique Lengler
On Wed, Dec 24, 2014 at 08:15:53PM +, Maurice McCarthy wrote: $ man wsconsctl.conf WSCONSCTL.CONF(5) File Formats Manual WSCONSCTL.CONF(5) NAME wsconsctl.conf ??? wsconsctl variables to set at system startup DESCRIPTION wsconsctl.conf contains a list of wsconsctl(8) variable

Re: Adding a new keymap

2014-12-24 Thread Maurice McCarthy
Many keymaps can be set during the installation: http://www.openbsd.org/faq/faq4.html#InstQuestions 4.5.2 - The Install Questions Now we start getting the questions that will define how the system is set up. You will note that in most cases, all the questions are asked up front, then the

Re: Adding a new keymap

2014-12-24 Thread Henrique Lengler
On Wed, Dec 24, 2014 at 08:21:31PM +, Maurice McCarthy wrote: Many keymaps can be set during the installation: I'm talking about add a new keymap. Not choose one that already exists. Looks like anyone know how the keymaps had been added to openbsd, they are just there. Regards, --

Re: Adding a new keymap

2014-12-24 Thread Maurice McCarthy
Ah, I am misunderstanding the question. I don't have an OpenBSD system in front of me. (At work over Christmas.) But I'll see if I can work something out. Regards Moss man xkbcomp If you have the data to compile a new map.

Re: Adding a new keymap

2014-12-24 Thread Ted Unangst
On Wed, Dec 24, 2014 at 15:06, Henrique Lengler wrote: Hi, I would like to install a custom keymap on my system but I don`t know how since I cant find this information on the internet. I already used it on linux it is a kbd keymap. I get it here

Re: Adding a new keymap

2014-12-24 Thread Henrique Lengler
On Wed, Dec 24, 2014 at 03:31:47PM -0500, Ted Unangst wrote: Add it to src/sys/dev/pckbc/wskbdmap_mfii.c and build a new kernel. WTF Where this src is located? -- Henrique Lengler

Re: Adding a new keymap

2014-12-24 Thread Adam Wolk
On Wed, Dec 24, 2014, at 10:04 PM, Henrique Lengler wrote: On Wed, Dec 24, 2014 at 03:31:47PM -0500, Ted Unangst wrote: Add it to src/sys/dev/pckbc/wskbdmap_mfii.c and build a new kernel. WTF Where this src is located? -- Henrique Lengler In the CVS source tree:

Re: Adding a new keymap

2014-12-24 Thread Dmitrij D. Czarkoff
Henrique Lengler said: I would like to install a custom keymap on my system Are you talking about X11 or console keymap? The former is defined in /usr/X11R6/share/X11/xkb/symbols/, the latter – in /usr/src/sys/dev/pckbc/wskbdmap_mfii.c. -- Dmitrij D. Czarkoff

Re: Adding a new keymap

2014-12-24 Thread Henrique Lengler
On Wed, Dec 24, 2014 at 11:11:20PM +0100, Dmitrij D. Czarkoff wrote: Henrique Lengler said: I would like to install a custom keymap on my system Are you talking about X11 or console keymap? The former is defined in /usr/X11R6/share/X11/xkb/symbols/, the latter ??? in

Re: Adding a new keymap

2014-12-24 Thread Mats O Jansson
I assume you want to create a keyboard map for brazilian dvorak i console mode Create a script that create a custom map. When the script is working it can be converted to source code. The script should look something like # Set encoding in a known state wsconsctl