Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Oct 1998 13:46:00 +0100 (CET)
From:      Charlie Root <root@net2.dinoex.sub.org>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   kern/8444: pcvt with more than 8 virtual consoles
Message-ID:  <199810251246.NAA17983@net2.dinoex.sub.org>

next in thread | raw e-mail | index | archive | help

>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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810251246.NAA17983>