Skip to contentSkip to conversation

strange console behavior in 2.4

DISCUSSION Josh Huber 2 participants 2 messages Sep 12, 2000

lore
Share & tools
lore

Josh Huber

author
#0 lore raw

I've been playing with 2.4 on my G4, and everything's working great, except for text selection in console mode.

If I use gpm to select text in console mode it's almost as if a completely different (and very wrong) character map is being used. The characters that have been selected not only invert color, but they change to different ones. Most of them look like high ascii chars, like smilely faces etc.

Anyone else seeing this? A 2.2 kernel on the same system works great.

btw, I'm running debian potato.

Signature · 3 lines
Josh
| [email protected] |
1024D/6B21489A 61F0 6138 BE7B FEBF A223  E9D1 BFE1 2065 6B21 489A
#1 lore raw
Quoted 8 lines · Josh Huber

I've been playing with 2.4 on my G4, and everything's working great, except for text selection in console mode.

If I use gpm to select text in console mode it's almost as if a completely different (and very wrong) character map is being used. The characters that have been selected not only invert color, but they change to different ones. Most of them look like high ascii chars, like smilely faces etc.

The shadow screen contains 2 bytes for each character cell, one containing the character code and one containing the attribute. Does it look like the attributes and characters got exchanged?

If yes, look for changes in the various scr_{read,write}() functions and in drivers/char/vc_screen.c.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/