home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / windows / openloo / 3748 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  51.6 KB

  1. Xref: sparky comp.windows.open-look:3748 comp.windows.x:16264 alt.toolkits.xview:833
  2. Newsgroups: comp.windows.open-look,comp.windows.x,alt.toolkits.xview
  3. Path: sparky!uunet!uunet.ca!wildcan!sq!lee
  4. From: lee@sq.sq.com (Liam R. E. Quin)
  5. Subject: OPEN LOOK GUI frequently asked questions
  6. Message-ID: <1992Sep7.031417.7245@sq.sq.com>
  7. Organization: SoftQuad Inc., Toronto, Canada
  8. X-Feet: bare
  9. Date: Mon, 7 Sep 92 03:14:17 GMT
  10. Lines: 1112
  11.  
  12. Frequently-asked questions about the OPEN LOOK Graphical User Interface.
  13.  
  14. If your question isn't here, please try (at *least*)
  15.     man openwin
  16.     man xnews
  17.     man 7 xview
  18. and looking in the appropriate manuals listed in the Bibliography below
  19. before posting to the comp.windows.open-look, comp.windows.x or              |
  20. alt.toolkits.xview newsgroups and/or their corresponding mailing lists.      |
  21.                                                                              |
  22. Frequently Asked Questions for X11 are posted to comp.windows.x monthly.     |
  23.                                          |
  24. This is version: $Revision: 1.34 $; Last posted version:  1.32               |
  25.  
  26. Contents: (in rn and trn you can use control-G to go to the next topic)
  27.  
  28.     Subject: Terminology: OPEN LOOK, OpenWindows, X11, XView, (MO)OLIT, Motif
  29.     Subject: Window Managers -- olwm, olvwm
  30.     Subject: OpenWindows, Terminals, and Other Displays
  31.     Subject: Configuration Files: Getting started with OpenWindows
  32.     Subject: Key Bindings, Cut and Paste
  33.     Subject: Applications: General
  34.     Subject: Applications: PostScript previewers...
  35.     Subject: Applications: Application Builders
  36.     Subject: Applications: XView Extensions
  37.     Subject: Troubleshooting: It Won't Let Me Type
  38.     Subject: Troubleshooting: Not authorized to use display
  39.     Subject: Trouble Shooting: other common problems
  40.     Subject: Trouble Shooting: XView problems
  41.     Subject: Fonts
  42.     Subject: Environment Variables
  43.     Subject: Where Can I get It? Ftp, implementations, etc...
  44.     Subject: Bibliography -- books, manuals, journals, papers, beer-mats
  45.     Subject: Getting this File, Revision History, Recent Changes
  46.  
  47.  
  48. Subject: Terminology: OPEN LOOK, OpenWindows, X11, XView, OLIT, MOOLIT, Motif
  49.  
  50. @ What is OPEN LOOK?
  51.     OPEN LOOK is a specification of a Graphical User Interface (GUI).
  52.     A GUI determines the `look and feel' of a system -- the shape of
  53.     windows, buttons and scroll-bars, how you resize things, how you
  54.     edit files, etc.
  55.  
  56.     The OPEN LOOK GUI is specified, developed and maintained jointly by
  57.     Sun Microsystems and AT&T.
  58.  
  59.     See Also:
  60.     Bibliography
  61.  
  62. @ What is OpenWindows?
  63.     OpenWindows is a windowing environment that conforms to the OPEN LOOK
  64.     Graphical User Interface Specifications.  It's compatible with the
  65.     X11 window system from MIT as well as Sun's NeWS and SunView, so you
  66.     can intermix programs written for any of those systems.
  67.     It comes from Sun and with System V Release 4 from certain vendors.
  68.     OpenWindows is sometimes also called openwin or xnews, after the
  69.     program used to start it and the main executable itself, respectively.
  70.     You can license the source from Sun.
  71.  
  72.     See Also:
  73.     Mixing X11 and OpenWindows
  74.     Where can I get it?
  75.  
  76. @ What are OLIT, XView and TNT?
  77.     These are all toolkits for programmers to use in developing programs
  78.     that conform to the OPEN LOOK specifications.  See the Bibliography
  79.     for documentation on the individual toolkits.  Here's a brief summary:
  80.  
  81.     OLIT is AT&T's OPEN LOOK Intrinsics Toolkit for the X Window system;
  82.     it uses a widget set, and is probably the easiest for people who are
  83.     already X11 programmers to learn.  You can buy the source from AT&T.
  84.     Sun includes the OLIT library in OpenWindows (q.v.); it may also be
  85.     included in System V Release 4.  It's written in C.     The current
  86.     version of OLIT (included in OpenWindows, or available from AT&T) is 2.5.
  87.     The release of OLIT in OpenWindows 3.0 is OLIT 3.0.
  88.     See also: MOOLIT [sic]
  89.  
  90.     XView is Sun's toolkit for X11, written in C.  This one is more
  91.     obviously object-oriented than OLIT, and is similar in programmer
  92.     interface to SunView.  There's even a program to help migrate source
  93.     code from SunView to XView.     XView is often said to be the easiest
  94.     toolkit to learn.
  95.     The XView toolkit is included in OpenWindows, and full source is
  96.     available by anonymous ftp from export.lcs.mit.edu (and elsewhere).
  97.     The current version of XView from Sun is 3.0.
  98.  
  99.     The NeWS Toolkit (TNT) is an object-oriented programming system based
  100.     on the PostScript language and NeWS.  TNT implements many of the
  101.     OPEN LOOK interface components required to build the user interface of
  102.     an application.  It's included in OpenWindows.
  103.     The current version of TNT from Sun is 3.0; Release 3.0 contains some
  104.     incompatibilities with tNt 1.0 [other than the NEW cApItAlIzAtIoN :-)].
  105.  
  106.     The C++ User Interface Toolkit (UIT) consists of an object-oriented C++
  107.     class library layered on top of XView and a tool to generate code from
  108.     DevGuide 3 GIL files.  The UIT also includes features that simplify
  109.     event management and the use of PostScript and color.  It is said to be
  110.     compatible with OpenWindows V2 and V3, and presumably V3.0.1, since the
  111.     release mentions that it works on Solaris 2.
  112.     UIT is not an official Sun-supported product but an ongoing project of
  113.     various people within Sun.  It can be found on export.lcs.mit.edu in
  114.     the MIT contrib directory as UITV2.tar.Z (use binary mode!).
  115.  
  116. @ Where does Motif fit in?
  117.     It doesn't :-).  Motif is an alternative Graphical User Interface that
  118.     is being developed by OSF.    It has a `look and feel' reminiscent of
  119.     Microsoft Windows and the OS/2 Presentation Manager.  There are no non-
  120.     commercial Motif toolkits available, although the Motif source is sold
  121.     reasonably cheaply by OSF.    Although Motif is currently available on
  122.     more platforms than OpenWindows, the OPEN LOOK GUI is almost certainly
  123.     used on many more machines, simply because Sun (and SysVR4) have such a
  124.     large installed base.
  125.     Sun's CD/WARE Volume 2 contains a roadmap for improving Motif
  126.     applications by converting them to OLIT [:-)]; there are also notes in
  127.     the `Periodic Table' OLIT demo, $OPENWINHOME/demo/olittable.             |
  128.  
  129. @ What is MOOLIT?
  130.     MOOLIT is a version of OLIT from AT&T that lets users choose between a
  131.     Motif and an OPEN LOOK UI feel at run-time.  It will be part of System V
  132.     Release 4.2, which may also contain an X11R5 that supports Adobe's Type
  133.     Manager (ATM).  It isn't clear whether MOOLIT will replace OLIT.
  134.     Contact: Joanne Newbauer, jo@usl.com, (908) 522-6677
  135.  
  136. Subject: Window Managers -- olwm, olvwm
  137.  
  138. @ What are olwm and olvwm?
  139.     They are window managers.  A window manager is the part of the X Window
  140.     system (e.g. X11) that is responsible for deciding how to lay out windows
  141.     on the screen, and for managing the user's interaction with the windows.
  142.  
  143.     Olwm is the standard OPEN LOOK window manager.
  144.     It's included with all of the OpenWindows (q.v.) implementations, and
  145.     you can also get the source by ftp, since Sun donated it.
  146.  
  147.     Olvwm is a version of olwm that manages a `virtual desktop' (hence the
  148.     `v' in its name).  It shows a little map on the screen, with the
  149.     currently displayed area represented by a little rectangle.     You can
  150.     move around by dragging the rectangle or with the arrow keys.  This
  151.     lets you run several clients (applications) and move the display around
  152.     from one to the other.  Olvwm was derived from the OpenWindows 3.0 olwm
  153.     by Scott Oaks; you need to have XView 3.0 to compile it.
  154.     Get olvwm from an ftp site such as export.lcs.mit.edu (in the contrib
  155.     directory; there are two patches).
  156.  
  157. @ Can I use my favorite window manager with OpenWindows instead of olwm?
  158.     Yes.  If you use twm, for example, or mwm, you won't be able to use
  159.     the Pin and Unpin feature of olwm, and you (probably) won't see the
  160.     footers some windows use to display certain messages.
  161.  
  162.     If you use twm, you'll want to use the f.delete function to unpin menus
  163.     and get rid of programs that don't have a `quit' button when not run
  164.     under olwm.                                     |
  165.     For twm, put this in your $HOME/.twmrc:                                  +
  166.     LeftTitleButton "target" = f.delete                                  +
  167.     where "target" is a 16x16 icon from /usr/include/X11/bitmaps.            +
  168.     Alternatively, try                                  +
  169.     # Add a menu to each window managed by twm or tvtwm                  +
  170.     LeftTitleButton ":menu" = f.menu "OL.menu"                 +
  171.                                          +
  172.     menu "OL.menu" {                             +
  173.         "Quit"         f.delete                         +
  174.     }                                     +
  175.                                          +
  176.     For mwm, you can double-click on the menu icon on the left of the title  +
  177.     bar to dismiss a pop-up window (I am told).                     +
  178.                                          +
  179.     See the manual page for your window manager (twm, etc).             |
  180.  
  181. More OPEN LOOK programs are listed under Applications below.
  182.  
  183. Subject: OpenWindows, Terminals, and Other Displays
  184.  
  185. @ Can I use olwm and olvwm without OpenWindows or on an X Terminal?
  186.     The OpenWindows xnews server combines SunView, NeWS (PostScript) and X11.
  187.     This means that it can run programs compiled for any of those systems.
  188.     Unfortunately, it means that some OpenWindows programs need either NeWS
  189.     or SunView support, and thus won't run on an X terminal.  This includes
  190.     pageview in particular.
  191.  
  192.     You can use olwm or olvwm (see above) on an X terminal or a non-Open-
  193.     Windows display, and most OPEN LOOK clients (e.g. OLIT or XView ones)
  194.     will work perfectly well.  You may find that you get complaints about
  195.     fonts not being found.  If so, see the Fonts section below.
  196.     If you are running the window manager built-in to an NCD terminal, you
  197.     may have problems with input focus; setting *Input: True in the terminal's
  198.     XDefault file in /usr/lib/X11/xdm may or may not help.
  199.  
  200.     See Also:
  201.     Applications: PostScript previewers
  202.  
  203.  
  204. Subject: Configuration Files: Getting started with OpenWindows
  205.      
  206. @ What configuration files do I need to know about?
  207.  
  208.     .xinitrc and .xsessionrc
  209.  
  210.     The first time you run OpenWindows, a .xinitrc file will be created in
  211.     your login directory ($HOME).  If it already exists, you might have to
  212.     edit it somewhat; it's simplest to move it and any other old X11 files
  213.     you have to another directory, and then merge the old and new files.
  214.  
  215.     If your site uses xdm, you should use .xsession instead of .xinitrc,
  216.     since xdm doesn't look at your .xinitrc file.
  217.  
  218.     .openwin-init, .openwin-menu and .openwin-sys
  219.  
  220.     These are optional files you can create in your $HOME directory,
  221.     depending on which version of olwm or olvwm you use.
  222.     Look in $OPENWINHOME/lib (normally /usr/openwin/lib) for these files
  223.     without the leading . and copy any you want to change.  You may need
  224.     to edit your .xinitrc to get them recognized.  If you are not on an
  225.     X terminal, you will want to run a console window (such as cmdtool -C,
  226.     shelltool -C, xterm -C) or Chuck Musciano's "contool" program so that
  227.     system output will be directed there instead of writing over your screen.
  228.     Note that .openwin-sys is not executed unless you edit .xinitrc.
  229.  
  230.     .Xdefaults
  231.  
  232.     You can put X Windows resource specifications in here.  In particular,
  233.     it is a good idea to include at least:
  234.     OpenWindows.FocusLenience:    true
  235.     *Input: TRUE
  236.     These allow non-ICCCM-compliant programs to receive input even if they
  237.     forget to ask for it.
  238.  
  239.     Props, the program that runs when you select `properties' from the default
  240.     root menu under olwm or olvwm, writes your choices into .Xdefaults.
  241.     Don't put comments in .Xdefaults, since `props' deletes them.
  242.  
  243.     .startup.ps
  244.  
  245.     This is the NeWS user profile file, read by OpenWindows (actually xnews)
  246.     on startup.     This is documented in the NeWS programming manual, near the
  247.     back.  The most useful thing to put here is PostScript code to change
  248.     the keyboard repeat rate, although you must be very careful, since a
  249.     syntax error in the PostScript means that xnews will either not start up
  250.     at all or will get broken in strange ways.    The NeWS manual gives code
  251.     that is both incorrect and insufficient.
  252.     WARNING: things in this file rarely work on both OpenWindows 2 and 3.
  253.  
  254.     Note that the mouse speed is best set in your .xinitrc with xset m; see
  255.     the man page for xset ("man xset", and "xset -help") for more information.
  256.  
  257.     Here's what $HOME/.startup.ps  should look like if you want a delay of
  258.     about a third of a second (300000 microseconds), and a repeat rate of
  259.     twenty or so keys per second (30000 microseconds between repeats) for
  260.     OpenWindows 3.  You'll have to experiment a bit because the RepeatTime
  261.     is the delay between keys sent, and thus doesn't include the time to
  262.     process each key, which is probably higher on my 4/110 than on your
  263.     SuperSPARC 10/51 GTi injection :-)  Again, this is for OpenWindows 3...
  264.  
  265.     % don't want the demos - see p. xxxii of NeWS Toolkit Reference Manual
  266.     % /IncludeDemos? false def
  267.  
  268.     UserProfile begin
  269.         /KeyRepeatThresh 0 300000 timeval storetimeval def
  270.         /KeyRepeatTime 0 30000 timeval storetimeval def
  271.         % Note: 300000 and 30000 differ greatly...
  272.     end
  273.  
  274.     You must also have a .user.ps file in the same directory, like this:
  275.  
  276.     /NeWS 3 0 findpackage beginpackage
  277.     /TNTCore 3 0 findpackage beginpackage
  278.     /TNT 3 0 findpackage beginpackage
  279.  
  280.     ClassRepeatKeys pop    % force repeat.ps to autoload
  281.  
  282.     endpackage endpackage endpackage
  283.  
  284.     If you change these parameters, you can test them without restarting the
  285.     OpenWindows server like this:
  286.     $ psh -i .startup.ps
  287.     Welcome to X11/NeWS Version3
  288.     $ psh -i
  289.     Welcome to X11/NeWS Version3
  290.     /classinit ClassRepeatKeys send
  291.     %%% now press control-D
  292.  
  293.     You can also either of these two files (.startup.ps and .user.ps) to make
  294.     the root window be "retained", so that a PostScript drawing on the
  295.     background won't be erased when you move windows:
  296.     frambuffer /Retained true put
  297.     will do this.  Note that this may increase the amount of memory used
  298.     by the NeWS server (xnews) dramatically.
  299.     
  300.     See also:
  301.     Troubleshooting: It Won't Let Me Type
  302.     Troubleshooting: Is there an easy way to edit Xdefaults?
  303.     Environment Variables
  304.  
  305. @ How can I configure OPEN LOOK for a left-handed mouse and keyboard?
  306.     It's probably best to wait for OpenWindows 3.0, since some of the
  307.     functions are hard-coded and can't be changed.  In the mean-time, you
  308.     can use xmodmap to change the mouse buttons, but be prepared for one
  309.     or two occasional surprises.
  310.  
  311. @ How can I get the screen to go blank when the system is idle?
  312.  
  313.     Run screenblank from /etc/rc.local if you can; it's a boring but effective
  314.     screen saver.  See `man screenblank'.
  315.  
  316. Subject: Key Bindings, Cut and Paste
  317.  
  318. [please tell me if this section is useful! -- Lee, lee@sq.com]
  319.  
  320. @ How do I cut and paste between XTerm and OpenWindows programs?
  321.  
  322.     To go from XTerm to textedit (say):
  323.     * Select the text you want to copy by dragging the SELECT mouse button
  324.       in xterm
  325.     * Press COPY in the XTerm (this key is L6, or Meta+c (the O'Reilly
  326.       XView manual gets this wrong)
  327.     * Move to the textedit window, and press PASTE (L8 or Meta+v)
  328.  
  329.     If this doesn't work, see Troubleshooting: Cut and Paste
  330.  
  331.    To go the other way, from textedit to XTerm:
  332.     * Select the text in textedit.  No need to use COPY
  333.     * Move to the XTerm window and press ADJUST (the middle mouse button).
  334.     * You can also use the COPY/CUT and PASTE buttons.
  335.  
  336. @ COPY/PASTE is boring.     What short-cuts are available?
  337.  
  338.     Quick Copy within textedit, mailtool, etc:
  339.     * Click SELECT to get a text caret where you want the copied text to go
  340.     * Press and HOLD DOWN the COPY (or CUT) button
  341.     * Select the text you want to copy/move.  You'll see that it's underlined
  342.       or crossed out, as appropriate.  (In the jed demo it goes grey)
  343.     * Let go of the COPY or PASTE button.
  344.     * The text you underlined or crossed out appears at the insert caret.
  345.  
  346.     Drag and Drop to Move a Selection
  347.     * Select the text you want to copy or move, by dragging or miltiple-
  348.       clicking the SELECT or ADJUST mouse button
  349.     * Put the mouse pointer anywhere within the selection
  350.     * Press and HOLD DOWN down the SELECT mouse button, and move the mouse
  351.       pointer a little to the right; you'll see the cursor changes to be the
  352.       first 3 letters of the text (or some other icon).
  353.     * Still holding SELECT down, move the mouse over the point where you want
  354.       to drop the text
  355.     * You may see the mouse pointer change to a rifle-sight or target, to show
  356.       that it's OK to drop things here
  357.     * Let go of SELECT, and the text is moved.    This works in text fields of
  358.       dialogue boxes as well as in text subwindows.
  359.  
  360.     Drag and Drop to Copy a Selection
  361.     * This is the same as using Drag and Drop to Move a Selection, except that
  362.       you must hold the CONTROL key down as well as the SELECT mouse button.
  363.  
  364. @ What are the default key bindings in textedit and elsewhere?
  365.  
  366.     See the man page for textedit(1) for some of them.
  367.     In general, the editing/moving commands go in the opposite direction when
  368.     shifted - e.g. Ctrl+w deletes a word, and Ctrl+W deletes the word to the
  369.     right of the insert point.
  370.  
  371.     Meta-i - include file        Meta-f - find selection (forward/backward)
  372.  
  373.     Ctrl-a - start of line        Ctrl-< - back word
  374.     Ctrl-e - end of line        Ctrl-> - forward word
  375.     Ctrl-w - delete word        Ctrl-u - delete to start/END of line
  376.     Ctrl-Return - move to end/START of document
  377.  
  378.     See the O'Reilly XView Reference Manual for a list of some of the default
  379.     keys; see also the olwm or olvwm manual page.
  380.  
  381. @ What can I put in my .ttysrc?     Where is it documented?
  382.  
  383.     See the manual page for shelltool.
  384.  
  385. Subject: Applications: General
  386.  
  387.     bibcard (ftp from iam.unibe.ch [130.92.64.10]; /X11/Bibcard-1.0.tar.Z)
  388.     an OPEN LOOK font end to BibTeX.
  389.     Includes source (needs XView) and SPARC binary for SunOS 4.1.1.
  390.     contool (ftp from export.lcs.mit.edu)
  391.     a special-purpose console-window that can filter out or take special
  392.     action on specified console messages; written by Chuck Musciano.
  393.     ftptool (ftp from export.lcs.mit.edu)
  394.     an OPEN LOOK front-end to ftp (it uses XView)
  395.     Hyperlook, from the Turing Institute
  396.     Hypertext package written entirely in NeWS.  Runtime from turing.com
  397.     in /pub or ftp.uu.net (graphics/NeWS/HyperLook1.5-runtime.tar.Z)
  398.     Maestro (ftp from sioux.stanford.edu)
  399.     Multimedia authoring tools, including support for sound, text & video.
  400.     Spider (Included in OpenWindows under `demo' and `share/src')
  401.     A patience-style card game with two packs of cards and
  402.     excellent bitmap cards.     I suggest recompiling to allow the cards to
  403.     have rounded edges.
  404.     xvnews (ftp from export.lcs.mit.edu)
  405.     An xview-based newsreader for netnews.
  406.     xvttool (ftp from titan.rice.edu:sun-source)
  407.     A vt100/102 emulator, in both XView and SunView versions.  Includes
  408.     buttons for the PF keys, etc.
  409.     Commercial:
  410.     Unfortunately it isn't possible to include commercial OPEN LOOK
  411.     applications here, because of usage restrictions on networks.
  412.     Contact SunSoft (or Sun) and ask for the Catalyst OPEN LOOK guide,
  413.     which lists over 200 pages of applications.
  414.  
  415.     You can also get the free CDWare CD/ROM, which contains demo versions
  416.     of several popular OPEN LOOK applications.  Once you've done this,
  417.     you can simply contact the vendor concerned to have the license
  418.     upgraded from demo, and receive the full product documentation.
  419.  
  420. Subject: Applications: PostScript previewers...
  421.  
  422.     pageview (included with OpenWindows)
  423.     Only runs under OpenWindows.  No Type 1 font support
  424.     A good thing to try with colour OpnWindows 3 is pageview -aa -dpi 150.
  425.     xps (included with OpenWindows under demo and share/src)
  426.     Only runs under OpenWindows.
  427.     psh (included with OpenWindows)
  428.     simple interface to NeWS and the OpenWindows server
  429.     Note that pageview, xps and psh are simply front ends to the X11/NeWS
  430.     server in OpenWindows, and thus won't run on an X terminal or other
  431.     non-OpenWindows server.
  432.  
  433.     ralpage (ftp from export.lcs.mit.edu in contrib/clients)
  434.     Crispin Goswell's PostScript interpreter, much hacked.
  435.     Not OPEN LOOK compliant.  No Type 1 font support.
  436.     There are other versions of this called `xps', `postscript', etc.;
  437.     don't confuse this `xp' with the one mentioned above.
  438.     ghostscript (from the Free Software Foundation)
  439.     Supports Type 1 fonts.
  440.  
  441. Subject: Applications: Application Builders
  442.  
  443.     DevGuide 3.0 (from Sun) [commercial]
  444.     lets you use Drag and Drop to create an OPEN LOOK application with
  445.     XView, OLIT, UIT or TNT (see Toolkits above).  Very easy to use.
  446.  
  447.     XVT (from XVT Systems) [commercial]
  448.     Lets you write code to a common subset of OPEN LOOK, Motif, Microsoft
  449.     Windows, the Macintosh GUI, and even terminals (using curses).    You
  450.     buy an XVT toolkit for each environment.  The XVT programmer's
  451.     interface was recently selected by an IEEE committee as the basis for
  452.     a portable GUI standard.
  453.  
  454.     ExoCode (from Expert Object) [commercial]
  455.     was one of the first third-party GUI builders to support OPEN LOOK,
  456.     using the XView toolkit.  It was reviewed in SunExpert magazine
  457.     in 1990.
  458.  
  459.     uib (from Solbourne) [commercial]
  460.     uib is a user interface builder which supports building applications
  461.     that support both OPEN LOOK and Motif.    It generates code for
  462.     Solbourne's OI C++ toolkit and can use user created subclasses.
  463.     It is available from Solbourne.
  464.     Contact Debra Frances debra@Solbourne.COM, +1 303 678-4626
  465.  
  466.     There are OPEN LOOK versions of dirt and wcl either in progress or
  467.     already available.
  468.  
  469. Subject: Applications: XView Extensions
  470.  
  471.     Slingshot provides rectangles (like the Xt Intrinsics' RectObj gadget),
  472.     drag-and-drop-aware images, icons and text, trees, lines, arrows...
  473.     You will need a total of 3.3 Megabytes of disk space to compile the
  474.     library and the example programs.
  475.  
  476.     Get it by ftp from export.lcs.mit.edu, in /contrib/slingshot-pkgs.tar.Z
  477.     (remember to use binary mode in ftp!).  You can also get it by sending mail
  478.     to archive-server@gazooch.eng.sun.com with the body of each message
  479.     containing a line like
  480.     send sspkg Part01 Part02
  481.     going up to
  482.     send sspkg Part15 Part16
  483.     You can ask for one file at a time to reduce the impact on intermediate
  484.     mail sites.     Ask the mail server for help with the Subject line: "help".
  485.     A human can be reached at archive-manager@gazooch.eng.sun.com.
  486.  
  487.     There are also a number of commercial XView extensions, again listed in
  488.     the Catalyst OPEN LOOK guide, such as XRT/Graph (for bar charts etc.),   |
  489.     as well as ports of XView and C++ wrappers such as Qualix's XV++.         +
  490.  
  491.     I am making a list of commercial and free OPEN LOOK UI products; if you  |
  492.     send me details I shall be happy to include your product/pogram/...      |
  493.  
  494. Subject: Fonts
  495.  
  496. @ Does OpenWindows support Type 1 PostScript fonts?
  497.     No.     If you have FrameMaker there is a utility to import them, I'm told.
  498.     The 57 fonts supplied with OpenWindows are fully hinted, though, and
  499.     comparing them to the Microsoft Windows and Apple TrueType fonts is
  500.     interesting...  The F3 font format is described in a publication from the
  501.     Sun OpenFonts group, listed in the Bibliography below.  Documentation on
  502.     the unbundled version of TypeScaler is also available from Sun OpenFonts.
  503.  
  504.     Sun has a program that converts Type 1 fonts to Folio format, but it's
  505.     not cheap.    You can buy Folio fonts, although the Sun sales office I
  506.     called weren't able to help me do so :-(
  507.  
  508.     The latest release of Sun's NeWSPrint supports Type 1 fonts.
  509.  
  510. @ Improving font rendering time
  511.     Although the Sun type renderer (TypeScaler) is pretty fast, it's not as
  512.     fast as loading a bitmap :-).  You can pre-generate bitmap fonts for sizes
  513.     that you use a lot, and you can also alter and access the font cache
  514.     parameters.     If you have a lot of memory you might want to increase the
  515.     font cache size.
  516.     $ psh -i
  517.     Welcome to X11/NeWS Version3 <--- psh will say this at you
  518.     currentfontmem =    % type this line ...
  519.     300    % and here's whai my server was using -- 300 Kbytes
  520.     1024 setfontmem
  521.     % Just to check:
  522.     currentfontmem =
  523.     1024
  524.     See pp. 328ff of the NeWS 3.0 Programmer's Guide.  You need to say psh -i
  525.     so that the PostScript packages are loaded - see the psh man page.
  526.  
  527. @ Making bitmap fonts for faster startup:
  528.     $ mkdir $HOME/myfonts
  529.     $ cd $HOME/myfonts
  530.     $ makeafb -20 -M $OPENWINHOME/lib/fonts/Bembo.f3b
  531.     Creating Bembo20.afb
  532.     $ convertfont -b Bembo20.afb
  533.     Bembo20.afb->./Bembo20.fb
  534.     Chars parameter greater than number of characters supplied.
  535.     $ ls
  536.     Bembo20.afb    Bembo20.fb    Synonyms.list
  537.     $ bldfamily
  538.     * Bembo               ./Bembo.ff (Encoding: latin)
  539.     cat: ./Compat.list: No such file or directory
  540.     $ xset +fp `pwd`
  541.     $ xset fp rehash
  542.  
  543.     If you want the server to see your new font directory every time,
  544.     add this directory to your FONTPATH environment variable in one
  545.     of your start-up files, e.g. .login or .profile.
  546.  
  547. @ Converting between font formats (convertfont, etc.)
  548.     You can also use Folio fonts with an X11 server, by converting them to a
  549.     bitmap (X11 bdf format) first.  Your licence forbids you from using the
  550.     fonts on another machine, and unless you have NeWSPrint you shouldn't
  551.     use them for printing.  Having said all that...  you can use makeafb and
  552.     convertfont to generate bdf files that you can compile with bdftosnf or
  553.     bdftopcf.
  554.  
  555.     Use mftobdf (from the SeeTeX distribution) to convert TeX pk fonts to
  556.     X11 bdf format, which you can then use with either X11 or OenWindows.
  557.  
  558. @ Xview/OLIT fonts at 100 dpi
  559.     There aren't any.  More precisely, the various text fonts, such as
  560.     Lucida Typewriter Sans, are available at 100 dpi, and in fact are
  561.     scalable under OpenWindows.     The glyph fonts are bitmaps, and don't
  562.     scale very well.
  563.  
  564. Subject: Troubleshooting: It Won't Let Me Type
  565.  
  566. @ When I try to type into some programs, I just get beeps or nothing happens
  567.     It is a good idea to include at least:
  568.     OpenWindows.FocusLenience:    true
  569.     *Input: TRUE
  570.     in your .Xdefaults file, as these allow non-ICCCM-compliant programs to
  571.     receive input even if they forget to ask for it.
  572.     See the next item for editing .Xdefaults
  573.  
  574. Subject: Troubleshooting: Cut and Paste not working
  575.  
  576. @ I can't paste between xterm and XView or deskset programs
  577.     Under OpenWindows 2, you need to add the following either to your
  578.     $HOME/.Xdefaults file, or to $OPENWINHOME/lib/app-defaults/XTerm instead:
  579.  
  580.     XTerm*VT100.Translations: #override \
  581.         <Key>L6:select-set(CLIPBOARD)\n\
  582.         <Key>L8:insert-selection(CLIPBOARD)
  583.   
  584.     You must not move the mouse between ending the selection and pressing    +
  585.     L8 (the Paste key)!                                 +
  586.                                          +
  587.     Under OpenWindows 3, this is already in the app-defaults file, so if it
  588.     isn't working, check that XFILESEARCHPATH is set to
  589.     /usr/openwin/lib/%T/%N%S
  590.     and if it isn't, either set it or copy/merge the above lines from
  591.     $OPENWINHOME/lib/app-defaults/XTerm into /usr/lib/X11/app-defaults/XTerm.
  592.     [See also: Environment Variables]
  593.  
  594.     This version automatically puts each xterm selection onto the clipboard: +
  595.     XTerm*VT100.translations: #override\n\                     +
  596.         ~Ctrl ~Meta<Btn2Up>: insert-selection(PRIMARY,CUT_BUFFER0)\n\    +
  597.         ~Ctrl ~Meta<BtnUp>: select-end(PRIMARY,CUT_BUFFER0,CLIPBOARD)\n\ +
  598.         <KeyPress>L8: insert-selection(CLIPBOARD)                 +
  599.     [Note: be sure that the \n\ is at the very end of the line, there must   +
  600.      be no following spaces, and any + or | signs showing that this FAQ file +
  601.      was altered must also be removed!]                         +
  602.                                          +
  603.     Adding the lines                                 +
  604. <Key>L10: start-extend() select-end(PRIMARY, CLIPBOARD, CUT_BUFFER0)\n\         +
  605.        <KeyRelease>L10: kill-selection() \n                     +
  606.     will even make L10 (CUT) work as a cut key! [untested]             +
  607.                                          +
  608.     If you alter $HOME/.Xdefaults instead, you must use what X calls a         +
  609.     `more specific' resource name:                          +
  610.     xterm.vt100.translations                          +
  611.     will do.                                      +
  612.                                          +
  613. @ I always get the same piece of text whn I press PASTE (L8, Meta+v)
  614.     Remove the file /tmp/textsw_shelf and see if that helps; see also the
  615.     next item.
  616.  
  617. * Cut Copy and Paste don't work at all (OpenWindows only)
  618.     Oh dear.  Use ps -xuaww | grep xv  to check that sv_xv_sel_svc is running
  619.     and that either you or root started it, depending on whether you started
  620.     OpenWindows with "openwin" or by logging in through xdm.
  621.     If not, start it.  If it dies, check that there is no /tmp/.sv_xv_sel_svc
  622.     before restarting it - you may need to be root to remove it, or you can
  623.     reboot your workstation.
  624.     Check that there is space in /tmp (use "df /tmp"), and also see if there
  625.     are a lot of files there with names like /tmp/tty.txt.a01246; if there are
  626.     several hundred of them, cut and paste may take so long that it times out.
  627.  
  628.     Quit any deskset tools such as mailtool, filemgr and cm (calendar), start
  629.     a terminal emulator and remove and /tmp/tty.txt* and /tmp/Text* files
  630.     that are still there.  It's simplest to quit openwin and start it again
  631.     after doing that, if cut and paste was broken, but if it starts working
  632.     again you can just carry on.  Note that files in /tmp not owned by you
  633.     might be in use by another worker comrade, so don't remove thos without
  634.     checking first!
  635.  
  636. Subject: Troubleshooting: Not authorized to use display
  637.  
  638.     If you get error messages that look like
  639.     Xlib:  connection to ":0.0" refused by server
  640.     Xlib:  Internal error during connection authorization check
  641.     Error: Can't Open display
  642.     try, on the machine running OpenWindows or X11,
  643.     xhost +machine
  644.     where "machine" is the computer on which you ran the command that failed.
  645.     If you want to let other users run programs on the same machine as you,
  646.     using your display, you will have to type the bizarre-looking
  647.     xhost +`hostname`
  648.     (or xhost +happyboy, if happyboy is the name of your workstation).
  649.     This lets ANY user on `happyboy' access your display.
  650.  
  651.     With OpenWindows 3.0 you can also use xauth, and the Programmer's Guide 
  652.     describes how to do this in Chapter 8, p. 101.  This is more secure.
  653.     [Also note that there is a CERT advisory notice and a Sun patch for users
  654.     of OpenWindows 3.0 under SunOS 4.1.1 to fix a serious security problem.]
  655.  
  656.     On an X Terminal, there may be a setup menu that lets you change or
  657.     disable the list of hosts that can access the display.
  658.  
  659.     If you start getting this message after you've been logged in overnight, +
  660.     there might be a cron job that's removing the Unix sockets in /tmp         +
  661.     that are used to communicate with the server when $DISPLAY doesn't have  +
  662.     a hostname before the :, or is empty.  Have the system administrator     +
  663.     change the cron script to skip sockets.                     +
  664.                                          +
  665. Subject: Trouble Shooting: other common problems
  666.  
  667. @ I get console error messages on my screen and they don't go away (Sun 3 or 4)
  668.     If "refresh" makes the messages vanish, but new ones come along later,
  669.     you need to run "xterm -C" from your .xinitrc, or start one up in
  670.     the background and then  choose Save Workspace from the
  671.     Workspace->Utilities menu.  Better still, pick up "contool" and run
  672.     that.  Get it from export.lcs.mit.edu in the contrib directory.  It
  673.     will monitor the console and open, flash its icon or beep when a
  674.     message appears; it's very easy to configure.
  675.  
  676.     If "refresh" from the Workspace->Utilities menu doesn't make the messages,
  677.     go away...
  678.     a Sun with a cg4 frame buffer has two screens - you can move the
  679.     mouse off the right-hand (by default) edge of the screen and onto
  680.     a whole new (but monochrome) display, called ":0.1".  See the man.
  681.     page for openwin; I have a shell script that checks for this and,
  682.     if there's a /dev/cgfour0, does
  683.         openwin -dev /dev/cgfour0 -dev /dev/bwtwo0
  684.     If you are running X11 or OpenWindows 2, you might need to add this
  685.     to your .xinitrc or other startup file:
  686.     (
  687.         eval `svenv -display unix:0.1 -env`
  688.         olvwm -display unix:0.1
  689.     ) &
  690.     Later releases of olwm and olvwm do this automatically.
  691.     You can also run switcher -e 0 to get rid of the messages.  Also, see
  692.     the note about contool, above.
  693.  
  694. @ Is there an easy way of editing .Xdefaults?
  695.     Use `props', which appears in the default root menu as `properties'.
  696.     This starts `props', a property editor which will re-write your
  697.     .Xdefaults after removing comments.  It then applies any changes.
  698.     Keep comments by using "comment." instead of "!", for example,           |
  699.     comment.*.font: Palatino-Italic-37                     |
  700.  
  701. @ How do I get the File manager to use emacs instead of textedit?
  702.     set the default editor to
  703.     sh -c "exec emacs -font lucidasanstypewriter-18 \"$FILE\""
  704.     (you can change the font if you prefer a smaller one)
  705.  
  706. @ How do I run OpenWindows in inverse video?
  707.     This tends not to work under OpenWindows 2.     With OpwnWindows 3.0,
  708.     there are various ways, including using -bg and -fg options.  If you're
  709.     using OpenWindows 2 on a Sun 3 , probably the best you can do (short of
  710.     upgrading the workstation to a SPARC!) is to use xterm instead of cmdtool.
  711.  
  712. @ Why don't flat check-boxes work?
  713.     A known bug may make Guide's output dump core if you use these.
  714.     A workaround is to edit the Guide output, as it's only Guide's output
  715.     that's broken, not the actual check-box code.
  716.     This applies only to versions of DevGuide before Devguide 3.0.  If you're
  717.     still using an ancient DevGuide, you should upgrade as soon as possible;
  718.     the new one is fantastic!
  719.  
  720. @ When I leave OpenWindows, my screen goes blank or my mouse cursor stays
  721.   on the screen.
  722.     Try running clear_colormap; if this helps, put it as the last line in
  723.     the shell script you use to start OpenWindows (e.g. `openwin').
  724.  
  725. @ When I use snapshot, the system crashes, or the server hangs, or something.
  726.     This was a bug related to some systems only.  The only work-round was to
  727.     use some other screen dump program, such as xwd, xv 2.21 or xgrabsc.
  728.     
  729. @ Why have some of my function keys stopped working?
  730.     Keys F11 and F12 changed from SunF36 and SunF37 to SunXK_F36 and SunXK_F37
  731.     respectively in OpenWindows 3.  Applications must be recompiled, or you
  732.     might be able to use xmodmap or the public domain xkeycaps program to
  733.     change your keyboard layout back again.
  734.  
  735. @ When I type shelltool or cmdtool or textedit, I get the Sunview version
  736.     Set your path so that $OPENWINHOME/bin and $OPENWIN/bin/xview come before
  737.     /bin (or /usr/bin, they're the same), or you'll get the SunView versions
  738.     of mailtool, cmdtool, shelltool, etc.
  739.  
  740.     (see also next item)
  741.  
  742. @ Mixing X11 and OpenWindows
  743.     (see also next item)
  744.  
  745.     Note that OpenWindows 3.0 includes the X11R4 core distribution (to patch
  746.     level 18), but not the contrib directory.  These notes apply to
  747.     OpenWindows 2.0, although you could also the same sort of thing with
  748.     OpenWindows 3.0 and X11R5.
  749.  
  750.     Install the X11 libraries in /usr/lib/X11.    You can intermix OpenWindows
  751.     and X11R4 or X11R5, they're all compatible in this respect.
  752.     Put the X11 binaries in (for example) /usr/bin/X11.
  753.  
  754.     Put /usr/bin/X11 last in your PATH, so that you get OpenWindows versions
  755.     of programs instead of X11 ones where appropriate, although this is a
  756.     matter of preference.  In any event, put the OpenWindows bin directory
  757.     first -- see the preceding item for more details on that.  If you have
  758.     /bin (or /usr/bin, they're the same directory on SunOS) earlier in
  759.     your PATH than $OPENWINHOME/bin/xview, you'll get SunView programs instead
  760.     of OpenWindows ones!
  761.  
  762.     Set LD_LIBRARY_PATH so that /usr/openwin/lib is last, after the X11
  763.     library directory.    This doesn't matter with OpenWindows 3.0, but with
  764.     older versions you'll get error messages from X11 programs if you don't
  765.     do this.  The messages are generally harmless (see next item), although
  766.     xdm core dumps if this isn't right.
  767.  
  768.     Set OPENWINHOME to the directory containing OpenWindows if it isn't
  769.     /usr/openwin.
  770.  
  771.     See Also:
  772.     Environment Variables
  773.  
  774. @ I get error messages on my screen about ld.so: libX11.so.4 not found
  775.     set LD_LIBRARY_PATH to be /usr/openwin.  If you also use X11, use
  776.          /usr/lib:/usr/5lib:/usr/openwin/lib
  777.     If you put this in a shell script or your .profile, use
  778.     ${OPENWINHOME-/usr/openwin}/lib instead of /usr/openwin; this is for
  779.     /bin/sh; for csh it is different.
  780.  
  781. @ I launch my filemgr and I get ld.so:map heap error (9) at /dev/zero
  782.     Your system needs to be patched.  Look in $OPENWINHOME/lib/OSpatches
  783.     and install the patch.
  784.  
  785. @ Why doesn't AnswerBook run for me?
  786.     You must be running OpenWindows to use AnswerBook.    It won't run under
  787.     X11 (on an X terminal or on anything else) because it uses NeWS to draw
  788.     the PostScript text and pictures.
  789.     If you are using OpenWindows 3.0, you need to use the OpenWindows 3.0
  790.     compatible navigator; it's called .navigator.ow3 on the AnswerBook CD/ROM.
  791.     If all AnswerBook users are using OpenWindows 3.0, you can replace
  792.     navigator wih .navigator.ow3 altogether (rename the old one first to
  793.     satisfy your sense of paranoia!)
  794.     The navigator.ow3 binary is also on CD/Ware Vol 2.
  795.  
  796. @ Why aren't there any fish in realxfishdb?                     +
  797.     A fixed version of realxfishdb is available by ftp from             +
  798.     ftp.eng.auburn.edu [131.204.10.91] as /pub/xrealfishdb.Z             +
  799.                                          +
  800. @ Why is the Properties choice disabled in the Window menu?
  801.     It isn't implemented yet.  Many programs do respond to the Properties    +
  802.     Key (L3), though, or have a pop-up menu with Properties on it.         +
  803.  
  804. @ File completion in the C-shell is broken in cmdtool
  805.     Sadly true, but use shelltool or xterm instead and it's fine.  It also
  806.     works if you run command tool on a remote machine.
  807.     Fixed in OpenWindows 3.0.1 shipped with Solaris 2.
  808.  
  809. @ When I run OLIT programs, some of the widgets are red!
  810.     Release 3 of OLIT added mouseless operation; action widgets can be
  811.     selected via the keyboard.  The currently selected item is highlighted
  812.     in red (the `Red Stain') to show that it has the input focus.         |
  813.     To disable it in most places, add this to your $HOME/.Xdefaults file:
  814.     *traversalOn: off
  815.     *TextEdit.traversalOn: on
  816.     *TextField.traversalOn: on
  817.     You can change the colour using (for example)
  818.     *InputFocusColor: grey50
  819.     *input*FocusColor: green
  820.     See the man page resources(3w), at the start of the OLIT 3 Widget Set
  821.     Reference Manual included in the OpenWindows 3 programmer documentation.
  822.     There is an OLIT `Jumbo Patch' that lets you make the Red Stain go away  +
  823.     altogether; I assume that this is available from Sun.             +
  824.  
  825. @ XDM breaks things
  826.     Command tool doesn't like being run without a Unix `controlling terminal'.
  827.     Use /etc/setsid to start your command tools and all will be well.
  828.     SunView applications may need to be run with svenv, as in
  829.     svenv -exec /usr/bin/traffic
  830.     because xdm won't set the necessary environment variables.
  831.     Note that the MIT xdm starts up the X server as root, which is a security
  832.     hole for OpenWindows; use the OpenWindows 3.0 xdm or be aware that your
  833.     users can access files and start Unix processes ass root...
  834.  
  835. @ Function keys 11 and 12 stopped working
  836.     In OpenWindows 3.0, the X11 names ("keysyms") for these keys was changed
  837.     to SunXK_F36 and SunXK_F37.     Code which uses them should be recompiled,
  838.     or you might be able to get away with
  839.     xmodmap -e 'keysym SunXK_F36 = SunF36'
  840.  
  841. Subject: Trouble Shooting: XView problems
  842.     This section is here only until an XView FAQ appears, which has been
  843.     promised, but hasn't reached here.    Note that there is also a usenet
  844.     newsgroup, alt.toolkits.xview, although it doesn't sem to have very
  845.     wide distribution and has triffic of the order of one or two articles
  846.     per month.    You should also look at the FAQ in comp.windows.x.
  847.  
  848. @ how do I set the font of individual Scrolling List items?
  849.     PANEL_LIST_FONT takes an int row_number and an Xv_opaque font_handle.
  850.     PANEL_LIST_FONTS take a NULL terminated list of Xv_opaque font_handles.
  851.     There is no easy way to make an entire list fixed width font.
  852.     You have to make sure that you always specify PANEL_LIST_FONT when you
  853.     insert a new row into that list, or write a convenience function
  854.     insert_row(list, row, string) that hides the nasty bits.
  855.  
  856. @ how do I keep an XView pop-up window displayed after a button is pressed?  +
  857.     In the button callback, do                                               +
  858.         xv_set(button, PANEL_NOTIFY_STATUS, XV_ERROR, NULL);                 +
  859.     This will keep the window visible.                                       +
  860.                                                                              +
  861. @ how do I make an XView button look pressed?                                +
  862.     call panel_begin_preview() and panel_cancel_preview(); these are         +
  863.     documented in -- er -- the XView 3 source...                             +
  864.                                                                              +
  865. @ OpenWindows 3 imake doesn't work properly                                  +
  866.     Here is Greg Earle's patch, to be applied in $OPENWINHOME; note that you +
  867.     should edit lib/config/sun.cf afterwards to get OSName and               +
  868.     OSMinorVersion right (MinorVersion is 1 in SunOS 4.1.2, for example).    +
  869.     I have edited the patch a little, so any bugs are mine [lee@sq.com] :-)  +
  870.  
  871. *** bin/xmkmf.orig    Wed Sep 18 07:02:02 1991
  872. --- bin/xmkmf    Tue Aug  6 00:39:20 1991
  873. ***************
  874. *** 30,34 ****
  875.   
  876.   elif [ -n "$OPENWINHOME" ]; then
  877. !     args="-DUseInstalled "$OPENWINHOME/lib/config
  878.   
  879.   else
  880. --- 30,34 ----
  881.   
  882.   elif [ -n "$OPENWINHOME" ]; then
  883. !     args="-I$OPENWINHOME/lib/config -DUseInstalled -DXCOMM="/**/#"
  884.   
  885.   else
  886. *** lib/config/site.def.orig    Wed Sep 18 01:26:19 1991
  887. --- lib/config/site.def    Tue Aug  6 00:44:37 1991
  888. ***************
  889. *** 0 ****
  890. --- 1,7 ----
  891. + #define BinDir $(OPENWINHOME)/bin
  892. + #define LibDir $(OPENWINHOME)/lib
  893. + #define IncRoot $(OPENWINHOME)/share/include
  894. + #define InstallNonExecFile(file,dest)                    @@\
  895. + install:: file                                @@\
  896. +     $(INSTALL) -c $(INSTDATFLAGS) file dest
  897. + #define NullParameter
  898.  
  899. [Note: the patch is new, but I have not marked each line with a "+" -- Liam]
  900.  
  901. Subject: Environment Variables
  902.  
  903.     Environment variables, and plausible values to use -- this list doesn't
  904.     take into account any local changes that you might have made, of course.
  905.     This list is for OpenWindows 3.0 -- differences for OpenWindows 2.0 are
  906.     marked, and I've added some comments for users of X11R4 and X11R5, too.
  907.  
  908.     DISPLAY  The name of the X Windows Display to use
  909.     :0.0 (on the local machine, the one actually running X11 or xnews)
  910.     :0.1 (on some machines for a second, monochrome screen)
  911.     machine-running-unix:0.0 (on other machines)
  912.     (You may need to do "xhost +other-machine" to let programs on other
  913.     machines use your display; see also under Troubleshooting, and see
  914.     the section on xauth in the OpenWindows Version 3 Programmer's Guide,
  915.     pp. 101ff)
  916.     See also: console messages, under Trouble Shooting
  917.     FONTPATH  Where xnews searches for fonts
  918.     /usr/openwin/lib/fonts
  919.     (you can also use "xset fp+ dir" to add a directory to the font path,
  920.     but you may have to do "xset fp rehash" afterwards.  This is fine
  921.     under OpenWindows, but many X11 servers have font problems)
  922.     HELPPATH  Where XView looks when you press the Help key (or F1)
  923.     /usr/openwin/lib/locale:/usr/openwin/lib/help
  924.     (On SunOS 4.0.*, or with OpenWindows 2.0, omit the first entry, which
  925.     is for sites using a local other than "C" or "USA").
  926.     LD_LIBRARY_PATH   Where to look to find shared C libraries
  927.     /usr/lib:/usr/5lib:/usr/openwin/lib:/usr/CC/`arch`
  928.     (the /usr/CC/`arch`/lib entry is only needed if you use C++ programs)
  929.     OPENWINHOME     Where OpenWindows lives
  930.     /usr/openwin  
  931.     KEYBOARD, MOUSE -- serial devices to use instead of the console
  932.     (don't set these for normal use; /dev/kbd and /dev/mouse)
  933.     PATH  Where the Shell searches for programs to run
  934.     $(OPENWINHOME)/bin:$(OPENWINHOME)/bin/xview:/usr/local/bin:.\
  935.     $HOME/bin.`arch`:/usr/ucb:/usr/bin:/usr/bin/X11:/usr/hosts:\
  936.     (you will certainly want to change this example!  There is no
  937.     $(OPENWINHOME)/bin/xview in OpenWindows 3.0)
  938.     XFILESEARCHPATH  Where programs look for app-defaults files
  939.     /usr/openwin/lib/%T/%N%S
  940.         (This is set automatically by "openwin" in OpenWindows 3.0)          |
  941.         You might want to use /usr/lib/X11/%T/%N%S, or perhaps both,         +
  942.         separated with a :, for example (for sh users)                       +
  943.             XFILESEARCHPATH=$OPENWINHOME/lib/%T/%N%S:/usr/lib/X11/%T/%N%S    +
  944.         export XFILESEARCHPATH
  945.  
  946. Subject: Where Can I get It? Ftp, implementations, etc...
  947.  
  948.     XView 3.0 is available by anonymous ftp from export.lcs.mit.edu and
  949.     elsewhere.
  950.  
  951.     OLIT can be bought from AT&T in source form.
  952.  
  953.     OpenWindows can be obtained from Sun, or you can get the source from
  954.     Interactive Systems Inc.  It is also included in some vendors' System V
  955.     Release 4 implementations, although that's not always the latest version.
  956.     The current release of OpenWindows from Sun for supported architectures
  957.     is 3.0; for the Sun 3 series it is frozen at OpenWindows 2.0.
  958.     Note that Sun includes OpenWindows with SunOS, and it is also included as
  959.     the windowing system for Solaris.
  960.  
  961.     There are said (by Sun) to be over 35 ports of OpenWindows either
  962.     available now or in progress.  Contact Anthony Flynn at Open Vistas
  963.     International (anthony@ovi.com) for more information.
  964.  
  965. Subject: Bibliography: books, manuals, journals, papers, beer-mats
  966.  
  967.     The OPEN LOOK (tm) Graphical Interface is documented in two books:
  968.     Sun Microsystems Inc., ``OPEN LOOK Graphical User Interface Application
  969.     Style Guidelines'', Addison Wesley, 1989
  970.     and
  971.     Sun Microsystems Inc., ``OPEN LOOK Graphical User Interface Functional
  972.     Specification'', Addison Wesley
  973.  
  974.     The Main documentation for the X Window system comes from
  975.     O'Reilly & Associates in about nine or ten volumes.
  976.     The most useful for OPEN LOOK users are:
  977.     Volume 1: XLib Programming Manual
  978.     Volume 2: XLib Reference Manual
  979.     Volume 3: X Window System User's Guide
  980.         (An OPEN LOOK edition of Volume 3 should appear later this year)
  981.     Volume 7: XView Programmer's Manual [Dan Heller]
  982.         [make sure you get the 3rd edition for XView 3.0]
  983.     Companion to Volume 7: XView Reference Manual [Ed. Thomas Van Raalte]
  984.  
  985.     The Companion to Volume 7 is an expanded version of the Attribute
  986.     Summary from the previous edition of the XView Programming Manual,
  987.     together with other reference information, so that in practice you
  988.     have to buy both books.
  989.  
  990.     O'Reilly also have a thinnish orange book on the differences between
  991.     X11R4 and RX115.
  992.  
  993.     OLIT programmers will also want the Xt books - volumes 4 and 5.
  994.     There is a new big fat green Vol 5 updated for X11R5.
  995.  
  996.     A journal, The X Resource, may also be of interest.
  997.  
  998.     O'Reilly & Associates, 103 Morris Street, Suita A, Sebastopol, CA 95472
  999.     +1 707 829-0515, or, in the USA and Canada only, 1-800-998-9938
  1000.     Fax: +1 707-829-0104.
  1001.     Email nuts@ora.com or uunet!ora!nuts.
  1002.     For other distributors: mail, FAX, or call +1 707-829-0515.
  1003.  
  1004.     Some of the O'Reilly examples are available fro ftp from
  1005.     export.lcs.mit.edu in the contrib/OReilly directory.
  1006.  
  1007.     The System V Release 4 Documentation from Prentice Hall may also include
  1008.     a section on OpenWindows.
  1009.  
  1010.     David Miller describes programming with OLIT in his
  1011.     ``An OPEN LOOK At Unix'' (M&T press).
  1012.     
  1013.     Nabajyoti Brkakati gives an excellent introduction to X and to OLIT
  1014.     programming, as well as setting up and using X and OpenWindows, in:
  1015.     ``Unix[R] Desktop Guide to OPEN LOOK''
  1016.     SAMS, 1992  ISBN 0-672-30023-0
  1017.     You can get the examples from this book as
  1018.         export.lcs.mit.edu:contrib/naba-olguide-examples.tar.Z
  1019.  
  1020.     Also about using OLIT, and Xt in particular:
  1021.     The X Window System: Programming and Applications with Xt,
  1022.     OPEN LOOK Edition,
  1023.     Doug Young and John Pew, Prentice Hall, 1992,
  1024.     ISBN 0-13-982992-X
  1025.     There are also HP Widgets and Motif (ugh) versions of this book.
  1026.     The example source code in this book can be obtained by ftp from
  1027.     export.lcs.mit.edu, file "contrib/young.pew.olit.Z".
  1028.  
  1029.     There is an introduction to XView in
  1030.     ``Writing Applications For Sun Systems'', Vol 1, ``A Guide for
  1031.     Macintosh(R) Programmers'' (Sun Microsystems, pub. Addison Wesley)
  1032.     
  1033.     To learn more about the NeWS and PostScript languages, see
  1034.  
  1035.     The NeWS Book, Springer Verlag, 1989 (sadly, a little out of date)
  1036.  
  1037.     PostScript Language Reference Manual, Second Edition,
  1038.     Adobe Systems Inc., Addison Wesley, 1990 ["the Red Book"]
  1039.         Note that OpenWindows 3 is a level 1 PostScript implementation,
  1040.         with certain Level 2 features (such as Composite Fonts) to some
  1041.         degree.
  1042.     
  1043.     PostScript Language Tutorial and Cookbook,
  1044.     Adobe Systems Inc., Addison Wesley, 1985 ["The blue book"]
  1045.     
  1046.     There's at least one book on using Solaris (i.e. SunOS).
  1047.  
  1048.     Sun also supplies a large amount of documentation with OpenWindows,
  1049.     although you may have to order it separately.  Here's what I have; they
  1050.     are each a little over 21 cm square (wider than A4 paper), and vary from
  1051.     about 1 cm to about 3cm thick.  They say `User's Guide' or `Programmer's
  1052.     Guide' on the front.  The User manuals have a red stripe on the bottom,
  1053.     and the Programmer ones have a green stripe.
  1054.  
  1055.     800-6006-10 OpenWindows Version 3 Release Manual
  1056.     800-6029-1- OpenWindows Version 3 Installation and Start-Up Guide
  1057.     ??????? OpenWindows Version 3 DeskSet Reference Guide (does this exist?)
  1058.     800-6618-10 OpenWindows Version 3 User's Guide
  1059.     800-6323-10 Desktop Integration Guide [also available in bookstores?]
  1060.     800-6027-10 Programmer's Guide
  1061.     800-6005-10 OpenWindows Version 3 Reference Manual [the man pages]
  1062.     800-6319-10 The NeWS Toolkit 3.0 Reference Manual
  1063.     800-6736-10 NeWS 3.0 Programming Guide
  1064.     800-6055-10 OLIT 3.0 Widget Set Reference Manual
  1065.     800-6198-10 XView 3.0 Reference Manual: Converting SunView Applications
  1066.  
  1067.     800-6854-10 F3 Font Format Specification [order separately]
  1068.  
  1069.     There are also some other sets of documentation, including the TypeScaler
  1070.     documentation from the OpenFonts group, for example.  There doesn't seem
  1071.     to be a complete list anywhere.
  1072.  
  1073.     ??????????? ToolTalk 1.0 Setup and Administration Guide (SunSoft, 1991)
  1074.     800-6093-10 ToolTalk 1.0 Programmer's Guide (SunSoft, 1991)
  1075.     There might be documentation about the Link Manager somewhere, too.
  1076.  
  1077.     AT&T includes several large thorny bushes' worth of paper with OLIT.
  1078.  
  1079.     Sun's AnswerBook CD/ROM contains a lot of the above documentation,
  1080.     including some of the O'Reilly books (not the XView 3 Volume 7, though).
  1081.  
  1082.     Several other books are in the works...
  1083.  
  1084.  
  1085. Subject: Getting this File, Revision History, Recent Changes
  1086.  
  1087.     Mail lee@sq.com to ask for it.  Douglas N. Arnold (dna@math.psu.edu)
  1088.     keeps an up-to-date copy on ftp.math.psu.edu (currently 128.118.24.22) in
  1089.     the file ~ftp/pub/FAQ/open-look.
  1090.     The net.answers archives and servers may or may not know about this file,
  1091.     since they've just changed hands and this file was previously in one
  1092.     archive but not the other.
  1093.  
  1094.     $Id: open-look.faq,v 1.35 92/09/06 23:03:52 lee Exp $
  1095.  
  1096.  
  1097. Acknowledgements:
  1098.     Bryan Boreham <bryan@s-strat.co.uk>
  1099.     Dave Cunningham <D.Cunningham@gdr.bath.ac.uk>
  1100.     Charles Ditzel <Charles.Ditzel@West.Sun.COM>
  1101.     Greg Earle <earle@poseur.JPL.NASA.GOV>
  1102.     Richard Elling <Richard.Elling@eng.auburn.edu> [realxfishdb ftp site]
  1103.     Frank Greco <uunet.uu.net!slcpi!fis1026!fgreco>
  1104.     Rick Heli <Rick.Heli@Eng.Sun.CO>
  1105.     Dave Kemp   <dpkemp@afterlife.ncsc.mil>
  1106.     Tom McConnell <tmcconne@sedona.intel.com>
  1107.     Dave MacLean <Dave.Maclean@Eng.Sun.COM>
  1108.     Barry Margolin <barmar@think.com>
  1109.     Steve Olson <olson@juliet.ll.mit.edu>
  1110.     Rob Scott <zeke@mpl.UCSD.EDU>
  1111.     Rainer Sinkwitz <sinkwitz@ifi.unizh.ch>
  1112.     Mark Smith <smith@canon.co.uk>
  1113.     Larry W. Virden <lvirden@cas.org>
  1114.  
  1115.     And many others...    You get deleted from this list after a while.
  1116.     This month it was tricky to get everyone in alphabetical order, sorry    |
  1117.     if it isn't quite right!  It's those sneaky Scots again :-)                 |
  1118.  
  1119.  
  1120. -- 
  1121. Liam Quin, lee@sq.com, SoftQuad, Toronto, 416 239-4801; the barefoot programmer
  1122.   lq-text (Unix text retrieval package) mailing list: lq-text-request@sq.com
  1123.  
  1124.