*BSD News Article 96010


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!uunet!in3.uu.net!144.212.100.12!news.mathworks.com!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: pcemu <-> keyboard
Date: 22 May 1997 20:41:30 GMT
Organization: Private BSD site, Dresden
Lines: 30
Message-ID: <5m2b1q$t5@uriah.heep.sax.de>
References: <5lunp8$1bqu@info4.rus.uni-stuttgart.de>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:41471

burkard@ikff.uni-stuttgart.de (Eberhard Burkard) wrote:

> I know this is a freebsd-newsgroup, but i think here are some
> pcemu-specialists.  I have a problem with pcemu and solaris 2.5.1
> (SPARC).  I have a german SUN-keyboard but with pcemu i can't use
> the "german"-keys and the main problem is, i have no \, |, @, ...  I
> have tried to use a DOS keyboard-driver but it dosn't works.

The problem is that pcemu establishs a reverse mapping from the X key
symbols it receives to what it thinks would be the PC keyboard layout,
so it can convert the X events into PC scancodes.  Naturally, this is
just the reverse of a DOS keyboard driver, and thus dependant on the
keyboard layout your X server is using.  The original pcemu only
contained a US layout, and a UK layout as a compile-time option.

You could download the FreeBSD port version, where i've included a
patch that allows to adjust the reverse mapping from within your
~/.pcemu file.  Note that this doesn't already give you a correct
non-US layout afterwards: it only ensure you get the correct
scancodes.  You need to install a non-US keyboard driver in DOS then,
and i should add that i never got this combination to work for some
unknown reason.  I didn't tried hard though, and simply can live with
the US layout whenever i use pcemu.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)