home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / lisp / 2270 < prev    next >
Encoding:
Internet Message Format  |  1992-08-20  |  2.4 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!wupost!think.com!barmar
  2. From: barmar@think.com (Barry Margolin)
  3. Newsgroups: comp.lang.lisp
  4. Subject: Re: Lucid Lisp w/Knowledge Craft and CLX running under Motif?
  5. Message-ID: <171og7INNene@early-bird.think.com>
  6. Date: 21 Aug 92 03:38:47 GMT
  7. References: <1992Aug20.204016.23188@e3u001.ped.pto.ford.com>
  8. Organization: Thinking Machines Corporation, Cambridge MA, USA
  9. Lines: 41
  10. NNTP-Posting-Host: gandalf.think.com
  11.  
  12. In article <1992Aug20.204016.23188@e3u001.ped.pto.ford.com> cannell@ed8217.ped.pto.ford.com (Larry Cannell) writes:
  13. >We have a homebrew application that is built on Knowledge Craft, Lucid Lisp,
  14. >and CLX.  This isn't the only application that our workstations will run
  15. >(although it is a VERY important one).
  16. >Question: Will the KC/Lucid/CLX application have problems running under
  17. >OSF/Motif?  If so, what kind of problems?
  18.  
  19. What do you mean by "running under OSF/Motif"?  Motif isn't a window
  20. system, it's a specification of a user interface look and feel and an API
  21. to a toolkit that implements this UI.  It also includes a window manager
  22. that conforms to the UI spec.
  23.  
  24. If your question is "will the application run under the Motif window
  25. manager" then the answer is that it should.  In general, the choice of
  26. window manager should be transparent to applications, although it's
  27. possible for applications to take advantage of window manager-specific
  28. extensions if they want to.
  29.  
  30. However, running under the Motif window manager isn't enough to make an
  31. application conform to the Motif UI specification.  Motif specifies the way
  32. an application's UI works inside, not just how windows are manipulated.
  33. For instance, it specifies how menu choices are made and how keyboard
  34. shortcuts are provided.  Your UI will almost certainly have to be rewritten
  35. to provide this level of Motif compliance.
  36.  
  37. There's a facility called CLM that provides an interface to Motif for
  38. applications written in Common Lisp.  Instead of using CLX, it uses a
  39. separate C program that uses the Motif toolkit.  The Lisp API communicates
  40. with this program over a stream, and it then makes the corresponding Motif
  41. calls.
  42.  
  43. The Garnet window interface library implemented at CMU includes a Motif
  44. toolkit written entirely in CL using CLX.
  45.  
  46. For more information on CLM and Garnet, see the section on window system
  47. interfaces in the FAQ.
  48. -- 
  49. Barry Margolin
  50. System Manager, Thinking Machines Corp.
  51.  
  52. barmar@think.com          {uunet,harvard}!think!barmar
  53.