Re: Keymaps in virtual consoles.

2013-09-19 Thread Robert Millan
Mats Erik Andersson: > I stumbled on an interesting phenomenon by a simple > > $ date > > In Swedish, Monday needs "aring", i.e., "0xe5" in Latin1, > and "0xc3 0xa5" with UTF-8, while Saturday and Sunday > need "odiareses", i.e., "0xf6" and "0xc3 0xb6", respecively. > > Now, in a console with

Re: Keymaps in virtual consoles.

2013-09-19 Thread Mats Erik Andersson
Hello all, fredag den 13 september 2013 klockan 23:38 skrev Steven Chamberlain detta: > On 13/09/13 22:20, Steven Chamberlain wrote: > > There is a visible effect of changing layout (like german.iso changes to > qwertz layout, fr.iso to azerty, and swedish.iso > > There's some visible effect (li

Re: Keymaps in virtual consoles.

2013-09-13 Thread Steven Chamberlain
On 13/09/13 22:20, Steven Chamberlain wrote: > kbdcontrol seems to be doing some ioctls which fail with ENOTTY even > though I use "< /dev/console" Actually the failing ioctl is: > #define TIOCGETA_IOR('t', 19, struct termios) /* get termios struct */ I've no idea why that is being used,

Re: Keymaps in virtual consoles.

2013-09-13 Thread Steven Chamberlain
On 13/09/13 22:02, Robert Millan wrote: > Steven Chamberlain: >> I think it requires the kernel option TEKEN_UTF8. [...] > > AFAIK the kernel settings have been correct for a long time. Actually yes it's enabled already in wheezy, hmmm. kbdcontrol seems to be doing some ioctls which fail with EN

Re: Keymaps in virtual consoles.

2013-09-13 Thread Robert Millan
Steven Chamberlain: > I think it requires the kernel option TEKEN_UTF8. AIUI it was disabled > because our ncurses didn't seem to work with it (Bug #559364). Maybe > that was in fact a mistake; maybe changing the keymap really broke > ncurses but UTF-8 console rendering is fine? AFAIK the kerne

Re: Keymaps in virtual consoles.

2013-09-11 Thread Steven Chamberlain
Hi, On 11/09/13 12:37, Mats Erik Andersson wrote: >keymap="swedish.iso.kbd" Are you able to activate a keymap with "kbdcontrol -l /usr/share/syscons/keymaps/$keymap"? Does it have any effect? I imagine some further modifications may be needed or else some keys such as backspace or cursors m

Keymaps in virtual consoles.

2013-09-11 Thread Mats Erik Andersson
Dear all, I need to return to the annoying matter of non-en_US keymaps for use in virtual keyboards. As a typical case is a desire to be able to use scandinavian vowels in a virtual consoles, which are present on the keyboard, and are in fact the the only keys not working properly. Remember that t