bin/55408: Fix for VESA_800x600 mode for vidcontrol(1)

Alexey Dokuchaev danfe at regency.nsu.ru
Fri Aug 8 21:40:16 PDT 2003


>Number:         55408
>Category:       bin
>Synopsis:       Fix for VESA_800x600 mode for vidcontrol(1)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 08 21:40:13 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Alexey Dokuchaev
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
CNIT NSU
>Environment:
System: FreeBSD regency.nsu.ru 4.8-STABLE FreeBSD 4.8-STABLE #0: Fri Aug 8 20:27:14 NOVST 2003 root at regency.nsu.ru:/usr/obj/usr/src/sys/REGENCY i386
>Description:
When making console go 800x600 raster mode (via vidcontrol(1)) for
better resolution (800x600 allows 100x37 chars since most common char is
8x16 pixels), all one gets is small 80x25 area in the center of screen.
The patch attached is being used by lost of people for some decent time
already (few years) and no one had reported any problem with it, thus I
decided it's probably time to get it in CVS already.
>How-To-Repeat:
Just try it yourself and see ;-)
>Fix:
%%%
--- vidcontrol.c.orig	Sat Aug  9 11:31:28 2003
+++ vidcontrol.c	Sat Aug  9 11:31:10 2003
@@ -46,8 +46,8 @@
 #include "path.h"
 #include "decode.h"
 
-#define _VESA_800x600_DFL_COLS 80
-#define _VESA_800x600_DFL_ROWS 25
+#define _VESA_800x600_DFL_COLS 100
+#define _VESA_800x600_DFL_ROWS 37
 #define _VESA_800x600_DFL_FNSZ 16
 
 #define DUMP_RAW	0

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list