Changi NNTP Server 1.0

[ Bottom of Page | Previous Page | Next Page | Table of Contents ]

Changi Environment
Specifying Programcalls

CHANGICOMSPEC
CHANGIGREPCALL
CHANGIRNEWSCALL
CHANGISMAILCALL
CHANGISORTCALL
CHANGIUNCOMPRESS
CHANGIUNZIP
CHANXFILTERMACRO
CHANXFILTEROVER
COMSPEC


CHANGICOMSPEC

When starting external programs Changi will normally call the command processor defined by COMSPEC. If you're running any other than the default C:\OS2\CMD.EXE and you're getting problems running this with Changi, then

SET CHANGICOMSPEC=C:\OS2\CMD.EXE
assuming that C: is the drive on which you installed OS/2.


CHANGIGREPCALL

The environment variable CHANGIGREPCALL redefines the default call

grep -sli

to search for articles containing a specified pattern.


CHANGIINEWSCALL

The environment variable CHANGIINEWSCALL redefines the default

rnews -P

used by Changi.


CHANGIRNEWSCALL

The environment variable CHANGIRNEWSCALL redefines the default used by Chanx to call Rnews.

Incoming articles will be fed in batch format to the standard input channel of the specified program.

SET CHANGIRNEWSCALL=myrnews.cmd

CHANGISMAILCALL

The environment variable CHANGISMAILCALL redefines the default call

sendmail -t

to send posts to moderated groups to the moderator via email.


CHANGISORTCALL

The environment variable CHANGISORTCALL redefines the default call

exsort +1n

used by Expire to sort a newly created history file.


CHANGIUNCOMPRESS

The environment variable CHANGIUNCOMPRESS redefines the default call

gzip -dc

to uncompress compressed batch files.


CHANGIUNZIP

The environment variable CHANGIUNZIP redefines the default call

gzip -dc

to uncompress g-zipped batch files.


CHANXFILTERMACRO

Overrides the default CXDROP.CMD used by Chanx for article filtering.

This environment is ignored if Chanx has been called with option -mx. In this case use CHANXFILTEROVER.

Example:

SET CHANXFILTERMACRO=R:\changi\filter\avoidspam.cmd

CHANXFILTEROVER

Overrides the default OVERFILT.CMD used by Chanx for article filtering in conjunction with option -mx.

Example:

SET CHANXFILTEROVER=R:\changi\filter\overselect.cmd

COMSPEC

Like many other programs and the system itself, Changi uses the environment variable COMSPEC to get the name of the command line processor.


[ Top of Page | Previous Page | Next Page | Table of Contents ]


URL: changi/manual/enviprog.html
Created: 3 August 1996
Revised: 9 December 1996
Author: harald@os2point.ping.de