Received: from jazzband.ncsc.mil (jazzband.ncsc.mil [144.51.5.4]) by tycho.ncsc.mil (8.9.3/8.9.3) with ESMTP id IAA09272 for ; Tue, 4 Mar 2003 08:58:41 -0500 (EST) Received: from jazzband.ncsc.mil (localhost [127.0.0.1]) by jazzband.ncsc.mil with ESMTP id h24DweI00477 for ; Tue, 4 Mar 2003 13:58:40 GMT Received: from hellcat.admin.navo.hpc.mil (hellcat.admin.navo.hpc.mil [204.222.179.34]) by jazzband.ncsc.mil with ESMTP id h24Dwdf00473 for ; Tue, 4 Mar 2003 13:58:39 GMT Content-Type: text/plain; charset="iso-8859-1" From: Jesse Pollard To: Brian May Subject: Re: SE play machine Date: Tue, 4 Mar 2003 07:57:53 -0600 Cc: Russell Coker , SE Linux References: <200303011851.31023.russell@coker.com.au> <200303031200.45095.pollard@admin.navo.hpc.mil> <20030303231302.GB8466@snoopy.apana.org.au> In-Reply-To: <20030303231302.GB8466@snoopy.apana.org.au> MIME-Version: 1.0 Message-Id: <200303040757.53996.pollard@admin.navo.hpc.mil> Sender: owner-selinux@tycho.nsa.gov List-Id: selinux@tycho.nsa.gov On Monday 03 March 2003 05:13 pm, Brian May wrote: > > As far as a keyboard grabber: I've attached one that we used to use. > > > > It may require some modification (I haven't used it since X11 R5) so > > there may be some include file changes. > > > > It is very simple, and not extremly well developed, but does capture > > keystrokes from currently open windows. > > How do you compile Imakefiles? > > I tried: > > [553] [scrooge:bam] ~/tmp/grabber >imake > Imakefile.c:33: Imake.tmpl: No such file or directory > imake: Exit code 1. > Stop. > [554] [scrooge:bam] ~/tmp/grabber >imake -I /usr/X11R6/lib/X11/config > imake: Signal 2. > Stop. > [555] [scrooge:bam] ~/tmp/grabber >imake -I /usr/X11R6/lib/X11/config -f > Imakefile imake: Signal 2. > Stop. > [556] [scrooge:bam] ~/tmp/grabber >echo hi | imake -I > /usr/X11R6/lib/X11/config -f Imakefile [557] [scrooge:bam] ~/tmp/grabber > >cat Makefile > # Makefile generated by imake - do not edit! > # $Xorg: imake.c,v 1.5 2000/08/18 04:03:59 coskrey Exp $ > > hi > > > In the second and third situations, imake was waiting for input on STDIN. sorry --- I assumed most people had compiled X applications.... (I do a lot more than most people and I just forgot it isn't common knowlege). Imakefiles are "independant makefiles", and are translated to Makefiles by the "xmkmf" ("X make makefiles") utility. This was done to incorporate vendor X configuration files into the resulting Makefile. The normal cycle to to build X utilities is: 1. xmkmf - to build the top level makefile 2. make Makefiles - to build subdirectory makefiles (if any). In this particular case, there are no extensive builds, so this step is a no-op 3. make - which builds the application The xmkmf is usually a shell script that uses the C preprocessor to perform macro substitutions (the vendor specified locations for binaries, libraries, include files, default application configurations) and conditional output generation. If it is not in your search path, it is normally found in the X11 binary directory (/usr/bin/X11/xmkmf on RH). -- ------------------------------------------------------------------------- Jesse I Pollard, II Email: pollard@navo.hpc.mil Any opinions expressed are solely my own. -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with the words "unsubscribe selinux" without quotes as the message.