home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / bsd / 4384 < prev    next >
Encoding:
Text File  |  1992-08-18  |  2.3 KB  |  53 lines

  1. Newsgroups: comp.unix.bsd
  2. Path: sparky!uunet!wupost!zaphod.mps.ohio-state.edu!caen!hellgate.utah.edu!fcom.cc.utah.edu!cs.weber.edu!terry
  3. From: terry@cs.weber.edu (A Wizard of Earth C)
  4. Subject: Re: Motif on X386???
  5. Message-ID: <1992Aug19.023726.27289@fcom.cc.utah.edu>
  6. Sender: news@fcom.cc.utah.edu
  7. Organization: Weber State University  (Ogden, UT)
  8. References: <1992Aug17.140857.3882@lgc.com> <1992Aug18.015024.8369@fcom.cc.utah.edu> <1992Aug18.174802.9845@BitBlocks.com>
  9. Date: Wed, 19 Aug 92 02:37:26 GMT
  10. Lines: 41
  11.  
  12. In article <1992Aug18.174802.9845@BitBlocks.com> bvs@BitBlocks.com (Bakul Shah) writes:
  13. >terry@cs.weber.edu (A Wizard of Earth C) writes:
  14. >
  15. >>I also saw problems with menus not coming active unless you let go of the
  16. >>button popping up the menu, then quickly pressed it again (not in the menu
  17. >>area) to get the menu selection bar to follow the mouse.
  18. >
  19. >Make sure you are using the latest com.c driver (with select()
  20. >bug fixed).  But even then there is some problem with the mouse
  21. >code in X386 as the very first button press is not seen until
  22. >after you either release the button or move the mouse a bit.
  23. >
  24. >If you wish to track this problem down, check out file
  25. >$X11R5/mit/server/ddx/x386/x386Io.c.  Routine x386MseEvents()
  26. >seems to be the culprit.
  27.  
  28. Naw.  It recognized the mouse event; Motif, due to the register pop-order bug,
  29. just didn't get the correct result from an X toolkit routine.  Adding a line
  30. like ptr++; ptr--; forces the problem to go away (as does any lvalue reference
  31. in the routine; the pop-order bug only occurs in routines where a register
  32. is used as an lvalue of itself).
  33.  
  34. Using Motif 1.2's patched Xt routines fixed it.
  35.  
  36. I've had /dev/tty00 and /dev/tty01 instead of /dev/com1 and /dev/com2 since
  37. about day 1, so I never had the select() problem personally, mostly because
  38. I serendipitously fixed the select() in the com driver at the same time I
  39. made it conform to my idea of "pretty".
  40.  
  41.  
  42.                     Terry Lambert
  43.                     terry_lambert@gateway.novell.com
  44.                     terry@icarus.weber.edu
  45. ---
  46. Any opinions in this posting are my own and not those of my present
  47. or previous employers.
  48. -- 
  49. -------------------------------------------------------------------------------
  50.                                                        terry@icarus.weber.edu
  51.  "I have an 8 user poetic license" - me
  52. -------------------------------------------------------------------------------
  53.