diff options
author | yokota <yokota@FreeBSD.org> | 1997-09-04 23:01:06 +0000 |
---|---|---|
committer | yokota <yokota@FreeBSD.org> | 1997-09-04 23:01:06 +0000 |
commit | ec0b9f839dbbd355210672792d5b803856b38c75 (patch) | |
tree | ca8d2d6f2fac3265b5b0372df1b03bd0644b2173 /sys/kern/kern_module.c | |
parent | 930fa4a4383c1260c42a0b5ae7981c9b1471552d (diff) | |
download | FreeBSD-src-ec0b9f839dbbd355210672792d5b803856b38c75.zip FreeBSD-src-ec0b9f839dbbd355210672792d5b803856b38c75.tar.gz |
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
Diffstat (limited to 'sys/kern/kern_module.c')
0 files changed, 0 insertions, 0 deletions