From owner-freebsd-bugs@FreeBSD.ORG Fri Aug 8 21:40:15 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E8AFA37B401 for ; Fri, 8 Aug 2003 21:40:15 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6803D43FDD for ; Fri, 8 Aug 2003 21:40:14 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h794eEUp074489 for ; Fri, 8 Aug 2003 21:40:14 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h794eE3F074488; Fri, 8 Aug 2003 21:40:14 -0700 (PDT) Resent-Date: Fri, 8 Aug 2003 21:40:14 -0700 (PDT) Resent-Message-Id: <200308090440.h794eE3F074488@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alexey Dokuchaev Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DC0F037B401 for ; Fri, 8 Aug 2003 21:39:02 -0700 (PDT) Received: from mx.nsu.ru (mx.nsu.ru [212.192.164.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id B8E6143FDD for ; Fri, 8 Aug 2003 21:39:01 -0700 (PDT) (envelope-from danfe@regency.nsu.ru) Received: from mail by mx.nsu.ru with drweb-scanned (Exim 3.35 #1 (Debian)) id 19lLWm-0007qF-00 for ; Sat, 09 Aug 2003 11:40:28 +0700 Received: from regency.nsu.ru ([193.124.210.26]) by mx.nsu.ru with esmtp (Exim 3.35 #1 (Debian)) id 19lLWm-0007oL-00 for ; Sat, 09 Aug 2003 11:40:28 +0700 Received: from regency.nsu.ru (localhost [127.0.0.1]) by regency.nsu.ru (8.12.9/8.12.9) with ESMTP id h794cuOv013007 for ; Sat, 9 Aug 2003 11:38:56 +0700 (NOVST) (envelope-from danfe@regency.nsu.ru) Received: (from danfe@localhost) by regency.nsu.ru (8.12.9/8.12.9/Submit) id h794ctv4012691; Sat, 9 Aug 2003 11:38:55 +0700 (NOVST) Message-Id: <200308090438.h794ctv4012691@regency.nsu.ru> Date: Sat, 9 Aug 2003 11:38:55 +0700 (NOVST) From: Alexey Dokuchaev To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/55408: Fix for VESA_800x600 mode for vidcontrol(1) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Alexey Dokuchaev List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Aug 2003 04:40:16 -0000 >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: