keyboard layout on macppc
I have just installed OpenBSD 5.5 on ibook G3 12'' 800Mhz. My problem is italian keyboard layout. $ wsconsctl encoding=it wsconsctl: encoding it: no such variable I don't understand why, on i386 and amd64 works well, I have problems only on macppc arch. Many thanks. -- Information wants to be free
Re: keyboard layout on macppc
On Mon, Jun 09, 2014 at 02:12:05PM +0200, luca suriano wrote: I have just installed OpenBSD 5.5 on ibook G3 12'' 800Mhz. My problem is italian keyboard layout. $ wsconsctl encoding=it wsconsctl: encoding it: no such variable I think this should be 'keyboard.encoding', not just 'encoding'. --
Re: keyboard layout on macppc
* - 13:26:02 (Monday 09 June 2014) * - Zé Loff: $ wsconsctl encoding=it wsconsctl: encoding it: no such variable I think this should be 'keyboard.encoding', not just 'encoding'. I tried but it doesn't work. $ wsconsctl keyboard.encoding=it wsconsctl: WSKBDIO_SETENCODING: Invalid argument -- Information wants to be free
Re: keyboard layout on macppc
On 09.06.2014 14:43, luca suriano wrote: * - 13:26:02 (Monday 09 June 2014) * - Zé Loff: $ wsconsctl encoding=it wsconsctl: encoding it: no such variable I think this should be 'keyboard.encoding', not just 'encoding'. I tried but it doesn't work. $ wsconsctl keyboard.encoding=it wsconsctl: WSKBDIO_SETENCODING: Invalid argument Try kbd -l just to see what's available. Because looking here http://www.openbsd.org/cgi-bin/cvsweb/src/sbin/wsconsctl/keysym.c?rev=1.7 I can see that IT is not present in base system. Of course you can still switch to IT in X with setxkbmap
Re: keyboard layout on macppc
On Mon, 9 Jun 2014, bodie wrote: On 09.06.2014 14:43, luca suriano wrote: * - 13:26:02 (Monday 09 June 2014) * - Zé Loff: $ wsconsctl encoding=it wsconsctl: encoding it: no such variable I think this should be 'keyboard.encoding', not just 'encoding'. I tried but it doesn't work. $ wsconsctl keyboard.encoding=it wsconsctl: WSKBDIO_SETENCODING: Invalid argument Try kbd -l just to see what's available. Because looking here http://www.openbsd.org/cgi-bin/cvsweb/src/sbin/wsconsctl/keysym.c?rev=1.7 I can see that IT is not present in base system. Of course you can still switch to IT in X with setxkbmap You can see that IT is not present in base system? Don't drive a car! IT is present. see http://.openbsd.org/cgi-bin/cvsweb/src/sys/dev/wscons/wsksymdef.h?rev=1.36 The following is my guess since i havn't seen a dmesg: The computer has the keyboard hanging on adb, and adb keyboard driver doesn't have an IT layout. The later verified. -moj
Re: keyboard layout on macppc
* - 16:50:39 (Monday 09 June 2014) * - Mats O Jansson: [...] You can see that IT is not present in base system? Don't drive a car! IT is present. see http://.openbsd.org/cgi-bin/cvsweb/src/sys/dev/wscons/wsksymdef.h?rev=1.36 The following is my guess since i havn't seen a dmesg: The computer has the keyboard hanging on adb, and adb keyboard driver doesn't have an IT layout. The later verified. Now I'm a little bit confused, I don't understand if there is a way to set up Italian keyboard layout. There is akbd Apple Keyboard Device and an item is Apple ibook Keyboard, can i use it for my purpose? -- Information wants to be free
Re: keyboard layout on macppc
On Mon, 9 Jun 2014, luca suriano wrote: Now I'm a little bit confused, I don't understand if there is a way to set up Italian keyboard layout. There is akbd Apple Keyboard Device and an item is Apple ibook Keyboard, can i use it for my purpose? Yes, set encoding to e.g. US. Modify keyboard.map with wsconsctl as shown by the man page. Do it as a script so you can redo it when ever needed. wsconsctl keyboard.map will show the current map. When you have something useful it would be easy to convert it to the internal keyboard map format in sys/dev/adb/akbdmap.h. Most large maps starts with US and modifies it. -moj -- Information wants to be free
Re: keyboard layout on macppc
* - 19:04:17 (Monday 09 June 2014) * - Mats O Jansson: Yes, set encoding to e.g. US. Modify keyboard.map with wsconsctl as shown by the man page. Do it as a script so you can redo it when ever needed. wsconsctl keyboard.map will show the current map. When you have something useful it would be easy to convert it to the internal keyboard map format in sys/dev/adb/akbdmap.h. Most large maps starts with US and modifies it. Many thanks. -- Information wants to be free