Re: 2.1.111 Console Almost O.K. on Mono

Martin Mares (mj@albireo.ucw.cz)
Mon, 27 Jul 1998 00:06:31 +0200


Hello,

> The horrid underlining which was a feature with the monochrome Linux
> vt's on the previous two releases of the kernel has gone. Unfortunately,
> so has the cursor. A couple of brief experiments didn't result in
> me finding a way to turn it on.

Please try this patch.

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
"In accord to UNIX philosophy, PERL gives you enough rope to hang yourself." -- Larry Wall

--- drivers/video/vgacon.c.mj Mon Jul 27 00:02:51 1998 +++ drivers/video/vgacon.c Mon Jul 27 00:05:46 1998 @@ -190,6 +190,7 @@ display_desc = "*MDA"; request_region(0x3b0,12,"mda"); request_region(0x3bf, 1,"mda"); + vga_video_font_height = 16; } } else /* If not, it is color. */ @@ -256,6 +257,7 @@ vga_vram_end = 0xba000; display_desc = "*CGA"; request_region(0x3d4,2,"cga"); + vga_video_font_height = 8; } } vga_vram_base = VGA_MAP_MEM(vga_vram_base); @@ -284,11 +286,11 @@ || vga_video_type == VIDEO_TYPE_EGAM) { vga_hardscroll_enabled = vga_hardscroll_user_enable; vga_default_font_height = ORIG_VIDEO_POINTS; - vga_video_font_height = video_font_height = ORIG_VIDEO_POINTS; + vga_video_font_height = ORIG_VIDEO_POINTS; /* This may be suboptimal but is a safe bet - go with it */ video_scan_lines = - video_font_height * vga_video_num_lines; - } + vga_video_font_height * vga_video_num_lines; + video_font_height = vga_video_font_height; return display_desc; }

- 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