Downloading and Installing WNLIB for unix users. Windows user click here

To retrieve and build WNLIB, follow these instructions:

  1. Create a directory called "wnlib" wherever you want this code to reside and go into it. Type
         $ cd < directory where wnlib is to reside >
         $ mkdir wnlib
         $ cd wnlib
    
  2. Download wnlib.tar.gz by clicking here (say "save it to disk"). This gzipfile contains about 1.5 Mbytes of data compressed. You will need about 30M of free disk space to build everything.
  3. Decode the gz file. Type
         $ gunzip wnlib.tar.gz
    
    you probably have 'gunzip', if you don't, it can be obtained from http://www.gzip.org or http://www.gnu.org.
  4. Un-tar the code. Type
         $ tar xvf wnlib.tar
    
  5. Compile the code. Type
         $ make all
    
  6. If this fails, it may be necessary to modify variables in acc/makefile to fit the platform you are running on.
  7. When you believe you have compiled correctly, type
         $ make selftest
    
    to run the self-testing diagnostics. If selftest runs successfully to completion with no error messages, you have successfully installed WNLIB.


Using WNLIB

USE:

  1. Summary:
        ARCHIVE is in:      wnlib/acc/text.a
        H FILES are in:     wnlib/acc/h/*.h
        MAN PAGES are in:   wnlib/doc/man/*.man 
    
  2. Under wnlib, the directory "acc" contains .h files to include and archive files to link to. The directory acc/h contains links to all of the .h files. The directory acc contains an archive file called "text.a". Use the -I switch of cc to include the .h files. See the makefile's in acc for examples of linking text.a files and including .h files.
  3. man pages are to be found in doc/man. The script "wnman" in the directory "command" is a convenient way to view these man pages. Type "wnman " to view a man page. The command "wnman -k " does a keyword search on all the man pages.

    The variable "wnlib" must point to your wnlib directory for wnman to work. A csh command of the form

          $ set wnlib = xxx/yyy/wnlib
        
    sets this up. Include such a command in your .cshrc.


COPYRIGHT NOTICE

The source code in this directory and all its subdirectories is provided free of charge to anyone who wants it. It is in the public domain and therefore may be used by anybody for any purpose. It is provided "AS IS" with no warranty of any kind whatsoever.

This copyright notice and the above legal notice may not be removed.


AUTHORS

  Will Naylor
    email: 
      click here to view
    web: 
      http://www.willnaylor.com
  Bill Chapman
    email: 
      WNLIB@CCJJ.INFO