🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Ron M. Shapiro Wed, 24 Jul 1991 15:54
FYI [rad@Think.COM: Re: Epoch Key Mapping Utility ]
#1805
Author: Ron M. Shapiro
Date: Wed, 24 Jul 1991 15:54
33 lines
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads