Article View: cu.slug
Article #35Re: using the X screen on recent Suns
From: Kálmán Réti
Date: Mon, 25 Oct 1999 00:00
Date: Mon, 25 Oct 1999 00:00
44 lines
2625 bytes
2625 bytes
"Christopher R. Barry" wrote: > Tim Bradshaw <tfb@tfeb.org> writes: > > > Has anyone done the work needed to make the genera X screen program > > understand Sun type 5 keyboards (using Sun's x server)? I kind of got > > half way to getting the layout right but I can't understand the > > mapping stuff, particularly as I don't understand the whole X > > keymapping nightmare (I tried changing the keycodes of the function > > keys to those the keyboard actually generates, with the result that it > > all stopped working -- does it use codes rather than keysyms?). > > Were you trying to change the mapping from Genera or were you using > xmodmap to change the mapping from X? I remember I couldn't figure out > a way to do it from Genera and so in the end went with an xmodmap hack > so that backspace did delete (and thus #\Rubout) so I didn't have to > reach for delete. Searching the archives, I saw I wasn't the only one > who couldn't figure out how to change things from Genera. > > Christopher I can probably help with changing things from the Genera end. The basic idea is that you run x-screen::display-define-keyboard-signature-form when connected to the x-server, and it generates the mapping from keycodes to names. You then generate (either by hand or by perturbing an existing one) a keyboard mapping, which maps those names onto Genera keys. The latest release of Genera has a CP command to explicitly set the keyboard mapping, previous versions would just try to figure out the right one. One problem is that the vendor string is the only way of identifying the x-server, and the values in the signatures are all from old releases of vendor software. See the file sys:x11;screen;keyboards.lisp Hope that helps. Kalman Reti
Technical Details
Message-ID:
<940879807.17684@news.Colorado.EDU>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<199910251139.MAA07176@lostwithiel.tfeb.org> <87hfjfs2cw.fsf@2xtreme.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10077e,a1239e888dedb160 X-Google-Attributes: gid10077e,public From: Kálmán Réti <reti@ai.mit.edu> Subject: Re: using the X screen on recent Suns Date: 1999/10/25 Message-ID: <940879807.17684@news.Colorado.EDU> X-Deja-AN: 540440294 Distribution: cu Content-Transfer-Encoding: 7bit Sender: daemon@peabody.colorado.edu References: <199910251139.MAA07176@lostwithiel.tfeb.org> <87hfjfs2cw.fsf@2xtreme.net> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii; x-mac-type="54455854"; x-mac-creator="4D4F5353" X-Note1: message-id generated by recnews X-Note2: mail msgid was <3814AD37.8188F771@ai.mit.edu> Organization: University of Colorado at Boulder Mime-Version: 1.0 Newsgroups: cu.slug NNTP-Posting-User: daemon