From owner-cvs-sys Thu Sep 4 16:05:45 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA28628 for cvs-sys-outgoing; Thu, 4 Sep 1997 16:05:45 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA28508; Thu, 4 Sep 1997 16:03:11 -0700 (PDT) From: Kazutaka YOKOTA Received: (from yokota@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id QAA01042; Thu, 4 Sep 1997 16:01:08 -0700 (PDT) Date: Thu, 4 Sep 1997 16:01:08 -0700 (PDT) Message-Id: <199709042301.QAA01042@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/isa syscons.c syscons.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk yokota 1997/09/04 16:01:08 PDT Modified files: sys/i386/isa syscons.c syscons.h Log: Add a new compile option SC_HISTORY_SIZE to specify the history buffer size in terms of lines (instead of bytes). When changing video mode in ioctl SW_XXX commands, syscons checks scp->history_size and allocate a history buffer at least as large as the new screen size. (This was unnecessary before, because HISTORY_SIZE was as large as 100 lines and this is bigger than the maximum screen size: 60 lines). Similar adjustment is done in ioctl CONS_HISTORY command too. PR: kern/4169 Reviewed by: sos Revision Changes Path 1.231 +14 -12 src/sys/i386/isa/syscons.c 1.33 +5 -2 src/sys/i386/isa/syscons.h