diff options
author | yokota <yokota@FreeBSD.org> | 1997-05-15 05:43:59 +0000 |
---|---|---|
committer | yokota <yokota@FreeBSD.org> | 1997-05-15 05:43:59 +0000 |
commit | 3347d1b140b15275bc2bc10c7d432672c4a40ce8 (patch) | |
tree | 31268e439a64348629343e8f6cfb9d932bde5ddc /sys/isa/syscons.h | |
parent | ea4abe276a6357710cd8f12a7dc1d933f7370f4e (diff) | |
download | FreeBSD-src-3347d1b140b15275bc2bc10c7d432672c4a40ce8.zip FreeBSD-src-3347d1b140b15275bc2bc10c7d432672c4a40ce8.tar.gz |
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
Diffstat (limited to 'sys/isa/syscons.h')
-rw-r--r-- | sys/isa/syscons.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/isa/syscons.h b/sys/isa/syscons.h index 333fd86..047f5ad 100644 --- a/sys/isa/syscons.h +++ b/sys/isa/syscons.h @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id$ + * $Id: syscons.h,v 1.28 1997/02/22 09:37:17 peter Exp $ */ #ifndef _I386_ISA_SYSCONS_H_ @@ -98,9 +98,9 @@ #define CONSOLE_BUFSIZE 1024 #define PCBURST 128 #define FONT_NONE 1 -#define FONT_8 8 -#define FONT_14 14 -#define FONT_16 16 +#define FONT_8 2 +#define FONT_14 4 +#define FONT_16 8 #define HISTORY_SIZE 100*80 /* defines related to hardware addresses */ |