Bug#513559: console-data: Canadian French keyboard and capslock

2009-02-23 Thread whollygoat

On Mon, 16 Feb 2009 18:35:05 +0100, Christian Perrier
bubu...@debian.org said:
 forcemerge 417850 499608 513559
 thanks
 
 Quoting whollyg...@letterboxes.org (whollyg...@letterboxes.org):
 
  When keymaps used to be in /usr/lib/kbd/keytables, I used to
  be able to fix this by changing the cf.map file using the letter
  o as an example, from:
  
 keycode 24 = o   O   section
  
  to:
  
 keycode 24 = o
altgr keycode 24 = section
  
  I tried something similar by modifying 
  /usr/share/keymaps/i386/qwerty/cf.map.gz by adding:
  
 keycode 24 = o
  
  above the line
  
 altgr keycode 24 = section
  
  (and the corresonding lines for p and m).  That fixed
  the annoying caps lock upper case problem, but the altgr
  characters were printed as white blanks rather the the 
  proper symbol.
 
 
 Actually, even running loadkeys cf without changing the kmap file
 will fix the problem. See #417850 and #499608.
 
 If you dpkg-reconfigure console-data, then you'll get the problem
 for cf and Caps Lock won't work on o and p.
 
 However, if just after this you run loadkays cf, then it will work.

Strictly speaking, yes, but then it just moves the problem elsewhere
as described previously: the altgr characters appear as empty squares.
They work as expected when the caps lock don't.  However, I have found 
a workaround.

I don't know why this works, but it does.  First, replace 
/etc/boottime.kmap.gz with an editted copy of 
/usr/share/keymaps/i386/qwerty/cf.kmap.gz.  It was editted by replacing
all the include statements with the files so included:
/usr/share/keymaps/i386/include/qwerty-layout.inc.gz
/usr/share/keymaps/i386/include/linux-with-alt-and-altgr.inc.gz
and /usr/share/keymaps/i386/include/linux-keys-bare.inc.gz (actually 
included by linux-with-alt-and-altgr.inc.gz)

Second, move /etc/console-tools/remap out of the way.  This file is 
sourced by /etc/init.d/console-screen.sh.  On my system is all but empty
(3 commented lines, two blank lines) but it seems to mess things up.

This allows me to get OPM when caps lock is on and to get the expected
altgr characters for those three keys instead of blank squares.

Hope this can help someone else.

Thanks for looking into this even though it looks like it is not your
package that has the problem.

wg

 
 The very same stands for the br-abnt2 keymap.
 
 So, as a conclusion, these 3 bugs are the exact same one. Where it
 might be is a mystery for mebut let's at least clean this stuff
 out. These bugs are the same one.
 
 
-- 
  
  whollyg...@letterboxes.org

-- 
http://www.fastmail.fm - I mean, what is it about a decent email service?




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#513559: console-data: Canadian French keyboard and capslock

2009-02-16 Thread Christian Perrier
forcemerge 417850 499608 513559
thanks

Quoting whollyg...@letterboxes.org (whollyg...@letterboxes.org):

 When keymaps used to be in /usr/lib/kbd/keytables, I used to
 be able to fix this by changing the cf.map file using the letter
 o as an example, from:
 
keycode 24 = o   O   section
 
 to:
 
keycode 24 = o
   altgr keycode 24 = section
 
 I tried something similar by modifying 
 /usr/share/keymaps/i386/qwerty/cf.map.gz by adding:
 
keycode 24 = o
 
 above the line
 
altgr keycode 24 = section
 
 (and the corresonding lines for p and m).  That fixed
 the annoying caps lock upper case problem, but the altgr
 characters were printed as white blanks rather the the 
 proper symbol.


Actually, even running loadkeys cf without changing the kmap file
will fix the problem. See #417850 and #499608.

If you dpkg-reconfigure console-data, then you'll get the problem
for cf and Caps Lock won't work on o and p.

However, if just after this you run loadkays cf, then it will work.

The very same stands for the br-abnt2 keymap.

So, as a conclusion, these 3 bugs are the exact same one. Where it
might be is a mystery for mebut let's at least clean this stuff
out. These bugs are the same one.




signature.asc
Description: Digital signature


Bug#499608: Bug#513559: console-data: Canadian French keyboard and capslock

2009-01-31 Thread whollygoat

On Sat, 31 Jan 2009 07:25:25 +0100, Christian Perrier
bubu...@debian.org said:
 Quoting whollyg...@letterboxes.org (whollyg...@letterboxes.org):
 
  Did you really mean for me to try the kbd package, thus
  auto uninstalling the console-tools package?
 
 
 Yes.

This made things worse.  Initially it didn't do much
more than the modifications I did to the cf.kmap.gz
file, ie., the altgr characters were printed as white
boxes.  This was after restarting /etc/init.d/keymap.sh
and /etc/init.d/console-screen.sh.  For some reason I
decided to do it the MS way and rebooted.  That is when
things got really screwy.

- Altgr symbols for o, p and m keys were all preceded by 
  a circumflex A.  

- Console graphics, eg. when I started aptitude, were all 
  messed up.  
* Garbage was left on the screen after all the initial 
  setup was finished (things like setting up the view, 
  creating the tag database).
* The menu across the top was just a black field until
  F10 was pressed, then only the first menu heading
  appeared.
* The box characters down the left side of the information
  window were all black ? in white ovals, and something
  else down the right side.
* When I entered / to search for a package name, the 
  dialog box was drawn with some other character, the 
  alignment was all messed up, and there was lots of
  garbage in the text entry field.
* Etc...

Given this, I decided to retry the kbd-compat pkg with a reboot
I can't remember it if screwed up box drawing graphics (I've tried
somemany things between then and this report) but the altgr chars
were printed as three characters.  There was a + a fraction,
I think either ½ or ¼, and another character.  It didn't fix
the uppercase-with-capslock-on problem for o, p and m.

I started poking around in /etc and found /etc/console/boottime.kbd.gz.
It is loaded by /etc/init.d/keymap.sh and has the lines like the 
following for o, p and m

   keycode  24 = +o+Osection\
 +OControl_oControl_oControl_o\
 Meta_o   Meta_O   Meta_Control_o

This is similar to what I described in the initial bug report
regarding the map files that used to be found in /usr/lib/kbd/keytables/
so I tried modifying it like

   keycode 24 =o
   altgr keycode 24 = section

then ran loadkeys on the modified version, and it worked like a 
charm.  But, when I tried to get it to happen from boot, I had no
luck.  I tried soft linking boottime.kmap.gz to the modified 
file, cp'ing the modified file to boottime.kmap.gz, tried cp'ing
/usr/share/keymaps/i386/qwerty/cf.kmap.gz to boottime.kmap.gz.

Now, I can't even get it to work properly by loading the modified
version manually after reboot.  This time however, I don't get
the white blanks, but no character appears.  There is something
non-printing there though.  For example if it type word then
three times altgr+any of o p m, and try to backspace to delete
word I have to hit backspace four times before the d will
disappear.

Should I be reporting this problem against a different package?
Which one?  dpkg -S boottime.kmap.gz didn't show any results, so 
I don't know where it comes from.  dpkg -S keymap.sh returns
console-common.

Any more advice?

thanks,

WG
-- 
  
  whollyg...@letterboxes.org

-- 
http://www.fastmail.fm - Accessible with your email software
  or over the web




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#499608: Bug#513559: console-data: Canadian French keyboard and capslock

2009-01-31 Thread Christian Perrier
Quoting whollyg...@letterboxes.org (whollyg...@letterboxes.org):
 
 On Sat, 31 Jan 2009 07:25:25 +0100, Christian Perrier
 bubu...@debian.org said:
  Quoting whollyg...@letterboxes.org (whollyg...@letterboxes.org):
  
   Did you really mean for me to try the kbd package, thus
   auto uninstalling the console-tools package?
  
  
  Yes.
 
 This made things worse.  Initially it didn't do much

You apparently also have a problem with UTF-8 at the console.




signature.asc
Description: Digital signature


Bug#513559: console-data: Canadian French keyboard and capslock

2009-01-30 Thread Christian Perrier
Quoting whollyg...@letterboxes.org (whollyg...@letterboxes.org):

 When capslock is on, the letters o, p and m remain lowercase
 unless the shift key is pressed.  These are the only letter
 keys that do this.  They are also the only letter keys that
 have altgr values assigned to them (the other altgr values
 are assigned to non-letter keys)
 
 When keymaps used to be in /usr/lib/kbd/keytables, I used to
 be able to fix this by changing the cf.map file using the letter
 o as an example, from:
 
keycode 24 = o   O   section
 
 to:
 
keycode 24 = o
   altgr keycode 24 = section
 
 I tried something similar by modifying 
 /usr/share/keymaps/i386/qwerty/cf.map.gz by adding:
 
keycode 24 = o
 
 above the line
 
altgr keycode 24 = section
 
 (and the corresonding lines for p and m).  That fixed
 the annoying caps lock upper case problem, but the altgr
 characters were printed as white blanks rather the the 
 proper symbol.
 
 This problem does not exist under Xorg, but I am usually
 on the console, so if there were a fix available, it
 would be appreciated greatly.


That problem seems to be another incarnation of #499608.

Could you try installing kbd?




signature.asc
Description: Digital signature


Bug#513559: console-data: Canadian French keyboard and capslock

2009-01-30 Thread whollygoat

On Fri, 30 Jan 2009 08:57:17 +0100, Christian Perrier
bubu...@debian.org said:
 Quoting whollyg...@letterboxes.org (whollyg...@letterboxes.org):
 
  When capslock is on, the letters o, p and m remain lowercase
  unless the shift key is pressed.  These are the only letter
  keys that do this.  They are also the only letter keys that
  have altgr values assigned to them (the other altgr values
  are assigned to non-letter keys)
  
  When keymaps used to be in /usr/lib/kbd/keytables, I used to
  be able to fix this by changing the cf.map file using the letter
  o as an example, from:
  
 keycode 24 = o   O   section
  
  to:
  
 keycode 24 = o
altgr keycode 24 = section
  
  I tried something similar by modifying 
  /usr/share/keymaps/i386/qwerty/cf.map.gz by adding:
  
 keycode 24 = o
  
  above the line
  
 altgr keycode 24 = section
  
  (and the corresonding lines for p and m).  That fixed
  the annoying caps lock upper case problem, but the altgr
  characters were printed as white blanks rather the the 
  proper symbol.
  
  This problem does not exist under Xorg, but I am usually
  on the console, so if there were a fix available, it
  would be appreciated greatly.
 
 
 That problem seems to be another incarnation of #499608.
 
 Could you try installing kbd?

That wants to uninstall console-tools.  Poking around in 
aptitude I see two versions listed under the kbd tab---
1.12.17 and kbd-compat 1:0.2.3dbs-65 so I installed kbd-compat,
and restarted /etc/init.d/console-screen.sh and 
/etc/init.d/keymap.sh.  That has the same effect as when I
modified cf.map.gz as described in the bug report: it fixes
the OPM characters in caps-lock mode, but the altgr symbols
now appear as solid white blocks.

Did you really mean for me to try the kbd package, thus
auto uninstalling the console-tools package?

Thanks.
-- 
  
  whollyg...@letterboxes.org

-- 
http://www.fastmail.fm - And now for something completely different…




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#499608: Bug#513559: console-data: Canadian French keyboard and capslock

2009-01-30 Thread Christian Perrier
Quoting whollyg...@letterboxes.org (whollyg...@letterboxes.org):

 Did you really mean for me to try the kbd package, thus
 auto uninstalling the console-tools package?


Yes.




signature.asc
Description: Digital signature


Bug#513559: console-data: Canadian French keyboard and capslock

2009-01-29 Thread whollygoat
Package: console-data
Version: 2:1.01-7
Severity: normal

*** Please type your report below this line ***


-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-686
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)

Versions of packages console-data depends on:
ii  debconf [debconf-2.0]1.5.11etch2 Debian configuration
management sy

Versions of packages console-data recommends:
ii  console-common 0.7.69Basic infrastructure for
text cons
ii  console-tools  1:0.2.3dbs-65 Linux console and font
utilities

-- debconf information:
  console-data/keymap/qwertz/german/standard/keymap:
  console-data/keymap/qwerty/estonian/standard/keymap:
  console-data/keymap/qwertz/german/apple_usb/keymap:
  console-data/keymap/qwertz/swiss/german/keymap:
  console-data/keymap/qwerty/swedish/variant:
  console-data/keymap/qwertz/serbian/standard/keymap:
  console-data/keymap/qwertz/serbian/variant:
  console-data/keymap/template/layout:
  console-data/keymap/qwerty/layout:
  console-data/keymap/azerty/layout:
  console-data/keymap/azerty/french/variant:
  console-data/keymap/qwerty/lithuanian/standard/keymap:
  console-data/keymap/qwerty/finnish/variant:
  console-data/keymap/qwerty/thai/standard/keymap:
  console-data/keymap/qwertz/czech/variant:
  console-data/keymap/qwerty/portugese/standard/keymap:
  console-data/keymap/fggiod/turkish/standard/keymap:
  console-data/keymap/qwerty/russian/standard/keymap:
  console-data/keymap/qwerty/swedish/apple_usb/keymap:
  console-data/keymap/family: qwerty
  console-data/keymap/qwerty/brazilian/br-latin1/keymap:
  console-data/keymap/qwerty/estonian/variant:
  console-data/keymap/qwertz/swiss/french/keymap:
  console-data/keymap/dvorak/layout:
  console-keymaps-amiga/keymap:
  console-keymaps-at/keymap:
  console-data/keymap/qwerty/romanian/standard/keymap:
  console-data/keymap/qwerty/finnish/apple_usb/keymap:
  console-data/keymap/qwertz/swiss/variant:
  console-data/keymap/qwerty/norwegian/variant:
  console-data/keymap/qwerty/slovak/variant:
  console-data/keymap/qwerty/canadian/french/keymap:
  console-data/keymap/qwerty/hungarian/variant:
  console-data/keymap/qwerty/macedonian/variant:
  console-data/keymap/qwertz/german/variant:
  console-data/keymap/azerty/belgian/apple_usb/keymap:
  console-data/keymap/qwerty/brazilian/standard/keymap:
  console-data/keymap/qwertz/slovene/standard/keymap:
  console-data/keymap/qwerty/british/variant:
  console-data/keymap/qwerty/ukrainian/variant:
  console-data/keymap/qwerty/icelandic/standard/keymap:
  console-data/keymap/qwerty/british/apple_usb/keymap:
  console-data/keymap/qwertz/slovak/variant:
  console-keymaps-usb/keymap:
  console-data/keymap/qwerty/bulgarian/standard/keymap:
  console-keymaps-acorn/keymap:
  console-data/keymap/qwerty/czech/standard/keymap:
  console-data/keymap/qwerty/latvian/standard/keymap:
  console-data/keymap/qwerty/latin_american/variant:
  console-data/keymap/qwerty/spanish/apple_usb/keymap:
  console-data/keymap/dvorak/unknown/right_single-handed/keymap:
  console-data/keymap/qwerty/us_american/apple_usb/keymap:
  console-data/keymap/powerpcadb:
  console-data/keymap/qwerty/serbian/variant:
  console-data/keymap/azerty/belgian/standard/keymap:
  console-data/keymap/qwertz/croat/variant:
  console-data/keymap/qwertz/czech/standard/keymap:
  console-data/keymap/qwerty/canadian/english/keymap:
  console-data/keymap/fggiod/turkish/variant:
  console-keymaps-sun/keymap:
  console-data/keymap/template/variant:
  console-data/keymap/qwerty/romanian/variant:
  console-data/keymap/qwerty/greek/variant:
  console-data/keymap/qwerty/bulgarian/variant:
  console-data/keymap/dvorak/unknown/standard/keymap:
  console-data/keymap/qwerty/polish/variant:
  console-data/keymap/dvorak/unknown/left_single-handed/keymap:
  console-data/keymap/qwerty/turkish/variant:
  console-data/keymap/ignored:
  console-data/keymap/qwerty/icelandic/variant:
  console-data/keymap/azerty/belgian/wang/keymap:
  console-data/keymap/qwerty/danish/variant:
  console-data/keymap/qwerty/finnish/standard/keymap:
  console-keymaps-dec/keymap:
  console-data/keymap/qwerty/bulgarian/cp_1251_coding/keymap:
  console-data/keymap/qwerty/latvian/variant:
  console-data/keymap/dvorak/unknown/variant:
  console-data/keymap/qwerty/hebrew/variant:
  console-data/keymap/qwerty/lithuanian/variant:
  console-data/keymap/qwerty/hebrew/standard/keymap:
  console-data/keymap/qwertz/hungarian/standard/keymap:
  console-data/keymap/fggiod/layout:
  console-data/keymap/qwerty/norwegian/standard/keymap:
  console-data/keymap/qwertz/slovak/standard/keymap:
  console-data/keymap/qwerty/british/standard/keymap:
  console-data/keymap/qwerty/us_american/standard/keymap:
  console-data/keymap/qwertz/hungarian/variant:
  console-data/keymap/qwerty/czech/variant: