How to install the NetSupport.Library


[ < ] [ > ]   [Contents] [Index] [ ? ]

How to install the NetSupport.Library

The installation of the library is actually very easy: Just copy the file to your ‘LIBS:’ directory. :-)) However, the library needs its own configfile which is the topic of this document.

You can place the file at any path you like, you can even chose any name you want. All you have to do is to set the environment variable NSPConfig according to the path. The library will check, in order of precedence, for a local and a global variable and use the value as path and name for the config file. If no NSPConfig variable is set, the default path is ‘S:NSPConfig’.


[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1 The config file

A valid config file may contain one keyword per line. Keywords MUST begin at the first column. The parameter can be separated from the keyword using either space(s) or tab(s). Lines starting with a “#” are comment lines and will be ignored.

Here’s an example:

#
# NetSupport.Library config file
#
# $VER: NSPConfig 1.31 (29.6.94)
#

#
# where the default config file is
#
MasterConfig    UULib:Config
SeqFile         UULib:NSPLib_Seq

#
# Configuration for MakeLogEntry()
#
DefaultLog      UUSpool:Logfile, stdout

The above entries have the following meanings:


[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

2 Debugging

NetSupportLibrary’s MakeLogEntry() function provides an easy way to control debugging output. The program author is able to provide debugging info of lower priority, which is not logged by default but only if you turn it on manually. Nine degrees between 1 and 9 are supported. You can set the debugging level from 0 (default) to see none of them up to 9 to see everything. NetSupport.Library checks the following places in order of precedence:


[Top] [Contents] [Index] [ ? ]

About This Document

This document was generated on December 8, 2024 using texi2html 5.0.

The buttons in the navigation panels have the following meaning:

Button Name Go to From 1.2.3 go to
[ << ] FastBack Beginning of this chapter or previous chapter 1
[ < ] Back Previous section in reading order 1.2.2
[ Up ] Up Up section 1.2
[ > ] Forward Next section in reading order 1.2.4
[ >> ] FastForward Next chapter 2
[Top] Top Cover (top) of document  
[Contents] Contents Table of contents  
[Index] Index Index  
[ ? ] About About (help)  

where the Example assumes that the current position is at Subsubsection One-Two-Three of a document of the following structure:


This document was generated on December 8, 2024 using texi2html 5.0.