| |||
PhysioToolkit
|
Advanced Search |
Tour |
Mirrors How to Cite | Contributing | FAQ |
||
| |||
This directory contains sources for the XView and olgx libraries, an X Window System graphical user interface toolkit needed by WAVE and SEMIA. Also available here are binaries for several popular platforms.
An outstanding resource for information about these libraries is a set of three books available freely from O'Reilly's Open Books Project.
There is no 64-bit version of XView, and it is unlikely that one will
be produced. Although a port of XView to 64-bit architectures was
reported in progress as of April 2006, this effort appears to have stalled.
Unfortunately, the changes that would be required to create a 64-bit version
are very extensive, requiring an effort that would be similar to starting
from scratch. Fortunately, 64-bit platforms can run XView in 32-bit
compatibility mode.
FreeBSD
The FreeBSD port of XView, including olgx, is available from the FreeBSD Project.
GNU/Linux
The binary XView RPMs in the i386-* subdirectories of this directory are usable with Fedora Core and with Red Hat Linux 4.0 through 9.0 (and later) on Intel x86, and those in the alpha subdirectory with RHL 6.x and 7.x on Alpha systems. Early versions of Red Hat Linux came with binary XView RPMs that were compatible with the X11 and libc packages in those earlier versions. To install XView under Fedora or Red Hat Linux download xview-* from the appropriate directory (i386-5.x for RHL 4.x or 5.x on Intel, i386-6.x for RHL 6.x on Intel, i386-7.x for RHL 7.x on Intel, i386-8.x for RHL 8.x or 9.x, i386-Fedora for Fedora on Intel, or alpha for RHL 6.x or 7.x on Alpha), then install XView using the command
rpm -Uvh xview-*
If you are using Red Hat Linux 5.0 or 5.1, we recommend that you upgrade to a current version if possible. If this is not possible, you should link against the static versions of the XView libraries (libxview.a and libolgx.a) rather than the dynamic versions, which have known incompatibilities with Red Hat Linux 5.0 and 5.1.
XView packages for a number of other RPM-based GNU/Linux distributions,
including x86 and PPC Mandriva 9.x and 10.x, and x86 SuSE 9.x, can be obtained
from rpmfind.net.
Important note for Fedora and other version 2.6 kernel distributions
Please be sure to use the i386-Fedora (or i386-FCn) RPMs if you can, or rebuild XView for your platform from the most recent sources in the src subirectory.
Two types of ptys (pseudo-terminal devices) have been supported by most GNU/Linux distributions until recently. Traditionally, XView has used BSD-style ptys to implement text windows and terminal emulator objects such as WAVE's analysis commands window. Most recent GNU/Linux distributions based on version 2.6 kernels, including Fedora Core 2 and later, support only the newer UNIX98 (SVR4-style) ptys. Although the i386-8.x XView RPMs can be installed on these platforms, they will cause XView-based applications to crash whenever a text or terminal window is opened, generally with an error message such as All pty's in use. The newer i386-Fedora RPMs use UNIX98 ptys and therefore do not cause this problem; they have been compiled from xview-3.2p1.4-21.fc5.src.rpm (for versions FC5-FC6) or xview-3.2p1.4-21.1.fc8.src.rpm (for versions FC7 and later).
If you are using Fedora 8, or any distribution that includes X.org's libX11 version 1.1, you will need to use the i386-FC8 RPMs (or to compile XView from the sources included in xview-3.2p1.4-21.1.fc8.src.rpm) to avoid XAllocID runtime failures in XView applications. These RPMs are also compatible with the earlier libX11 version 1.0 (as in Fedora 7).
Debian and Ubuntu packages for XView are available from the usual sources (e.g., www.debian.org in the stable, testing, and unstable branches under X Window Sytem software); look for xviewg, xview-clients, and xview-examples. Debian XView packages are available for most 32-bit CPU types supported by Linux, including Alpha, ARM, IA-32 (x86), HP-PA, 680x0, big- and little-endian MIPS, PowerPC, S/390, and Sparc.
Elliot Sprecher reports that XView can be obtained for Linspire from the CNR Linspire site.
Mac OS X (Darwin)
The file xview-G3-G4-G5.pkg.tar.gz (in the macos-x directory) was contributed by Prof. Logan Donaldson of York University (Toronto), who ported XView 3.2 to Mac OS X 10.0. This package, also available here, works on later versions of Mac OS X, but there are unsolved problems in compiling the XView sources under Mac OS X 10.1 and later versions.
Before attempting to install XView under Mac OS X, be sure that X11 and its software development kit have been installed. X11 for Mac OS X can be downloaded from http://www.apple.com/downloads/macosx/apple/x11formacosx.html. The X11 SDK is included in the packages folder of Apple's XCode developer tools, which can be downloaded from http://developer.apple.com/tools/xcode/. Both X11 and XCode are also included in current Mac OS X CD sets.
Alternative X11 packages are available from Fink (http://fink.sourceforge.net) and from the XDarwin project (http://www.xdarwin.org/). If you choose one of these alternative X11 packages, install the corresponding software development kit for it.
Before running any XView (or other X11) clients, you must start the X
server, typically by double-clicking on the X11 icon found in
Utilities/Applications. Doing this also opens a terminal window, from
which you can run X11 and XView clients. If you have a one-button
mouse, simulate a right click in an X11 or XView client by pressing
and holding the apple key while clicking. Simulate a middle button
click by pressing and holding the option key while clicking.
MS-Windows 95/98/ME/NT/2000/XP
The file xview-3.2p1.4-18c-cygwin.tar.bz2 (in the cygwin directory) contains a set of XView binaries, header files, and standard XView clients for use under any modern version of MS-Windows (95/98/NT/2000/ME/XP). It was compiled using the free Cygwin development environment, which includes an X11 server that must be running in order to interact with XView applications. To install this package, first install Cygwin, including the optional sunrpc and xorg-x11-devel packages; then open a Cygwin terminal window, copy the tarball into your default (home) directory, and run these commands:
cd /
tar xfvj ~/xview-3.2p1.4-18c-cygwin.tar.bz2
These commands install the XView package into subdirectories of
/usr/openwin. In order to link and use the libraries or to use the
standard clients, you must add /usr/openwin/bin to your PATH. You
can do this automatically by adding the lines
export PATH=/usr/openwin/bin:$PATH
export DISPLAY=:0.0
to the text files named .bashrc and .bash_profile (note the
initial '.' in the names of these files)
that should be located in your home directory. (Edit these files using
any text editor, such as Windows Notepad, or create them if they don't exist;
be sure to save them as plain text and without any suffix attached to the file
names.)
You must also start the X server before attempting to run any X clients. One way to do this is via /usr/X11R6/bin/startxwin.bat. The version of this script that comes with Cygwin's xorg package runs the X server with backing store disabled, which causes XView applications to open with blank (solid white) windows. To avoid this problem, open startxwin.bat in any text editor (Windows Notepad will work), and find the line that reads
run XWin -multiwindow -clipboard -silent-dup-error
Add the option "+bs" to the end of this line, so that it reads
run XWin -multiwindow -clipboard -silent-dup-error +bs
If you have a two-button mouse, you will be able to simulate a middle button
click by "chording" (clicking both buttons at approximately the same time) by
using this form of the XWin command instead:
run XWin -multiwindow -clipboard -silent-dup-error +bs -emulate3buttons
Save startwin.bat. If you make a desktop shortcut to this file,
you can click on it to launch the X server and an xterm window.
You can then start XView clients either from the xterm window
or (if you have set DISPLAY as shown above) from a Cygwin terminal window.
Solaris/SunOS
Install Sun's OpenWindows SDK, which includes the
XView and olgx libraries and include files.
Other platforms
If your operating system and CPU combination does not appear in this list, no binaries are currently available for it. Try a Google search for "xview hpux", "xview irix", etc., or check in the comp.windows.open-look and alt.toolkits.xview newsgroups to see if an XView port is available for your platform. Alternatively, you may wish to try compiling your own binaries from the free sources available in the src directory.
Your contributions are welcome! If you have created working XView libraries
for other operating systems or CPUs, please contact us to arrange for your
binaries to be posted here.
XView sources
The src subdirectory contains the sources that were used to compile the various XView packages available in the other subdirectories.
The most recent set of sources (xview-3.2p1.4-18c.tar.gz) contains the UNIX98 pty patches, additional updates from Debian, and further patches by Isaac Henry of PhysioNet to permit the package to be compiled under MS-Windows. Use this as a basis for further work.
The source RPMs were used to compile the older versions of XView for GNU/Linux that are available here.
Name Last modified Size Description
Parent Directory -
alpha/ 22-Oct-1999 12:13 -
cygwin/ 15-Mar-2005 12:23 -
i386-5.x/ 31-Jan-2000 00:13 -
i386-6.x/ 31-Jan-2000 00:00 -
i386-7.x/ 31-Oct-2002 08:21 -
i386-8.x/ 31-Oct-2002 01:03 -
i386-FC1/ 13-Dec-2004 18:29 -
i386-FC2/ 13-Dec-2004 18:29 -
i386-FC3/ 13-Dec-2004 18:29 -
i386-FC4/ 04-Apr-2006 14:02 -
i386-FC5/ 19-Nov-2007 21:18 -
i386-FC6/ 19-Nov-2007 21:18 -
i386-FC7/ 19-Nov-2007 21:19 -
i386-FC8/ 19-Nov-2007 21:19 -
i386-Fedora/ 19-Nov-2007 21:19 -
i386-RHEL3/ 04-Apr-2006 14:48 -
macos-x/ 15-Mar-2005 12:24 -
src/ 19-Nov-2007 21:29 -
| Send feedback about this page to PhysioNet |
|
Your comments and suggestions are welcome. We encourage you to use our feedback form to comment on this page. If you would like to receive a reply, please send your comments by email to webmaster@physionet.org, or post them to: MIT Room E25-505A 77 Massachusetts Avenue Cambridge, MA 02139 USA |
![]() |