From owner-freebsd-bugs Sun Oct 25 09:30:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA28343 for freebsd-bugs-outgoing; Sun, 25 Oct 1998 09:30:07 -0800 (PST) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA28332 for ; Sun, 25 Oct 1998 09:30:04 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id JAA17961; Sun, 25 Oct 1998 09:30:01 -0800 (PST) Received: from mail.dinoex.sub.org (mail.dinoex.sub.de [195.243.29.14]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA27818 for ; Sun, 25 Oct 1998 09:22:14 -0800 (PST) (envelope-from root@net2.dinoex.sub.org) Received: (from uucp@localhost) by mail.dinoex.sub.org (8.9.1/8.9.1) with UUCP id SAA24083 for FreeBSD-gnats-submit@freebsd.org; Sun, 25 Oct 1998 18:21:05 +0100 (CET) Received: (from root@localhost) by net2.dinoex.sub.org (8.9.1/8.9.1) id NAA17983; Sun, 25 Oct 1998 13:46:00 +0100 (CET) Message-Id: <199810251246.NAA17983@net2.dinoex.sub.org> Date: Sun, 25 Oct 1998 13:46:00 +0100 (CET) From: Charlie Root Reply-To: root@net2.dinoex.sub.org To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: kern/8444: pcvt with more than 8 virtual consoles Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 8444 >Category: kern >Synopsis: pcvt with more than 8 virtual consoles >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Oct 25 09:30:00 PST 1998 >Last-Modified: >Originator: dirk.meyer@dinoex.sub.org >Organization: privat >Release: FreeBSD 2.2.6-RELEASE i386 >Environment: Using pcvt with more than 8 virtual consoles. >Description: The F10 key is not passed trough the application. It may happen with less too, I can't check. Be pressin F10 once without any shift or meta key you switch to virtual console 1. >How-To-Repeat: Pressing F10 in any application. Exmaple: you can't exit midnight-commander. >Fix: the following patch, works fine with more than 8 pcvt's. maybe the code can be omitted in every case. *** pcvt/pcvt_kbd.c Wed Sep 10 03:23:37 1997 --- pcvt/pcvt_kbd.c.neu Sun Aug 23 19:15:22 1998 *************** *** 2410,2419 **** --- 2410,2421 ---- else fkl_on(vsp); } + #if PCVT_NSCREENS <= 8 else { do_vgapage(0); } + #endif } /*---------------------------------------------------------------------------* *************** *** 2432,2441 **** --- 2434,2445 ---- sw_ufkl(vsp); } } + #if PCVT_NSCREENS <= 8 else { do_vgapage(1); } + #endif } /*---------------------------------------------------------------------------* *************** *** 2451,2460 **** --- 2455,2466 ---- else if(vsp->vt_pure_mode == M_HPVT) set_emulation_mode(vsp, M_PUREVT); } + #if PCVT_NSCREENS <= 8 else { do_vgapage(2); } + #endif } /*---------------------------------------------------------------------------* *************** *** 2470,2479 **** --- 2476,2487 ---- else do_vgapage(current_video_screen + 1); } + #if PCVT_NSCREENS <= 8 else { do_vgapage(3); } + #endif } /*---------------------------------------------------------------------------* >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message