Article View: gnu.epoch.misc
Article #1805FYI [rad@Think.COM: Re: Epoch Key Mapping Utility ]
From: Ron M. Shapiro
Date: Wed, 24 Jul 1991 15:54
Date: Wed, 24 Jul 1991 15:54
33 lines
1777 bytes
1777 bytes
Here are some notes on compiling xkey which Bob Doolittle sent to me. Return-Path: <rad@Think.COM> To: "Ron M. Shapiro" <rms@cae1.srl.ford.com> Subject: Re: Epoch Key Mapping Utility In-Reply-To: Your message of Wed, 24 Jul 91 08:17:19 EDT Date: Wed, 24 Jul 91 11:12:25 EDT From: Bob Doolittle <rad@Think.COM> Ron, I just thought I'd make a couple of comments. First off, the standard Sun cc won't accept ANSI function prototyping (I used gcc instead). Secondly, I can't compile your program directly on a Sun 4, because report is an XEvent union, not an XKeyEvent structure, so keycode is not a valid field. Perhaps your compiler lets you use fields from the wrong structures; gcc doesn't. To get this to compile, I changed report.keycode to report.xkey.keycode and it built fine. Also, you forgot to mention linking with -lX11 on your suggested build line (most people will catch this, but you never know :-). Anyway, thanks for posting the code. It's easier to read its output than the output from "xev", which includes all the window enter/leave and key down/up events. Thanks, Bob -------- Bob Doolittle Thinking Machines Corporation rad@think.com (617)234-2734
Technical Details
Message-ID:
<9107241554.AA04782@apollo.srl.ford.com>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cis.ohio-state.edu!cae1.srl.ford.com!rmsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fc7ee,343a351e02b0251,start X-Google-Attributes: gidfc7ee,public X-Google-ArrivalTime: 1991-07-24 16:27:22 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cis.ohio-state.edu!cae1.srl.ford.com!rms From: rms@cae1.srl.ford.com (Ron M. Shapiro) Newsgroups: gnu.epoch.misc Subject: FYI [rad@Think.COM: Re: Epoch Key Mapping Utility ] Message-ID: <9107241554.AA04782@apollo.srl.ford.com> Date: 24 Jul 91 15:54:32 GMT Sender: daemon@cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 33