On Sat, 31 Jan 2009 07:25:25 +0100, "Christian Perrier"
<[email protected]> said:
> Quoting [email protected] ([email protected]):
>
> > 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 +O section\
+O Control_o Control_o Control_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
--
[email protected]
--
http://www.fastmail.fm - Accessible with your email software
or over the web
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]