[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

578.0. "XKeycodeToKeysym help needed!" by CSC32::K_TICE (Ada...Keeping the world safe for beaurocracy!) Tue Apr 11 1989 16:31

    HELP!
    
    Does anybody out there have any experience with XKeycodeToKeysym.
    Any input is welcome, but the problem I observe is in Ada.
    
    It appears that this routine does not always translate the key code
    to a valid key symbol.  ...more than that, it seems to trash the
    code in the routine that follows the call to XkeycodeToKesym.
    
    The calling mechanisms do not seem to be the problem.  I am somewhat
    suspicous of the Ada interface (DECW$X_.ADA), but changing this
    to what I think should be correct according to the documentation
    has _NO_ affect.
    
    I have code, but it it HUGE, and written in Ada.   I will try to
    narrow the problem down and post it.  So far, attempts to do this
    have been futile.  The code is very "fragile", and reducing it too
    much mysteriously makes the problem disappear!
    
    I have found NO examples of using this routine (in any language).
    I have found NO indications of problems with this routine.
    
    Any and all pointers/help/input/feedback of any kind will be
    greatly appreciated!
    
    Thanks!
    Ken
    
    

T.RTitleUserPersonal
Name
DateLines
578.1STAR::ORGOVANVince OrgovanTue Apr 11 1989 19:283
    I'm not aware of any problems with XKeycodeToKeysym either for 
    the MIT or VAX bindings. If you can narrow this down please QAR it.

578.2The cousin seems to work...GSRC::WESTI'm just visiting this planet.Thu Apr 13 1989 02:0310
    If it is any consolation I have had success with its counter-part
    XKeysymToKeycode from Ada.  I have not tried it the other way around
    however.
    
    I have found a couple of other problems with the DECW$X_.ADA package
    and am in the process of submitting QAR's.
    
                              -=> Jim <=-
    

578.3VIA::FINNEGANAll of the best intentions are less than one good act.Tue Apr 18 1989 19:346
I have a C example of XStringToKeysym and XKeysymToKeycode but not the reverse.

Are you interested?

Neal