summaryrefslogtreecommitdiff
path: root/sys/arch/i386/isa/pcvt/pcvt_out.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/i386/isa/pcvt/pcvt_out.c')
-rw-r--r--sys/arch/i386/isa/pcvt/pcvt_out.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/sys/arch/i386/isa/pcvt/pcvt_out.c b/sys/arch/i386/isa/pcvt/pcvt_out.c
index e982b70dbf9..8a8a23cfc80 100644
--- a/sys/arch/i386/isa/pcvt/pcvt_out.c
+++ b/sys/arch/i386/isa/pcvt/pcvt_out.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pcvt_out.c,v 1.29 2000/10/16 03:38:28 aaron Exp $ */
+/* $OpenBSD: pcvt_out.c,v 1.30 2001/01/22 18:48:44 deraadt Exp $ */
/*
* Copyright (c) 1992, 1995 Hellmuth Michaelis and Joerg Wunsch.
@@ -1218,7 +1218,7 @@ vt_coldinit(void)
/* update keyboard led's */
- update_led();
+ update_led(1);
}
/*---------------------------------------------------------------------------*
@@ -1327,6 +1327,12 @@ check_scroll(struct video_state *svsp)
svsp->cur_offset -= svsp->maxcol;/* update position */
+ if ((svsp->scroll_lock) && (switch_page == -1))
+ { /* remove scrlck */
+ svsp->scroll_lock ^= 1; /* CSTART,CSTOP */
+ update_led(KBD_SCROLL); /* XON/XOFF emul. */
+ }
+
if(switch_page != -1) /* someone wanted to switch ? */
{
vgapage(switch_page); /* yes, then switch ! */