New release of XView libraries, OpenLook tools and Window Managers

New release of XView libraries, OpenLook tools and Window Managers

Post by Kenneth Osterber » Thu, 23 Sep 1993 07:21:54



A new release of the XView libraries and related tools has been uploaded
to tsx-11.mit.edu and sunsite.unc.edu. This release includes the latest
version of XView (3.2) that was recently released by Sun. Like my previous
releases, this package tries to collect all freely available OpenLook
libraries, window managers, and system tools into one integrated collection,
which is hopefully easy to install and use. Below is an overview of the
contents of the package:

Libraries (both DLL and static versions):
  - olgx (OpenLook Graphics, a low level API that implements the look & feel)
  - xview (A user-interface toolkit which provides a number of objects
           such as canvases, scrollbars, menus and buttons.)
  - sspkg (the SlingShot library is an extension of libxview and provides
           better support for graphics oriented objects, such as lines, boxes
           icons etc.)
  - UIT   (The User Interface Toolkit is an C++ extension building upon both
           xview and SlingShot, providing a very easy to use, object oriented
           programming model for OpenLook user interfaces).

Window Managers:
  - olwm  (This window manager is known to all users of Sun machines. The
           upgraded version released with XView 3.2 has better support for
           keyboard accelerators and drag-and-drop previewing)
  - olvwm (The Open Look Virtual Window Manager has the same look & feel as
           olwm, but with virtual workspaces)

Tools:
  - clock
  - cmdtool/shelltool (tty interfaces)
  - props
  - textedit
  - perf (a rstatd frontend and perfmeter clone by Rudolf Koenig)

Example programs:
  - A large collection of small example programs from the XView, SlingShot and
    UIT packages are included. These programs show how to use most features of
    the programming libraries, and some may even be useful as general tools.
  - Linux Meminfo. Written using UIT in C++, shows the memory and swap space
    status using xview gadgets. The kernel information is obtained from the
    proc-filesystem.

Documentation:
  - All manpages and help files are included.
  - Postscript documentation describing new features in XView 3.2, plus
    some other documents describing programming issues for xview.
  - Complete Postscript documentation about SlingShot.
  - The documentation about UIT is *not* included, due to its size. This can
    be obtained from the original source package.

Other:
  - A number of small utilities written particularely for the Linux port
    to make the environment as familiar as possible to OpenWindows(R) users.
    These include openwin, owplaces, toolwait, svenv etc.
  - Instructions and patches for building your own libraries and tools.

Installation:
  The package contains a README file that describes the installation procedure.
  A script is provided which uninstalls previous releases and installs the
  new package. The installed setup occupies approximately 9MB diskspace.
  (more during installation).

The package will most likely be available at the following locations:

tsx-11.mit.edu:/pub/linux/binaries/usr.bin.X11/xview3L5.tar.gz
sunsite.unc.edu:/pub/Linux/X11/devel/xview3L5.tar.gz

Until the package has been moved to its final resting place, it is
available in the Incoming directory on sunsite.


--

 
 
 

1. ANNOUNCE: New release of XView libraries, OL[V]WM and tools

An updated release of my XView port has been uploaded to tsx-11.mit.edu
and sunsite.unc.edu. The new package is called xview3L3.tar.Z, and will
replace xview3L2 in tsx-11:/pub/linux/binaries/usr.bin.X11/.

The xview libraries (olgx, xview and sspkg) have been recompiled with
GCC 2.3.3, and olwm and the other tools use libc4.2. There are two
major additions to the package:

- olvwm is now included. This is olvwm 3.3. All functions that I have tried
works, including DIRMENU & WINMENU.

- Added a new (static) library to the package for C++ programmers, called UIT
(User Interface Toolkit). Here is a short description:

WHAT IS UIT (from introduction in UIT documentation)
----------------------------------------------------
The UIT is a tool/class library for C++ programmers developing OpenWindows
user interfaces.

The UIT has two parts:
* A hierarchy of OpenLook-conformant user-interface classes, realized in
  C++ on top of the XView toolkit. These are the user-interface components
  (UIC).

* A tool to convert OpenWindows developer's guide (DevGuide) output into
  C++ code that uses the UIC. This part is the guide to UIC utility, or `guic`.

  [note. `guic` was provided as a Sun-binary only, and is not included in the
  linux package (anyone wanna build a Sparc emulator:-) :-) I'd recommend
  getting the whole package from export.lcs.mit.edu, the Postscript docs are
  over 1MB, and not included]

To get a feeling for the UIT API, here is a "hello world" type program
which opens a window and displays the usual string in it. Who said X Windows
development must be difficult? :-)

// Simple hello world program using UIT
#include <uit/BaseWindow.h>
#include <uit/ComponentDisplay.h>
#include <uit/TextItem.h>
#include <uit/Notifier.h>

main (int argc, char **argv) {
  BaseWindow w;                     // Create window
  w.initUI(argc, argv);
  w.setWidth(230); w.setHeight(68);
  w.setDisplayFooter(FALSE);
  w.setLabel("UIT Window");
  w.show(TRUE);

  ComponentDisplay c(TRUE);         // Create canvas
  c.setLocation(0, 0);
  c.setWidth(230); c.setHeight(68);
  w.addDisplay(c);

  TextItem t("Hello World");        // Create text string
  t.setLocation(80, 30);
  c.addComponent(t);

  Notifier n;                       // Realize it
  n.start();

I also wrote a "real" example, a program I call Linux Meminfo, which
obtains information from /proc/meminfo, /proc/loadavg and /proc/uptime,
and presents the data using OpenLook gauges. The program is included
as source in the package. (requires a recent linux kernel to work)

--

2. recovering processes from crashed terminals

3. ANNOUNCE: New release of XView libraries, tools and ol[v]wm

4. Geometry problems with new Western Digital hard drives

5. OpenLook Window Manager and XView and grievances ....

6. howto debug a shared library?

7. OpenLook window manager setup

8. Paralel port on Sun server 1000 ??!

9. Help: Starting the OpenLook window manager

10. Icons and Openlook Window Manager

11. Openlook Virtual Window Manager for x86

12. openlook window manager

13. Xtoolplaces from new (3L4) xview release