From: lee@sq.sq.com (Liam R. E. Quin)
Subject: Differences in OPEN LOOK GUI Frequently Asked Questions
Organization: SoftQuad Inc., Toronto, Canada
Date: Sat, 3 Oct 92 23:57:51 GMT

The FAQ was getting a little large, and I had a lot of things to add, so I
have finally taken the plunge and split it in twain.  Later today I shall
post the first List Of Applications With an OPEN LOOK User Interface.
This will list both free and commercial applicatrions, toolkits and user
interface builders.  Although I am announcing this in several newsgroups,
it wil only go to comp.windows.open-look.

As a result of this, the comp.window.open-look FAQ has got a little shorter,
and my usual practice of using a "|" to indicate a changed line wasn't up to
it;  the other changes are included here as diffs.

Lee

===================================================================
RCS file: RCS/open-look.faq,v
retrieving revision 1.34
diff -c -r1.34 open-look.faq
*** /tmp/,RCSt1a12091	Sat Oct  3 19:53:27 1992
--- open-look.faq	Sat Oct  3 19:43:35 1992
***************
*** 91,97 ****
      OPEN LOOK interface components required to build the user interface of
      an application.  It's included in OpenWindows.
      The current version of TNT from Sun is 3.0; Release 3.0 contains some
!     incompatibilities with tNt 1.0 [other than the NEW cApItAlIzAtIoN :-)].
  
      The C++ User Interface Toolkit (UIT) consists of an object-oriented C++
      class library layered on top of XView and a tool to generate code from
--- 87,95 ----
      OPEN LOOK interface components required to build the user interface of
      an application.  It's included in OpenWindows.
      The current version of TNT from Sun is 3.0; Release 3.0 contains some
!     incompatibilities with tNt 1.0 an 2.0, but Sun are committed to
!     supporting the API, at least until they stop NeWS support some time
!     later this year and replace it with Display PostScript.  Wail.
  
      The C++ User Interface Toolkit (UIT) consists of an object-oriented C++
      class library layered on top of XView and a tool to generate code from
***************
*** 112,120 ****
      more platforms than OpenWindows, the OPEN LOOK GUI is almost certainly
      used on many more machines, simply because Sun (and SysVR4) have such a
      large installed base.
!     Sun's CD/WARE Volume 2 contains a roadmap for improving Motif applications
!     by converting them to OLIT [:-)]; there are also notes in the `Periodic
!     Table' OLIT demo, $OPENWINHOME/demo/olittable.
  
  @ What is MOOLIT?
      MOOLIT is a version of OLIT from AT&T that lets users choose between a
--- 110,118 ----
      more platforms than OpenWindows, the OPEN LOOK GUI is almost certainly
      used on many more machines, simply because Sun (and SysVR4) have such a
      large installed base.
!     Sun's CD/WARE Volume 2 contains a roadmap for improving Motif
!     applications by converting them to OLIT [:-)]; there are also notes in
!     the `Periodic Table' OLIT demo, $OPENWINHOME/demo/olittable.
  
  @ What is MOOLIT?
      MOOLIT is a version of OLIT from AT&T that lets users choose between a
***************
***************
*** 327,336 ****
  
      Quick Copy within textedit, mailtool, etc:
      * Click SELECT to get a text caret where you want the copied text to go
!     * Press and HOLD DOWN the COPY (or CUT) button
      * Select the text you want to copy/move.  You'll see that it's underlined
        or crossed out, as appropriate.  (In the jed demo it goes grey)
!     * Let go of the COPY or PASTE button.
      * The text you underlined or crossed out appears at the insert caret.
  
      Drag and Drop to Move a Selection
--- 320,329 ----
  
      Quick Copy within textedit, mailtool, etc:
      * Click SELECT to get a text caret where you want the copied text to go
!     * Press and HOLD DOWN the PASTE (or CUT) button
      * Select the text you want to copy/move.  You'll see that it's underlined
        or crossed out, as appropriate.  (In the jed demo it goes grey)
!     * Let go of the PASTE (or CUT) button.
      * The text you underlined or crossed out appears at the insert caret.
  
      Drag and Drop to Move a Selection
***************
*** 372,490 ****
[the list of applications was here, I've deleted it from the diff - Lee]

--- 365,395 ----
  
      See the manual page for shelltool.
  
! Subject: Applications: Finding Out...
!     Contact SunSoft (or Sun) and ask for the Catalyst OPEN LOOK guide,
!     which lists over 200 pages of applications, and also the _huge_
!     Catalyst listing of products for Suns, updated six-monthly.
  
!     Sun's free CDWare CD/ROMs each contain demo versions of several popular
!     OPEN LOOK applications.  Often you can simply contact the vendor
!     concerned to have the license upgraded from demo, and receive the full
!     product documentation.
  
!     SunPICS produces a CD/ROM for NeWSPrint users, Printer's Pallate, which
!     contains NeWSprint drivers for a variety of printers and plotters, as
!     well as 600 scaleable fonts that you can license.
  
!     There is a separate FAQ posting in comp.windows.open-look that lists
!     a number of free and commercial aplications; mail lee@sq.com for a
!     copy, including OPEN LOOK UI Application List in the Subject for a
!     faster reply.
  
***************
*** 491,501 ****
      Sun OpenFonts group, listed in the Bibliography below.  Documentation on
      the unbundled version of TypeScaler is also available from Sun OpenFonts.
  
!     Sun has a program that converts Type 1 fonts to Folio format, but it's
!     not cheap.	You can buy Folio fonts, although the Sun sales office I
!     called weren't able to help me do so :-(
  
!     The latest release of Sun's NeWSPrint supports Type 1 fonts.
  
  @ Improving font rendering time
      Although the Sun type renderer (TypeScaler) is pretty fast, it's not as
--- 396,406 ----
      Sun OpenFonts group, listed in the Bibliography below.  Documentation on
      the unbundled version of TypeScaler is also available from Sun OpenFonts.
  
!     You can buy F3 fonts from SunPICS, Monotype, Linotype, URW and probably
!     other major foundries.
  
!     The latest release of Sun's NeWSPrint supports Type 1 fonts, as will
!     the next repease of OpenWindows.
  
  @ Improving font rendering time
      Although the Sun type renderer (TypeScaler) is pretty fast, it's not as
***************
*** 579,584 ****
--- 484,490 ----
  	/usr/openwin/lib/%T/%N%S
      and if it isn't, either set it or copy/merge the above lines from
      $OPENWINHOME/lib/app-defaults/XTerm into /usr/lib/X11/app-defaults/XTerm.
+     [See also: Environment Variables]
  
      This version automatically puts each xterm selection onto the clipboard:
  	XTerm*VT100.translations: #override\n\
***************
*** 585,593 ****
  	    ~Ctrl ~Meta<Btn2Up>: insert-selection(PRIMARY,CUT_BUFFER0)\n\
  	    ~Ctrl ~Meta<BtnUp>: select-end(PRIMARY,CUT_BUFFER0,CLIPBOARD)\n\
  	    <KeyPress>L8: insert-selection(CLIPBOARD)
  
      Adding the lines
!        <Key>L10: start-extend() select-end(PRIMARY, CLIPBOARD, CUT_BUFFER0)\n\
         <KeyRelease>L10: kill-selection() \n
      will even make L10 (CUT) work as a cut key! [untested]
  
--- 491,502 ----
  	    ~Ctrl ~Meta<Btn2Up>: insert-selection(PRIMARY,CUT_BUFFER0)\n\
  	    ~Ctrl ~Meta<BtnUp>: select-end(PRIMARY,CUT_BUFFER0,CLIPBOARD)\n\
  	    <KeyPress>L8: insert-selection(CLIPBOARD)
+     [Note: be sure that the \n\ is at the very end of the line, there must
+      be no following spaces, and any + or | signs showing that this FAQ file
+      was altered must also be removed!]
  
      Adding the lines
! <Key>L10: start-extend() select-end(PRIMARY, CLIPBOARD, CUT_BUFFER0)\n\
         <KeyRelease>L10: kill-selection() \n
      will even make L10 (CUT) work as a cut key! [untested]
  
***************
*** 652,663 ****
  
  @ I get console error messages on my screen and they don't go away (Sun 3 or 4)
      If "refresh" makes the messages vanish, but new ones come along later,
! 	you need to run "xterm -C" from your .xinitrc, or start one up in the
! 	background and then  choose Save Workspace from the Workspace->Utilities
! 	menu.  Better still, pick up "contool" and run that.  Get it from
! 	export.lcs.mit.edu in the contrib directory.  It will monitor the
! 	console and open, flash its icon or beep when a message appears; it's
! 	very easy to configure.
  
      If "refresh" from the Workspace->Utilities menu doesn't make the messages,
      go away...
--- 561,572 ----
  
  @ I get console error messages on my screen and they don't go away (Sun 3 or 4)
      If "refresh" makes the messages vanish, but new ones come along later,
! 	you need to run "xterm -C" from your .xinitrc, or start one up in
! 	the background and then  choose Save Workspace from the
! 	Workspace->Utilities menu.  Better still, pick up "contool" and run
! 	that.  Get it from export.lcs.mit.edu in the contrib directory.  It
! 	will monitor the console and open, flash its icon or beep when a
! 	message appears; it's very easy to configure.
  
      If "refresh" from the Workspace->Utilities menu doesn't make the messages,
      go away...
***************
*** 679,686 ****
  
  @ Is there an easy way of editing .Xdefaults?
      Use `props', which appears in the default root menu as `properties'.
!     This starts `props', a property editor which will re-write your .Xdefaults
!     after removing comments.  It then applies any changes.
  
  @ How do I get the File manager to use emacs instead of textedit?
      set the default editor to
--- 588,597 ----
  
  @ Is there an easy way of editing .Xdefaults?
      Use `props', which appears in the default root menu as `properties'.
!     This starts `props', a property editor which will re-write your
!     .Xdefaults after removing comments.  It then applies any changes.
!     Keep comments by using "comment." instead of "!", for example,
! 	comment.*.font: Palatino-Italic-37
  
  @ How do I get the File manager to use emacs instead of textedit?
      set the default editor to
***************
*** 780,788 ****
  @ Why aren't there any fish in realxfishdb?
      A fixed version of realxfishdb is available by ftp from
      ftp.eng.auburn.edu [131.204.10.91] as /pub/xrealfishdb.Z
!     
  @ Why is the Properties choice disabled in the Window menu?
!     It isn't implemented yet.
  
  @ File completion in the C-shell is broken in cmdtool
      Sadly true, but use shelltool or xterm instead and it's fine.  It also
--- 691,700 ----
  @ Why aren't there any fish in realxfishdb?
      A fixed version of realxfishdb is available by ftp from
      ftp.eng.auburn.edu [131.204.10.91] as /pub/xrealfishdb.Z
! 
  @ Why is the Properties choice disabled in the Window menu?
!     It isn't implemented yet.  Many programs do respond to the Properties
!     Key (L3), though, or have a pop-up menu with Properties on it.
  
  @ File completion in the C-shell is broken in cmdtool
      Sadly true, but use shelltool or xterm instead and it's fine.  It also
***************
*** 838,844 ****
  
  @ how do I keep an XView pop-up window displayed after a button is pressed?
      In the button callback, do
! 	xv_set(button, PANEL_NOTIFY_STATUS, XV_ERROR, NULL);
      This will keep the window visible.
  
  @ how do I make an XView button look pressed?
--- 750,756 ----
  
  @ how do I keep an XView pop-up window displayed after a button is pressed?
      In the button callback, do
!         xv_set(button, PANEL_NOTIFY_STATUS, XV_ERROR, NULL);
      This will keep the window visible.
  
  @ how do I make an XView button look pressed?
***************
*** 847,855 ****
  
  @ OpenWindows 3 imake doesn't work properly
      Here is Greg Earle's patch, to be applied in $OPENWINHOME; note that you
!     should edit lib/config/sun.cf afterwards to get OSName and OSMinorVersion
!     right (MinorVersion is 1 in SunOS 4.1.2, for example).  I have edited
!     the patch a little, so any bugs are mine [lee@sq.com] :-)
   
  *** bin/xmkmf.orig	Wed Sep 18 07:02:02 1991
  --- bin/xmkmf	Tue Aug  6 00:39:20 1991
--- 759,767 ----
  
  @ OpenWindows 3 imake doesn't work properly
      Here is Greg Earle's patch, to be applied in $OPENWINHOME; note that you
!     should edit lib/config/sun.cf afterwards to get OSName and
!     OSMinorVersion right (MinorVersion is 1 in SunOS 4.1.2, for example).
!     I have edited the patch a little, so any bugs are mine [lee@sq.com] :-)
   
  *** bin/xmkmf.orig	Wed Sep 18 07:02:02 1991
  --- bin/xmkmf	Tue Aug  6 00:39:20 1991
***************
*** 879,884 ****
--- 791,798 ----
  + 	$(INSTALL) -c $(INSTDATFLAGS) file dest
  + #define NullParameter
  
+ [Note: the patch is new, but I have not marked each line with a "+" -- Liam]
+ 
  Subject: Environment Variables
  
      Environment variables, and plausible values to use -- this list doesn't
***************
*** 918,927 ****
  	$(OPENWINHOME)/bin/xview in OpenWindows 3.0)
      XFILESEARCHPATH  Where programs look for app-defaults files
  	/usr/openwin/lib/%T/%N%S
! 	(This is set automatically by "openwin" in OpenWindows 3.0)
! 	You might want to use /usr/lib/X11/%T/%N%S, or perhaps both,
! 	separated with a :, for example (for sh users)
! 	    XFILESEARCHPATH=$OPENWINHOME/lib/%T/%N%S:/usr/lib/X11/%T/%N%S
  	    export XFILESEARCHPATH
  
  Subject: Where Can I get It? Ftp, implementations, etc...
--- 832,841 ----
  	$(OPENWINHOME)/bin/xview in OpenWindows 3.0)
      XFILESEARCHPATH  Where programs look for app-defaults files
  	/usr/openwin/lib/%T/%N%S
!         (This is set automatically by "openwin" in OpenWindows 3.0)
!         You might want to use /usr/lib/X11/%T/%N%S, or perhaps both,
!         separated with a :, for example (for sh users)
!             XFILESEARCHPATH=$OPENWINHOME/lib/%T/%N%S:/usr/lib/X11/%T/%N%S
  	    export XFILESEARCHPATH
  
  Subject: Where Can I get It? Ftp, implementations, etc...

[END]
-- 
Liam Quin, lee@sq.com, SoftQuad, Toronto, 416 239-4801; the barefoot programmer
  lq-text (Unix text retrieval package) mailing list: lq-text-request@sq.com

Newsgroups: comp.windows.open-look