]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
1) font loading (two fixes)
authoryokota <yokota@FreeBSD.org>
Thu, 15 May 1997 05:43:59 +0000 (05:43 +0000)
committeryokota <yokota@FreeBSD.org>
Thu, 15 May 1997 05:43:59 +0000 (05:43 +0000)
commit3347d1b140b15275bc2bc10c7d432672c4a40ce8
tree31268e439a64348629343e8f6cfb9d932bde5ddc
parentea4abe276a6357710cd8f12a7dc1d933f7370f4e
1) font loading (two fixes)

When an ioctl command SW_XXXX is issued, scioctl() checks if the font
appropriate for the specified mode is already loaded.  The check was
correctly done for 8 line and 16 line fonts, but not for 14 line font.

The symbols FONT_8, FONT_14 and FONT_16 were defined as numbers but
were sometimes treated as bit flags. They are now defined as bit
flags.

2) screen blinking (two fixes)

Removed a redundant call to timeout() in do_bell().

Don't let blink_screen() write to the video buffer if the screen is in
the graphics (UNKNOWN) mode.

3) screen saver timeout

The ioctl command CONS_BLANKTIME sets the screen saver's timeout.  The
value of zero will disable the screen saver. If the screen saver is
currently running it should be stopped.

4) border color and destructive cursor (two fixes)

The border color and the cursor type can be changed via escape
sequences.  But only VGA can change the border color and set the
cursor type to destructive (CHAR_CURSOR) in the current syscons.
scan_esc() failed to check this.

Reviewed by: sos
sys/dev/syscons/syscons.c
sys/dev/syscons/syscons.h
sys/i386/isa/syscons.c
sys/i386/isa/syscons.h
sys/isa/syscons.c
sys/isa/syscons.h