Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Aug 2003 11:38:55 +0700 (NOVST)
From:      Alexey Dokuchaev <danfe@regency.nsu.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   bin/55408: Fix for VESA_800x600 mode for vidcontrol(1)
Message-ID:  <200308090438.h794ctv4012691@regency.nsu.ru>
Resent-Message-ID: <200308090440.h794eE3F074488@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308090438.h794ctv4012691>