For general information on the DB Software Package and WAVE, see the Software notes.
Linux is a freely available clone of the UNIX operating system for 386 and later PCs. For general information on Linux, see the Linux INFO-SHEET. (If you do not have an Internet connection, see the plain text version of this page, which includes the version of the Linux INFO-SHEET that was up-to-date as of the publication of this CD-ROM.)
file `which gcc`If the output contains the word `ELF', you have an ELF-capable Linux and gcc.) If you have a choice of formats, ELF is recommended, since `a.out' format is rapidly becoming obsolete.
If you wish to compile the shared DB library in `a.out' format, you will need the programs `getvars', `getfuncs', `getsize', `jumpas' `mkimage', `mkstubs', and `verify-shlib'. If these programs are not installed on your system, they may be unpacked from `linuxmsc/tools216.tgz', a gzip-compressed `tar' archive. The most recent version may be retrieved by anonymous FTP from tsx-11.mit.edu; get `pub/linux/packages/GCC/src/tools-2.NN.tar.gz'. Be sure to replace `slib' with `slib-linux' in LIBTARGETS within `software/db/Makefile' if you choose to use `a.out' format.
If you wish to compile the shared DB library in ELF format, you do not need to do anything special. Leave `slib' (*not* `slib-linux') in LIBTARGETS, and follow the instructions in `software/db/Makefile' to set other variables appropriately.
In order to use WAVE, you must also have installed X11R5 or X11R6, and XView 3.2 (a freely available Open Look toolkit for X11), on your Linux system. Current Linux distributions include XFree86 version 3.x (X11R6); older a.out kernels may have either XFree86 version 3.x or version 2.1.1 (X11R5). Compatible versions of XView 3.2 are included in most distributions. Three versions of WAVE are provided on this disk. `wave.r5' (in linuxold.tar) is an a.out binary intended for use with X11R5, although you may use it with X11R6 if you have the R5 shared libraries. `wave.r6' (also in linuxold.tar) is an a.out binary that requires the X11R6 libraries, and is a better choice if you have installed R6. If your system supports ELF, `wave' (in linux.tar) is the best choice; it requires the X11R6 libraries (standard with Linux ELF distributions).
To use any version of WAVE, the following shared libraries must have been installed:
WAVE and all of the applications in the DB Software Package use the shared version of the DB library in order to read the recordings on this disk and others in a variety of supported formats. Since the sources for the library are provided (in `software/db/lib'), you can modify the library, for example to add support for additional file formats, without the need to recompile the applications that use it. Root permissions are needed in order to install the shared library in /usr/lib and in order to run `ldconfig' after doing so.
To install the binaries in the standard places, log in with root permissions, and (from the `software' directory) type
sh install.unxThe installation script detects if you have ELF support and installs the proper binaries. If you have only a.out support the script also checks if you have X11R6, and links the correct WAVE binary to `wave'. Sources for WAVE are not included; if you wish to install WAVE, you must do so from the binaries provided.
There are a few quirks in using WAVE under Linux, described briefly below. Since all of these appear to be related to the X11 server or the XView library, you may not encounter them on your system. Please send details of any other problems (and work-arounds, if possible) to me (address below).
xmodmap -e "keysym F1 = Help"Once you have tested the effect of this command, you can make this change permanent for future sessions by typing:
xmodmap >~/.Xmodmap(This file is read by your `.xinitrc' whenever you start the X window system; see `.xinitrc' for details.) To make this behavior a default for all users, copy .Xmodmap into the directory /usr/X386/lib/X11/xinit (be sure the copy is readable by all users).
To enable spot help for other XView applications, you may need to set the environment variable HELPPATH. If you use sh or bash, do this by:
HELPPATH=/usr/openwin/lib/help export HELPPATHInclude these commands in your .profile so that they are executed whenever you log in. If you use csh or tcsh, add the command
setenv HELPPATH /usr/openwin/lib/helpto your .cshrc.
Action PC key Sun key Open spot help <F1> <Help> Simulate middle mouse button click <F2> keypad <5> Move editing cursor left <F3> keypad <=> Move editing cursor right <F4> keypad <*> Copy selected annotation to template <F6> <Copy> Search forward <F9> <Find> Advance to the end of the record <shift><F9> <End> Search backward <ctrl><F9> <ctrl><Find> Move to the beginning of the record <ctrl><shift><F9> <Home> Advance half a screen <F10> <PgDn> Advance a full screen <ctrl><F10> <ctrl><PgDn> Move back half a screen <shift><F10> <PgUp> Move back a full screen <ctrl><shift><F10> <ctrl><PgUp>These PC equivalents are also usable on Sun keyboards. In addition, all of the actions that can be performed using the Sun arrow keys can also be performed using the PC arrow keys.
ttysw_sigwinch, can't get tty process group: Not a typewritermay appear in a terminal window of a controlling process while running WAVE (or other XView applications) under Linux. These messages may be safely ignored.
Wave.AllowDottedLines: Falseto the `.Xdefaults' file in your home directory, or to the system-wide file `/usr/openwin/lib/app-defaults/Wave'.
Note that the WAVE binary for X11R5 is not up-to-date; in particular, it lacks the enhanced functions of the scope window, as described near the beginning of the "What's New" item in WAVE's on-line help, and most of the PC keyboard equivalents listed above. Since X11R6 servers are now standard in Linux installations, I do not plan to update the WAVE binary for X11R5.
If you use `olwm' or `olvwm' (recommended) as your X11 window manager, or if you use other XView applications under Linux, you may wish to update your XView libraries so that these applications can also display icons, spot help, and other server images properly. The easiest way to do this is by installing WAVE and the DB Software Package first, then by unpacking the corrected Linux binaries in linuxmsc/xv32r6b.tgz (contributed by Alex Shah, ashah@scripps.edu). Follow the directions in the README file contained in this archive to install libxv3.so.3.0 (the shared library) and libxview.a (the statically linked library). Alternatively, you can unpack the sources in xview32.tgz, apply the patches for Linux in linuxmsc/xv32pat.tgz, and compile them (be sure to define the symbol `i386' when doing so, in order to avoid the server image rendering bug). It is not necessary to recompile XView applications after installing the corrected library unless they were statically linked to libxview.a.
The problem with rendering dotted lines appears to have been partially fixed in
XFree86 version 3.1, at least when using a color or greyscale display. If you
use WAVE and XFree86 on a monochrome display, or with the `-m' option to
simulate monochrome output, you may need to disallow rendering of dotted lines
as described for X11R5 above.