Date: Thu, 4 Sep 1997 16:01:08 -0700 (PDT) From: Kazutaka YOKOTA <yokota@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 Message-ID: <199709042301.QAA01042@freefall.freebsd.org>
index | next in thread | raw e-mail
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
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709042301.QAA01042>
