Subject: port-amiga/1537: ite forgets keymap on reinit and resets to builtin default
To: None <gnats-bugs@gnats.netbsd.org>
From: Ignatios Souvatzis <is@beverly.rhein.de>
List: netbsd-bugs
Date: 09/28/1995 11:08:02
>Number:         1537
>Category:       port-amiga
>Synopsis:       ite forgets keymap on reinit and resets to builtin default
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 28 19:35:01 1995
>Last-Modified:
>Originator:     Ignatios Souvatzis
>Organization:
	
>Release:        950922
>Environment:
System: NetBSD beverly 1.0A NetBSD 1.0A (BEVERLY) #174: Sat Sep 23 04:16:21 MET DST 1995 is@beverly:/usr/src/sys/arch/amiga/compile/BEVERLY amiga


>Description:
	When the ite part of a console is reinited due to a GRFIOCOFF, the
	keymap is reset to the builtin default. The keymap set with loadkmap
	is forgotten.
>How-To-Repeat:
	Debug an X server, switching it on and off a lot.

	Or, more simple, start an X server, and abort it with ctrl-alt-backspace.

>Fix:
	Workaround: Do a loadkmap each time you exit the X server?

	Should it be the X servers responsibility to restore the keymap which was
	previously loaded (there is a ITEIOCGKMAP as well)? 

	Else the ite.c should be changed to save/restore the keymap around reinit
	events.
>Audit-Trail:
>Unformatted:
Ignatios Souvatzis