home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.windows.x:16021 comp.windows.x.apps:906
- Newsgroups: comp.windows.x,comp.windows.x.apps
- Path: sparky!uunet!world!bzs
- From: bzs@ussr.std.com (Barry Shein)
- Subject: Re: Attention Earthlings -- Cross-Vendor X11 Server Mess!
- In-Reply-To: Jamie Zawinski's message of Mon, 31 Aug 92 23:01:06 GMT
- Message-ID: <BZS.92Sep1230158@ussr.std.com>
- Sender: usenet@world.std.com (Mr USENET himself)
- Nntp-Posting-Host: ussr.std.com
- Organization: The World
- References: <BZS.92Aug30043553@ussr.std.com> <JWZ.92Aug31160057@thalidomide.lucid.com>
- Date: Wed, 2 Sep 1992 04:01:58 GMT
- Lines: 56
-
-
- From: Jamie Zawinski <jwz@lucid.com>
- > - There is no way to find out what is actually printed on the surfaces of
- > the keys. I think you were saying that you think that there should be
- > a direct correspondence between the set of keysyms which a keycode
- > generates and the text printed on the surface. I don't think this is a
- > good idea. They are two different pieces of information, one of which
- > you can change and one of which you can't. (And, in the current system,
- > one of which you can interrogate and one of which you can't.)
-
- From private and on-line conversations with X devpt people going back
- to the original design of X11 I am 99.9% sure this was exactly the
- motivation for the keysym table entries.
-
- Actually, from "X Window System", Scheifler & Gettys (et al), 1990, p
- 376:
-
- A KEYSYM is an encoding of a symbol on the cap of a key.
-
- >if
- >one keyboard calls it "Enter" and another calls it "Return", then this should
- >be transparent to the application.
-
- Oh, I don't know, the application might choose to call them the same
- thing, but as we reach for a lower and lower level of user it might be
- useful to be able to prompt with exactly what is on the key we want
- ("Type ENTER to continue" vs "Type RETURN to continue".)
-
- We all remember the possibly apocryphal tale of the person who, when
- confronted with "Press ANY key to continue" went looking for someone
- to tell him where the damn ANY key was?
-
- (I just grabbed and built and ran xkeycaps while typing, very cute, I
- like it! I think the code will also be useful.)
-
- >Basically, the whole X keyboard model is a complete mess. It is as good as
- >no standard at all, because to get anything done, you need to have hardware-
- >and vendor-specific knowledge anyway.
-
- I think we're in violent agreement.
-
- What are your thoughts on the possibility of writing a program which
- can be run at X server startup which maps all the keys to a standard
- (i.e. a description file is supplied for each keyboard, analogous to
- what you've done in xkeycaps), and I suppose a standard resource or
- Atom can be provided which identifies the keyboard as a string?
-
- My current guess is that something like this can be thrown in and
- thrown at server vendors without any change to any existing code, no?
-
-
- --
- -Barry Shein
-
- Software Tool & Die | bzs@world.std.com | uunet!world!bzs
- Purveyors to the Trade | Voice: 617-739-0202 | Login: 617-739-WRLD
-