*BSD News Article 53209


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.sprintlink.net!in1.uu.net!news.erinet.com!inquo!news.seinf.abb.se!eua.ericsson.se!usenet
From: seb@erix.ericsson.se (Sebastian Strollo)
Newsgroups: comp.windows.x.i386unix,comp.unix.bsd.freebsd.misc
Subject: FreeBSD+XFree86+syscons
Date: 17 Oct 1995 11:39:16 +0100
Organization: Ellemtel Telecom Systems Labs, Stockholm, Sweden
Lines: 32
Sender: seb@super.eua.ericsson.se
Message-ID: <qyohvg8kdn.fsf@super.eua.ericsson.se>
NNTP-Posting-Host: super.eua.ericsson.se
NNTP-Posting-User: seb
X-Newsreader: Gnus v5.0.4
Xref: euryale.cc.adfa.oz.au comp.windows.x.i386unix:18123 comp.unix.bsd.freebsd.misc:7575


I am running FreeBSD 2.0.5 with the syscons driver and XFree86
3.1.1. Now seeing that keyboard makers these days don't put the
control key where God intended I had to fix this. So I mapped my
CapsLock to left control and while I was at it I mapped the left
control to the meta key. This works fine when runing it with the
virtual terminals, however under X the capslock key is still control,
but the left control key just says (with xev):

KeyPress event, serial 17, synthetic NO, window 0x3000001,
    root 0x2b, subw 0x0, time 2177141810, (174,57), root:(388,220),
    state 0x0, keycode 37 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 characters:  ""

I suspect the problem is with the interaction syscons<>XFree86? (Oh
yes, I have deleted all entries in XF86Config which remaps LeftAlt key
to Meta et.c. also I don't do any xmodmap stuff myself)

Anybody have any clues, hints? Also anybody know where to find out the
scancode of the different keys? (I have this little key which doesn't
say anything, I don't know if it generates a scancode or not?)

/Sebastian

-----------------------------------------------------------
Sebastian Strollo
Computer Science Lab		Phone: +46 8 727 3549
Ericsson Utvecklings AB		Fax  : +46 8 647 82 76
Box 1505
S-125 25 ÄLVSJÖ			email: seb@erix.ericsson.se
SWEDEN
-----------------------------------------------------------