[SDL] fbcon: Keysyms wrong & cannot switch VT after hang

Niels Roest npr at hetnet.nl
Fri Jun 2 14:03:02 PDT 2000


As the subject states, two problems.
Hopefully someone has some suggestions.

Both on the fbcon-target.

1) The keys are mapped completely wrong. I know, I've got
a powermac, that's why. I resolved it by editting em all,
but e.g. libgii does this much nicer, by questioning the 
kernel for the mappings. I don't see this as a big problem
(I just patch the thing) but maybe someone likes to code
this kernel questioning to settle this for good.

(Maybe I should ask this somewhere else)
2) This is more annoying. Sometimes, when coding, you
make a mistake. You know, sometimes. The problem is that
when your program hangs, it's hard to quit. And, in the
end you resort to kill -9 BUT this is not possible with
fbcon, as you cannot switch consoles. My current
solution, debug in X11 and play in fbcon is not very
pleasing. Any suggestions? Keys in a seperate thread?
Autokill after a certain idle period?

Thanks for responses,
Niels



More information about the SDL mailing list