SET CHANGIWORKDIR=d:\changi\working\directory SET NNTPNEIGHBOR=remote.news.serverThe position of these lines within CONFIG.SYS is up to you. Replace d:\changi\working\directory with the full pathname of the directory into which you copied the program package and replace remote.news.server with the fully qualified domain name of your provider's newsserver.
Changi makes use of other environment variables too, which already may have been set during installation of TCP/IP or other software packages.
SET ETC=d:\mptn\etc SET TMP=d:\directory\for\temporary\files SET TZ=time-zone SET USER=user-id SET HOSTNAME=your.full.domain.nameThe variable ETC should have been set during installation of TCP/IP and points to a directory which contains several configuration files.
The directory specified by TMP is used for temporary files created by Changi and other applications. Some of these files created by Changi may grow upto serveral megabytes. Make sure that there's enough diskspace available on the specified drive. If you wish to apply a different directory for exclusive use by Changi, add
SET CHANGITEMPDIR=d:\directory\for\temporary\filesand replace d:\directory\for\temporary\files with the full pathname of the selected directory.
The time zone definition TZ should have been set during TCP/IP configuration. If you're unsure about its correct setting, refer to the related chapter in this manual.
Depending on your configuration, you may not find any USER setting in your CONFIG.SYS. Changi mainly uses the given user-id to verify control access permissions.
Most probably HOSTNAME has been set to the name of your machine without domain. In this case, for Changi add
SET CHANGIHOSTNAME=your.full.domain.nameReplace your.full.domain.name with the fully qualified domain name of your machine.
Example:
Changi has been copied to a directory named d:\changi.
The provider's newsserver is running on a machine named
news.ping.de and os2point has been chosen to be the name of
the local machine. Assuming that the lines
SET ETC=c:\mptn\etc SET TMP=c:\tcpip\tmp SET TZ=CET-1 SET USER=harald SET HOSTNAME=os2pointalready exist, then the following three lines have to be added:
SET CHANGIWORKDIR=d:\changi SET NNTPNEIGHBOR=news.ping.de SET CHANGIHOSTNAME=os2point.ping.dePitfalls:
SET ETC=
in config.sys.
Insert the following lines to hosts:
127.0.0.1 localhost 192.168.1.1 your.full.domain.nameReplace your.full.domain.name with the fully specified domain name of your machine. Instead of 192.168.1.1 you should use the ip address of your machine. If you don't know your ip address, you probably don't have a fixed one, it's dynamically assigned and you may use 192.168.1.1.
Example:
My provider assigned the ip address 193.102.134.4 to my
machine os2point.ping.de. In my config.sys the following two
lines exist:
SET ETC=C:\MPTN\ETC SET CHANGIHOSTNAME=os2point.ping.deSo I created a file named c:\mptn\etc\hosts with the following contents:
127.0.0.1 localhost 193.102.134.1 os2point.ping.de os2pointNote that I additionally added the name of my host without domain as an alias.
Pitfalls:
When adding aliases, make sure, that the fully qualified domain
name you specified with the HOSTNAME or CHANGIHOSTNAME environment
variable comes first.
news.group 0 1 yAdditionally add four more groups named junk, control.cancel, control.newgroup and control.rmgroup, but use the character n instead of y at the end of the line. For moderated newsgroups you should use the character m instead of y. In general, use
m for moderated groups
n for groups that won't accept local posts
y for all other groups (local posts accepted)
The first number, which initially should be set to zero, specifies the highest article number available in the corresponding group. The second number, you guessed it, specifies the lowest article number. Groups are considered empty if the first number is lower than the second one. Later on Changi will update this file while articles are coming in.
Example:
I intended to read all subgroups of comp.os.os2. So I created
a file named d:\changi\active with the following contents:
comp.os.os2.advocacy 0 1 y comp.os.os2.announce 0 1 m comp.os.os2.apps 0 1 y comp.os.os2.beta 0 1 y comp.os.os2.bugs 0 1 y comp.os.os2.comm 0 1 y comp.os.os2.games 0 1 y comp.os.os2.mail-news 0 1 y comp.os.os2.marketplace 0 1 y comp.os.os2.misc 0 1 y comp.os.os2.multimedia 0 1 y comp.os.os2.networking.misc 0 1 y comp.os.os2.networking.tcp-ip 0 1 y comp.os.os2.networking.www 0 1 y comp.os.os2.programmer.misc 0 1 y comp.os.os2.programmer.oop 0 1 y comp.os.os2.programmer.porting 0 1 y comp.os.os2.programmer.tools 0 1 y comp.os.os2.setup.misc 0 1 y comp.os.os2.setup.storage 0 1 y comp.os.os2.setup.video 0 1 y comp.os.os2.utilities 0 1 y control.cancel 0 1 n control.newgroup 0 1 n control.rmgroup 0 1 n junk 0 1 nNote that comp.os.os2.announce is a moderated newsgroup. Articles posted to moderated groups are not directly accepted, but must be sent to a moderator via email. The moderator of a group decides, whether to accept the post or not.
Pitfalls:
Groups in the active file
are groups to be stored on your system. In no way does the
active file influence the list of groups
to be retrieved from your provider. If you receive articles of
groups not listed in the active file,
they will be stored in junk.
Posting to moderated groups requires a mailing system to be installed, which is beyond the scope of this manual. Do not post to moderated groups with this initial setup, but send your article via email to the moderator of that group.
URL: changi/manual/iniconf.html Created: 3 August 1996 Revised: 21 November 1996 Author: harald@os2point.ping.de |