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