diff options
author | kato <kato@FreeBSD.org> | 1997-01-31 11:24:01 +0000 |
---|---|---|
committer | kato <kato@FreeBSD.org> | 1997-01-31 11:24:01 +0000 |
commit | 1f160cfbad70d491e89658cd984e086c5e5210c9 (patch) | |
tree | db73f35667fa75c6ee8054732cbc309f3c331235 /sys | |
parent | 9f56e26b51d63bd790fee633bad56e14c5187ddb (diff) | |
download | FreeBSD-src-1f160cfbad70d491e89658cd984e086c5e5210c9.zip FreeBSD-src-1f160cfbad70d491e89658cd984e086c5e5210c9.tar.gz |
Synchronize with sys/i386/isa/syscons.c revision 1.200.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/pc98/pc98/syscons.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/sys/pc98/pc98/syscons.c b/sys/pc98/pc98/syscons.c index 64f758d..37807c9 100644 --- a/sys/pc98/pc98/syscons.c +++ b/sys/pc98/pc98/syscons.c @@ -3922,7 +3922,16 @@ next_code: metas = 1; break; case NEXT: - switch_scr(cur_console, (get_scr_num() + 1) % MAXCONS); + { + int next, this = get_scr_num(); + for (next = this+1; next != this; next = (next+1)%MAXCONS) { + struct tty *tp = VIRTUAL_TTY(next); + if (tp->t_state & TS_ISOPEN) { + switch_scr(cur_console, next); + break; + } + } + } break; case BTAB: return(BKEY); |