Re: vcsa devices in 2.1.110

Martin Mares (mj@albireo.ucw.cz)
Fri, 24 Jul 1998 12:13:28 +0200


> I'm using pre-2.1.111-1 right know and it seems that the bug is fixed
> there. But there are still some problems. The first one that I think
> everybody noticed is if you try to switch to an unallocated console then
> the cursor disappears(because of the call to hide_cursor(console_fg) which
> is done just before change_console(want_console) in console_bh() from
> console.c). I fixed that by moving the call to vt.c: change_console just
> right before complete_change_console(of course I changed the prototype for
> hide_cursor) but I'm not sure that this is the right way.

Already fixed in my tree.

> The second problem that I noticed is happening when I'm running rhide(not
> me.. a friend, because I like vim) and the current position of cursor gets a
> wrong character when moving it. I'm not sure what's happening there but it
> seems a bug because this didn't happen with 2.1.106 or before.

Please try the patch below.

Have a nice fortnight

-- 
Martin `MJ' Mares   <mj@ucw.cz>   http://atrey.karlin.mff.cuni.cz/~mj/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
"Windows Error: 007 - System price error.  Inadequate money spent."

--- console.c.mj Wed Jul 22 23:02:19 1998 +++ console.c Fri Jul 24 12:12:55 1998 @@ -431,14 +431,14 @@ static int softcursor_original; -static void add_softcursor(int currcons) +static inline void add_softcursor(int currcons) { int i = scr_readw((u16 *) pos); u32 type = cursor_type; + if (! (type & 0x10)) return; if (softcursor_original != -1) return; softcursor_original = i; - if (! (type & 0x10)) return; i |= ((type >> 8) & 0xff00 ); i ^= ((type) & 0xff00 ); if ((type & 0x20) && ((softcursor_original & 0x7000) == (i & 0x7000))) i ^= 0x7000;

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html