home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / lang / tcl / 1919 < prev    next >
Encoding:
Text File  |  1992-11-21  |  2.4 KB  |  52 lines

  1. Newsgroups: comp.lang.tcl
  2. Path: sparky!uunet!usc!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!news.sei.cmu.edu!fs7.ece.cmu.edu!crabapple.srv.cs.cmu.edu!hcs
  3. From: hcs+@cs.cmu.edu (Henry C Schmitt)
  4. Subject: Re: Tk and Macintosh?
  5. Message-ID: <By3H87.4x6.1@cs.cmu.edu>
  6. Summary: No Mac native Xlib?
  7. Keywords: Macintosh Xlib
  8. Sender: hcs@edrc.cmu.edu
  9. Nntp-Posting-Host: eiger.edrc.cmu.edu
  10. Organization: Engineering Design Research Center, Carnegie Mellon
  11. References: <1992Nov19.235354.25088@twg.com> <Uf3Hat_00h5KF3frAz@cs.cmu.edu>
  12. Date: Sun, 22 Nov 1992 01:52:54 GMT
  13. Lines: 37
  14.  
  15. In article <Uf3Hat_00h5KF3frAz@cs.cmu.edu> Sean.Levy@cs.cmu.edu writes:
  16. >Excerpts from netnews.comp.lang.tcl: 19-Nov-92 Re: Tk and Macintosh?
  17. >"David Herron"@twg.com (2824)
  18. >
  19. >> - Write a native implementation of Xlib.  This by itself would be a big
  20. >>   project, but once done Tk would have instant portability to that
  21. >>   system.
  22. >
  23. >This seems by far the most preferable solution in the short term to me. 
  24. >Clearly, the MacX server has to have code in it somewhere to translate X
  25. >protocol requests to Macintosh calls (ddx or whatever they call it now).
  26. >It's actually surprising to me that I haven't heard of Apple.COM
  27. >splitting this functionality out and packaging it with a normal Xlib API
  28. >(of course, this is harder than I just made it sound) -- they'd make a
  29. >killing, wouldn't you think? Esp. from folks like us...
  30. >
  31.  
  32.     Sorry, MacX is simply an X Terminal (i.e. a server, access
  33. control, and window manager) which runs under the MacOS.  It has NO
  34. support for X clients.  If you want to write X clients on a Mac, you
  35. MUST get A/UX which includes the full X11R4.
  36.  
  37.     Also MacX does no translation into the native Mac environment.
  38. For example, xterm still uses the goofy left-hand scrollbar with three
  39. button control instead of the standard Mac scrollbar with up and down
  40. arrows and a thumb with paging areas.
  41.  
  42.     I think the closest one can come to an Xlib on the Mac is
  43. something like XVT.  Also, how does one handle the fact that X expects
  44. a 3-button mouse and the Mac only has one?  I really dislike how MacX
  45. does it (i.e. use the left and right arrow keys for the center and
  46. right arrow keys respectively. UGH!).
  47. -- 
  48. Henry C. Schmitt
  49. Home: 2863 Beechwood Blvd.,Pittsburgh, PA 15217-3114 (412) 421-8482
  50. Work: 2212 Hamburg Hall,5000 Forbes Ave,Pittsburgh, PA 15213 (412) 268-2257
  51. E-Mail: InterNet: hcs@cmu.edu CIS: 72275,1456 AppleLink, AOL, GEnie: H.Schmitt
  52.