*****SPAM***** Extracting a KeySym from an action routine

Bruce M Beach <[email protected]>
Newsgroups gmane.comp.xfree86.expert
Message-ID <[email protected]>
SPAM: -------------------- Start SpamAssassin results ----------------------
SPAM: This mail is probably spam.  The original message has been altered
SPAM: so you can recognise or block similar unwanted mail in future.
SPAM: See http://spamassassin.org/tag/ for more details.
SPAM: 
SPAM: Content analysis details:   (5.30 hits, 5 required)
SPAM: SPAM_PHRASE_01_02  (-0.1 points) BODY: Spam phrases score is 01 to 02 (low)
SPAM:                    [score: 1]
SPAM: RCVD_IN_OSIRUSOFT_COM (0.4 points)  RBL: Received via a relay in relays.osirusoft.com
SPAM:                    [RBL check: found 68.34.105.202.relays.osirusoft.com., type: 127.0.0.4]
SPAM: RCVD_IN_RFCI       (2.3 points)  RBL: Received via a relay in ipwhois.rfc-ignorant.org
SPAM:                    [RBL check: found 68.34.105.202.ipwhois.rfc-ignorant.org., type: 127.0.0.6]
SPAM: X_OSIRU_SPAM_SRC   (2.7 points)  RBL: DNSBL: sender is Confirmed Spam Source
SPAM: 
SPAM: -------------------- End of SpamAssassin results ---------------------


Please CC any replies to [email protected] (my paid for account)
since I'm forced to use the spam mail due to brain-dead SpamAssassin 

SPAM: -------------------- Start SpamAssassin results ----------------------
SPAM: This mail is probably spam.  The original message has been altered
SPAM: so you can recognise or block similar unwanted mail in future.
SPAM: See http://spamassassin.org/tag/ for more details.
SPAM:
SPAM: Content analysis details:   (5.80 hits, 5 required)
SPAM: USER_AGENT_PINE    (-1.8 points) Message-Id indicates a non-spam MUA
(Pine)
SPAM: X_AUTH_WARNING     (-0.9 points) Found a X-Authentication-Warning header
SPAM: SPAM_PHRASE_01_02  (-0.1 points) BODY: Spam phrases score is 01 to 02
(low)
SPAM:                    [score: 1]
SPAM: RCVD_IN_OSIRUSOFT_COM (0.4 points)  RBL: Received via a relay in
relays.osirusoft.com
SPAM:                    [RBL check: found 209.16.20.218.relays.osirusoft.com.,
type: 127.0.0.4]
SPAM: RCVD_IN_RFCI       (2.3 points)  RBL: Received via a relay in
ipwhois.rfc-ignorant.org
SPAM:                    [RBL check: found
209.16.20.218.ipwhois.rfc-ignorant.org., type: 127.0.0.6]
SPAM: RCVD_IN_SBL        (3.2 points)  RBL: Received via SBLed relay, see
http://www.spamhaus.org/sbl/
SPAM:                    [RBL check: found 209.16.20.218.sbl.spamhaus.org.]
SPAM: X_OSIRU_SPAM_SRC   (2.7 points)  RBL: DNSBL: sender is Confirmed Spam
Source
SPAM:
SPAM: -------------------- End of SpamAssassin results ---------------------


   Hello All

    I am writeing an applications using Intrinsics, and can't
    figure out how to extract the KeySym from a key event routine
    once the routine is executed. I.e. I have:

         XtActionsRec    edit_actions[] = {
             .             .             .
             .             .             .
             .             .             .
             {"KeyEventEditor"   , KeyEventEditor}
         };

         String   edit_trans =
             .             .             .
             .             .             .
             .             .             .
             <KeyDown>:KeyEventEditor()";

    After a key event "KeyEventEditor" executes correctly and then
    I want to find out what key had been pressed and act accordingly.

         "KeySym XtGetActionKeysym(event, modifiers_return)"

    looks like a likely candidate but I can't figure out what or
    where "event" comes from or how to point to it. The only information
    that I have is:

         event: Specifies the event pointer passed to the
                action procedure by the Intrinsics.

    and a grep through xc/programs just shows that nobody uses it.
    Suggestions or pointers would be welcome.

    Bruce


=====
[email protected]

______________________________________________________________________ 
Post your free ad now! http://personals.yahoo.ca
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.