home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / vmsnet / internal / 1540 < prev    next >
Encoding:
Internet Message Format  |  1992-11-04  |  1.8 KB

  1. Path: sparky!uunet!olivea!decwrl!sdd.hp.com!usc!sol.ctr.columbia.edu!hamblin.math.byu.edu!arizona.edu!mvb.saic.com!macro32
  2. From: JWILKINSON@HMCVAX.CLAREMONT.EDU (James Wilkinson)
  3. Newsgroups: vmsnet.internals
  4. Subject: Re: Undocumented SMG$ locator routine
  5. Message-ID: <01GQRT2FQRTE8Y551I@HMCVAX.CLAREMONT.EDU>
  6. Date: 5 Nov 92 08:22:53 GMT
  7. Organization: Macro32<==>Vmsnet.Internals Gateway
  8. Lines: 29
  9. X-Gateway-Source-Info: Mailing List
  10.  
  11.  
  12.     davism@KCGL1.eng.ohio-state.edu :
  13.     [...]
  14.     If anyone out there running 5.5-2 in field test could speak to whether the
  15.     SMG$READ_LOCATOR call is documented and/or fixed, I'd appreciate it.
  16.  
  17. Lots of SMG$ routines were fixed in V5.5-2, but still no mention of
  18. SMG$READ_LOCATOR.  Note that this routine has two additional arguments -
  19. a timeout argument (5th) and a parse routine (6th).  The parse routine
  20. receives the keyboard id, locator response (string), row, column and keycode.
  21. You might be able to use the parse routine to make things behave more the way
  22. you want them to.
  23.  
  24. If you are using this routine at a time when you expect the user to use the
  25. mouse for input, this routine works fine.  I wish I could read a mouse event
  26. from an SMG$ application which is dynamic in nature - eg., time gets updated
  27. once per second, etc.  The ANSI sequence of asking for locator information
  28. and waiting for the response is quite restrictive for such applications.  I
  29. have at times wondered if one couldn't query the mouse driver for mouse button
  30. press events.  That way an application could receive asynchronous notification,
  31. much as an Xwindows application would.
  32.  
  33. SMG$ does have a few things which are quite useful in the DECterm environment
  34. which aren't documented, besides SMG$READ_LOCATOR.  Try using any of the user
  35. renditions when writing text to a display - you get a limited set of colors.
  36.  
  37. JaW
  38.  
  39. jwilkinson@hmcvax.claremont.edu
  40.