home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Media Share 9
/
MEDIASHARE_09.ISO
/
pcboard
/
uupcb100.zip
/
UUPCB.DOC
< prev
next >
Wrap
Text File
|
1993-04-07
|
51KB
|
1,355 lines
uuPCB
Copyright 1991, 1992, 1993 Edward T. Hopper
All Rights Reserved
Table of Contents
I. Introduction.
A. Copyright Notice.
B. Files required.
C. Theory of Operation.
D. Directories required.
E. Usenet glossary.
II. Setting up PC Board.
A. Normal newsgroups.
B. Moderated newsgroups.
C. The email conference.
III. Setting up UUPCB.INI.
IV. Setting up UUPCB.DBF.
V. Miscellaneous Topics
1. What to do if you do not have a domain address (and your host does).
2. Mailing List support.
3. Export Options
4. Embedded Keywords
5. Signature Lines
6. uuPCB Logs
7. Error Levels (uupcbout)
8. Controlling UUPCBIN & UUPCBOUT sessions
9. Flat File Imports
10. Use of EMS during shell.
11. Receiving UUCP calls with your PC Board system.
VI. Registration and License
Part I
Introduction
A. Copyright Notice.
uuPCB, including files UUPCBIN.EXE, UUPCBOUT.EXE, DBFSETUP.EXE,
COUNT.EXE, UUSETUP.EXE and associated documentation is copyright 1991,
1992, 1993 Edward T. Hopper. All rights reserved. Distribution and use
of these programs without the authorization of Edward T. Hopper is
prohibited by federal law.
B. Files required.
1. UUPCBIN.EXE - The uuPCB import program. Pulls news and mail
into you PC Board system.
2. UUPCBOUT.EXE - The uuPCB export program. Extracts news and
email from your system and mails it out.
3. UUCICO.EXE - Freeware program by Lamb with modifications by
Dell. Used for uucp communications.
4. COMP430D.EXE - 16 bit compression program for MS DOS.
Freeware.
5. COUNT.EXE - Utilizes the environmental variable CALLCOUNT to
control uucp polling loops.
6. CALLUNIX.BAT - Used to poll uucp sites.
7. SYSTEMS - UUCP file that scripts connections to other
systems.
8. UUPCB.DBF - Database for newsgroup <-> PC Board conference
conversions.
9. NEWSGRP.NDX - Index of UUPCB.DBF
10. DBFSETUP.EXE - Editor for UUPCB.DBF
11. STATIC - UUCICO paths and parameters.
12. UUPCB.INI - uuPCB options.
13. UUPCB.KEY - Your personalized key to authorize your copy of
uuPCB. Without this KEY, uuPCB will run in limited demo mode.
14. UUSETUP.EXE - Configures UUPCB.INI and STATIC files.
C. Theory of operation.
uuPCB consists of two main programs, UUPCBIN.EXE and UUPCBOUT.EXE. In a
typical Usenet mail run, the following sequence occurs:
CD \UUPCB
UUPCBOUT
CALL CALLUNIX SITE1 10
CALL CALLUNIX SITE2 10
UUPCBIN
PCBNET /C:{EMail Conf #} - {EMail Conf #}
BOARD
Ok, let's break that down:
CD \UUPCB <-- Everything should execute from the UUPCB directory.
UUPCBOUT <-- Export existing email and news.
CALL CALLUNIX SITE1 10
^ ^ ^--- Number of retries.
| |-------- Name of UNIX uucp site to poll.
|---------------- UNIX polling batch file.
CALL CALLUNIX SITE2 10 <-- If you receive mail and/or news from more
than one site, poll your next site now.
UUPCBIN <---- Import mail and news
PCBNET /C:{EMail Conf #} - {EMail Conf #} <--- If desired, use Cam
Debuck's PCBNET to turn on mail waiting flags.
BOARD <--- All done, exit event or go on to the next item.
D. Required Directories.
\UUPCB <-- Holds all executable files, database files, indexes, your
keyfile and uuPCB configuration files.
\UUPCB\SYSTEM <-- Holds the SYSTEMS file and the STATIC file. You must
create this directory.
\UUPCB\ADMIN <-- UUCICO.EXE generates two log files here, UUCP is a
listing of the debug output of all uucp transactions. NET is
a summary of all uucp file transfers. You must create this
directory.
\SPOOL <-- Your master spool directory. Each system you call should
have a subdirectory under \spool. You must create this.
\SPOOL can be a subdirectory under \UUPCB if desired (ie,
\UUPCB\SPOOL, etc). Also, it can be named something else,
just make sure you tell UUPCB.INI and STATIC about it.
\SPOOL\SITE1 <-- Whatever you end up calling spool, create a
subdirectory for each system you call. (In this case, the
hypothetical site1) Note: almost all systems should have
eight character (or less) uucp names. If, for some reason,
you have a system with a longer name, use the first eight
characters. You must create these directories.
\UUWORK<-- This is uuPCB's playpen. It writes it's temporary files
here.
E. USENET GLOSSARY
Here's some basic terms to help you navigate the Usenet world. This is
undoubtedly incomplete and it will be updated as time passes.
NEWS - Public Usenet messages. The equivalent of public messages in
PC Board Conferences.
ARTICLES - An individual Usenet message. After all, if Usenet is
news, then one item is an article, right?
NEWSGROUPS- Usenet conferences.
USENET- This term can be used two ways. First, generically to
refer to messages handled with NEWS software. This
would include alt.*, biz.* and other groups of newsgroups
which are not governed by the formal usenet voting
procedure. The second usage refers explicitly to the
groups governed by the USENET voting procedures. These
groups include: comp.*, sci.*, rec.*, news.*, talk.*,
misc.*, soc.*. Occasionally you will see messages
saying something like "ALTNET is NOT USENET", etc. And
that's both true and false. The alt.* distribution uses
Usenet news software but is not governed by Usenet
rules.
MODERATED NEWSGROUP - A newsgroup that only carries messages approved by
the moderator. When users post messages in such a
newsgroup, the message is not available to users. It is
emailed to the moderator for review. The moderator then
posts the message to the network. uuPCB supports this.
II. Setting up PC Board.
A. Normal newsgroups. (non-moderated)
Set up one conference for each newsgroup you wish to carry. These
conferences should be arranged to allow echo mail. "Make all
messages private?" should be set to NO.
B. Moderated newsgroups.
In these conferences, you are expected to keep all messages posted
on your system private until they are approved by the moderator.
All messages approved by the moderator will come back to you as
incoming news. uuPCB will then post the incoming news articles as
public PCB messages. Moderated conferences are marked as such in
the listings of newsgroups available for download on Ed Hopper's
BBS.
C. The email conference.
You must setup a conference for electronic mail. I suggest you
call it Email, Unix Mail, Internet, etc. Set it for echo mail in
conference and all messages set to private.
D. The junk conference.
This is where uuPCB puts messages that it cannot place anywhere
else. It should NOT originate messages. It probably should not be
open to the public. Set echo=No on this one.
To summarize:
Type of conference ECHO MAIL ALL MESSAGES PRIVATE
Normal Newsgroup Y N
Moderated Newsgroup Y Y
EMAIL Conference Y Y
JUNK Conference N N
III. Setting up UUPCB.INI
UUPCB.INI can be setup by using UUSETUP.EXE.
Before you invoke UUSETUP, set the environmental variable "WAFFLE" to
point to the STATIC file found in \UUPCB\SYSTEM. For example: SET
WAFFLE=C:\UUPCB\SYSTEM\STATIC.
Once that is set, invoke UUSETUP. Each option REQUIRED to operate
UUPCB under normal circumstances may be defined in UUSETUP. Online help
is available for each item by pressing F1.
Make sure that you press F3 to pick the Usenet News headers you wish to
retain in the PC Board messages. This insures that your users will have
information about the news article that may not be available in the PC
Board header.
Press F2 to save your configuration and exit UUSETUP. UUSETUP will
alert you to non-existent directories and will ask your permission to
create them. Refusing to create a directory will abort your UUSETUP
session.
UUPCB.INI is a flat text file that should be located in your \uupcb
directory. It follows the "Keyword=Value" format. The parameters or
keywords are not case sensitive. Some values are, they will be
identified below. Lines that begin with #, ; or ' are considered remarks
and are not interpreted.
KEYWORD:SYSOP
REQUIRED:YES
VALUE:The name of the sysop as you wish it to appear
EXAMPLE:SYSOP=ED HOPPER
REMARKS:
KEYWORD:CNAMES
REQUIRED:YES
VALUE:The full path and file name of your cnames.@@@ file.
EXAMPLE:CNAMES=C:\PCB\MAIN\CNAMES.@@@
REMARKS: Note! Include the filename and remember it's CNAMES.@@@ not
CNAMES.
KEYWORD:SPOOL
REQUIRED:YES
VALUE:The path to your spool directory.
EXAMPLE:SPOOL=C:\SPOOL
REMARKS: Note! This directory must match your static file entry. It must
exist before running uuPCB or UUCICO.EXE.
KEYWORD:WORKDIR
REQUIRED:YES
VALUE:The path to a directory for use by uuPCB.
EXAMPLE:WORKDIR=C:\UUWORK
REMARKS:This directory must exist before running uuPCB.
KEYWORD:DEFAULTDIST
REQUIRED:NO
VALUE:The value to use in the Usenet distribution field.
EXAMPLE:DEFAULTDIST=world
REMARKS: 1. Case Sensitive.
2. 'world' is the appropriate default.
KEYWORD:COMPRESS
REQUIRED:YES
VALUE:The compress program with decompress options.
EXAMPLE:COMPRESS=COMP430D -dv
REMARKS:If you are using COMP430D.EXE, use the example above.
COMP430D.EXE options are case sensitive.
KEYWORD:NEWSHOST
REQUIRED:YES
VALUE:Send news articles originated on your system to this system.
EXAMPLE:NEWSHOST=moxie
REMARKS: A host can be set on a per newsgroup basis using dbfsetup.
Settings in dbfsetup override this setting.
KEYWORD:MAILHOST
REQUIRED:YES
VALUE:Send mail messages originated on your system to this system.
EXAMPLE:MAILHOST=uhnix1
REMARKS: Case sensitive
KEYWORD: HOST
REQUIRED:YES
VALUE:The uucp name of your system.
EXAMPLE:HOST=ehbbs
REMARKS: Case sensitive
KEYWORD:DOMAIN
REQUIRED:YES
VALUE:The domain name of your system.
EXAMPLE:DOMAIN=ehbbs.com
REMARKS:Don't include the "@" sign. Case sensitive
KEYWORD:ORGANIZATION
REQUIRED:YES
VALUE:This is the full name of your system
EXAMPLE: ORGANIZATION=Ed Hopper's BBS - Atlanta, GA - 404-446-9462
REMARKS:The word "Organization: " + your entry should be <80 characters.
KEYWORD:INPUTLOG
REQUIRED:NO
VALUE:Path and filename for a log of incoming items.
EXAMPLE:INPUTLOG=C:\UUPCB\UUPCBIN.LOG
KEYWORD:KEEPLINES
REQUIRED:YES
VALUE:The number of KEEP values (see below).
EXAMPLE:KEEPLINES=9
REMARKS: This entry MUST preceed the first "KEEP=" statement in UUPCB.INI.
KEYWORD:KEEP
REQUIRED:YES
VALUE:The header fields to retain from an incoming Usenet news or mail item.
EXAMPLE:KEEP=Subject:
REMARKS: 1. Case Sensitive. Use examples as a guide!
KEEP Value Examples
The following are HIGHLY recommended. The following is from the
UUPCB.INI file.
#Article Date
KEEP=Date:
#
# Newsgroup to direct replies to
KEEP=Followup-To:
#
# Full uucp id of message author
KEEP=From:
#
# Newsgroups in which article was posted (maybe more than one)
KEEP=Newsgroups:
#
# Email Id to send private replies to. (sometimes different from 'From:')
KEEP=Reply-To:
#
# The complete Subject line - PC Board Subject field is a truncated version
# of this.
KEEP=Subject:
#
# The addressee for the message. Not found in news articles, only in mail.
KEEP=To:
#
KEEP=Organization:
#
# *****************************
# *THE FOLLOWING ARE OPTIONAL:*
# *****************************
#
# Keywords - A brief set of keywords describing the article
KEEP=Keywords:
#
# A unique id for each article or mail message
KEEP=Message-ID:
#
# ************************************
# *The following are rarely necessary*
# ************************************
#
# The number of lines in the article text (obsolete)
#KEEP=Lines:
#
# Path - The path which the article followed.
#KEEP=Path:
#
# If this article is a reply, the message ID's of the articles replied to in
# the thread.
#KEEP=References:
#
# The person transmitting the article if different from the author.
#KEEP=Sender:
#
# Cross reference to article numbers for the same article in other newsgroups.
#KEEP=Xref:
Part IV.
Setting Up UUPCB.DBF
Included in your .ZIP file is UUPCB.DBF and NEWSGRP.NDX. This is a
database for newsgroup specific information.
To set things up, you will need to know the following:
1. The newsgroup assigned to each conference.
2. Is the conference moderated?
With this information at hand, you can invoke DBFSetup. Here's the
screen:
┌─────────────────────────────────────────────────────────────────────────────┐
│ uuPCB DBF Setup - 1.00 │
│ Copyright 1991, 1992, 1993 Edward T. Hopper - All Rights Reserved│
│ Ed Hopper's BBS 404-446-9462 or ed.hopper@ehbbs.com │
└─────────────────────────────────────────────────────────────────────────────┘
PC Board Conference Number: 1 Active Record 1 of 11
USENET Newsgroup : email
Moderated Newsgroup? (Y/N): N
Moderators email address :
Host for articles (opt) :
Default Distribution (opt):
Conference Path : D:\PCB\1\MSGS
Conference Name : test123456789
Archive Directory :
Archive Dir File :
Archive Flag :
Archive Prefix :
Block Flag :
─────────────────────────[Esc to Abort Edit or Entry]──────────────────────────
[A]dd [C]Names Import [D]elete [E]dit [F]lat File
[N]ext [P]revious [Q]uit
[R]eport [S]earch [U]ndelete [#] Goto Rec#
Your Choice:
[F1] Help [F2] Save Edit [PgDn] Next Record [PgUp] Previous Record
These command options are available:
[F1] Help - On line help is available for each field while in Add or
Edit mode.
[F2] Save Edit - This saves your entry.
Add - Add a new record. See below on entering a record.
CNames Import - Reads CNames.@@@ for the Conference Path and Conference
Name fields. DBFSetup will prompt you for the path to
your CNAMES.@@@ (NOT CNAMES. ) file.
Delete - Delete a record.
Edit - Edit a record (i.e., make changes).
Flat File Import - This imports a UNIX ACTIVE file. (See Flat File
Import below)
Next - Move to the next record. (Note: the plus [+] key also works)
Previous - Moves to the previous record. (Note: the minus [-] key also works)
Quit - Exit DBFSetup
Report - Produces a newsgroup/conference cross reference report.
The report lists Conference #, newsgroup, Moderated (Y/N) and
path. This is to doublecheck your work. It prints to LPT1:,
LPT2: or to a file.
Search - Searches the database for a specific text string.
UnDelete - Re-activate a record.
How to enter a newsgroup in DBFSetup.
1. Execute DBFSetup
2. Select A for Add.
3. Enter the PC Board conference in the first field.
4. Enter the USENET Newsgroup in the second field.
5. If this is a moderated newsgroup, enter Y in the third field.
6. If known, enter the moderators email address. If this is not known,
you may use an alias service provided by uunet. Simply enter the
newsgroup name, substituting dashes for periods and follow it with
"@uunet.uu.net". In other words, comp.dcom.telecom, a moderated
group, would have a moderator email address of:
comp-dcom-telecom@uunet.uu.net.
7. The next field specifies the host for the article. This will
override the NEWSHOST parameter in UUPCB.INI. Why would you want to
do this? The situation arises when you are receiving news from more
than one site. In these situations, it *MAY* be necessary to send
your outgoing news to that site instead of your normal outbound news
site. The primary site may not carry, and therefore, may not
propagate, news in that newsgroup. Therefore, you would want to send
your news for that group to your source for that group. Leave this
field blank unless you know you need to use it.
8. The Default Distribution field allows you to set the default
distribution for a particular newsgroup. This is useful to prevent
articles in local or regional newsgroups from flowing outside of a
given area. (Note: the distribution field is not always honored by
all software and systems, but it is by some, hence, let's try to use
it.)
9. Conference Path - The full path and filename for the conference. The
CNames Import function will automatically fill in this field or you
can do it yourself.
10.Conference Name - uuPCB doesn't use this, it's just there to help you
keep track of what conference you are working with.
11. Message archiving - uuPCB will save selected messages from Usenet
Newsgroups as files.
The purpose of this feature is to allow you to capture messages that
have a permanent or semi-permanent value into zip files. This might be
messages from sources or binary groups, on-line "magazines", etc. You
select a prefix for each newsgroups' files and uuPCB will product the
files with three digit counters.
For example, a common item in Usenet is a "FAQ" (Frequently Asked
Questions) List. Most FAQ's are posted in the newsgroup "news.answers".
On my system, I set up up news.answers to be archived with the prefix
"FAQ". Therefore, an incoming news article in news.answers is zipped
into the file: FAQ0001.ZIP, the next one in FAQ0002.ZIP, etc.
┌─────────────────────────────────────────────────────────────────────────────┐
│ NOTE! │
│ │
│ I anticipate that sysops will want to review these files, pick and │
│ choose those to retain and, eventually, rename them to something more │
│ meaningful. This method of naming files and providing Description │
│ entries is not perfect, but it gives you a head start. │
└─────────────────────────────────────────────────────────────────────────────┘
uuPCB's message archiving feature has several options. You can archive
all messages in a newsgroup and not post them to message bases at all.
You can only archive the multi-part messages and post the single part
messages. You can archive and post all messages and so on. These
options are controlled by the numeric value of the field "ARCHIVE FLAG"
in DBFSETUP. Setting it to blank or 0 (the default) means "No
archiving". Here are the other options:
-----------------------------------------------------------------------------
Archive Flag Single Part Messages Multi Part Messages
Archive Post Archive Post
-----------------------------------------------------------------------------
0 | | X | | X
-----------------------------------------------------------------------------
1 | | | X |
-----------------------------------------------------------------------------
2 | | X | X |
-----------------------------------------------------------------------------
3 | | X | X | X
-----------------------------------------------------------------------------
4 | X | | X |
-----------------------------------------------------------------------------
5 | X | X | X | X
-----------------------------------------------------------------------------
An X in a block indicates that operation is performed. For example, if
you set a newsgroup for Archive flag 3, single part messages in that
newsgroup would be posted as PC Board messages. Messages that are
larger than a single PC Board message would be posted as multi-part PC
Board messages *AND* saved in .ZIP files.
Five additional fields, beginning with Archive Directory are provided.
We're concerned with the first four of that group. The last one is
devoted to newsgroup blocking, which is discussed later. Fill out the
fields as follows:
Archive Directory
The path for the subdirectory used to store the .ZIP files.
Archive Dir File
This identifies a PC Board directory file. uuPCB will enter each .ZIP
file here and will include the word "Usenet:", the newsgroup and the
contents of the article's "Subject:" line as the PC Board file
description. The entries look like this:
MAC-033.ZIP 10983 03-28-92 Usenet: comp.sys.mac.misc
| Software Manual Reference Summary
Archive Flag
A value from 1 to 5 taken from the table above to instruct uuPCB on
exactly how to handle archiving. (Note a blank or the numeral 0 means
no archiving).
Archive Prefix
a 1 to 5 character prefix for the filename of the archives. For
example, an archive of the Computer Underground Digest's
alt.society.cu-digest would have the prefix "CUD-" and zips would be
named "CUD-001.ZIP", "CUD-002.ZIP", etc.
NOTE: if you wish to keep more than 999 files on line, enter
"FOURDIGIT=Y" in UUPCB.INI. This will sequence files up to #9999. You
must, of course, specify an Archive Prefix no longer than 4 characters.
Create the subdirectories specified in the "Archive Directory" field
above.
Make sure that PKZIP is in the path.
----------------------------------------------------------------------
Database Maintenance
Using PACK and INDEX.
PACK:
Syntax: PACK UUPCB.DBF NEWSGRP.NDX
Pack will permanently remove any records you have deleted from the database.
Here is the PACK.EXE main screen:
▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ PACK OR PURGE RECORDS FROM DATABASE FILE ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
INDEX FILE:NEWSGRP.NDX TOTAL RECORDS: 58 DATA FIELDS: 13
DATA FILE:UUPCB.DBF RECORD LENGTH: 252 LAST UPDATE:04/07/93
────────────────────────────────────────────────────────────────────────────────
Where?:
════════════════════════════════════════════════════════════════════════════════
╔════════════════════════════╗
║ MAIN MENU ║
╠════════════════════════════╣
║ DISPLAY EDIT KEYS ║
╟────────────────────────────╢
║ DESTROY ALL RECORDS ║
╟────────────────────────────╢
║ PACK DELETED RECORDS ║<--select this option
╟────────────────────────────╢
║ CHANGE PURGE SELECTION ║
║ PURGE SELECTED RECORDS ║
╟────────────────────────────╢
║ EXIT TO CONTROL MENU ║
╚════════════════════════════╝
════════════════════════════════════════════════════════════════════════════════
F1-help F2-save F3-new file F4-import data F9-expand F10-contract Esc-exit
INDEX
Syntax: INDEX UUPCB.DBF NEWSGRP.NDX
Index will rebuild the newsgrp.ndx file. To do so is a four step process:
Step 1. Invoke "INDEX UUPCB.DBF NEWSGRP.NDX"
▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ INDEX OR RE-INDEX DATABASE FILE ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
INDEX FILE:NEWSGRP.NDX TOTAL RECORDS: 58 DATA FIELDS: 13
DATA FILE:UUPCB.DBF RECORD LENGTH: 252 LAST UPDATE:04/07/93
════════════════════════════════════════════════════════════════════════════════
Index on?:newsgroup
────────────────────────────────────────────────────────────────────────────────
Where...?:<Index all records>
════════════════════════════════════════════════════════════════════════════════
NEWSGRP.NDX <---Cursor will be here. Press Carriage Return
ENTER name of INDEX file.
to move cursor left or right.
Ins to toggle insert character mode ON or OFF.
Del to delete character at current cursor position.
─ to delete character to the left of the current cursor position.
Home to move cursor to beginning of text.
End to move cursor to end of text.
════════════════════════════════════════════════════════════════════════════════
F1-help F2-save F3-new file F4-import data F9-expand F10-contract Esc-exit
Step 2.
This screen appears:
▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ INDEX OR RE-INDEX DATABASE FILE ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
INDEX FILE:NEWSGRP.NDX TOTAL RECORDS: 58 DATA FIELDS: 13
DATA FILE:UUPCB.DBF RECORD LENGTH: 252 LAST UPDATE:04/07/93
════════════════════════════════════════════════════════════════════════════════
Index on?:newsgroup <-Cursor will be here. Press Carriage Return
────────────────────────────────────────────────────────────────────────────────
Where...?:<Index all records>
════════════════════════════════════════════════════════════════════════════════
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▌ ▐
▌ Example: SLSM_NO+CUST_NO+STR(YTD_SALES,10,2) ▐
▌ │ │ │ ▐
▌ │ │ └String function. ▐
▌ │ └Character field. ▐
▌ └Character field. ▐
▌ ▐
▌ ▐
▌ ▐
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
════════════════════════════════════════════════════════════════════════════════
F1-help F2-save F3-new file F4-import data F9-expand F10-contract Esc-exit
Step 3.
This screen appears:
▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ INDEX OR RE-INDEX DATABASE FILE ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
INDEX FILE:NEWSGRP.NDX TOTAL RECORDS: 58 DATA FIELDS: 13
DATA FILE:UUPCB.DBF RECORD LENGTH: 252 LAST UPDATE:04/07/93
════════════════════════════════════════════════════════════════════════════════
Index on?:newsgroup
────────────────────────────────────────────────────────────────────────────────
Where...?:<-Cursor will be here. Press Carriage Return
════════════════════════════════════════════════════════════════════════════════
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▌ ▐
▌ Example: SLSM_NO >= [03] .AND. SLSM_NO <= [05] ▐
▌ ▐
▌ Will select and index only those records ▐
▌ found in the data base where the salesman ▐
▌ number falls between 03 and 05 inclusive. ▐
▌ ▐
▌ Press F10- to index all records in the data file. ▐
▌ ▐
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
════════════════════════════════════════════════════════════════════════════════
F1-help F2-save F3-new file F4-import data F9-expand F10-contract Esc-exit
Step 4.
Finally this screen appears:
▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ INDEX OR RE-INDEX DATABASE FILE ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
INDEX FILE:NEWSGRP.NDX TOTAL RECORDS: 58 DATA FIELDS: 13
DATA FILE:UUPCB.DBF RECORD LENGTH: 252 LAST UPDATE:04/07/93
════════════════════════════════════════════════════════════════════════════════
Index on?:newsgroup
────────────────────────────────────────────────────────────────────────────────
Where...?:<Index all records>
════════════════════════════════════════════════════════════════════════════════
╔═══════════════════════════╗
║ MAIN MENU ║
╠═══════════════════════════╣
║ DISPLAY EDIT KEYS ║
╟───────────────────────────╢
║ INDEX DATA FILE ║ <- Select this option
╟───────────────────────────╢
║ CHANGE INDEX EXPRESSION ║
╟───────────────────────────╢
║ CHANGE RECORD SELECTION ║
║ UNIQUE KEYS REQUIRED: YES ║ <-Must say "YES"
╟───────────────────────────╢
║ EXIT TO CONTROL MENU ║
╚═══════════════════════════╝
════════════════════════════════════════════════════════════════════════════════
F1-help F2-save F3-new file F4-import data F9-expand F10-contract Esc-exit
Index will then build a index file.
For your information, the current database structure:
UUPCB.DBF
Field Length Name Type
1 5 PCBCONFNUM NUMERIC
2 50 NEWSGROUP CHARACTER
3 1 MODERATED CHARACTER
4 50 MODMAILID CHARACTER
5 8 GRPHOST CHARACTER
6 20 GRPDIST CHARACTER
7 32 CONFPATH CHARACTER
8 14 CONFNAME CHARACTER
The index file, NEWSGRP.NDX, is based upon the NEWSGROUP field. It
should be set up to allow exclusive keys (i.e., each newsgroup can only
be in the index once).
PT V
Miscellaneous Topics
1. What to do if you do not have a domain address (and your host does).
BACKGROUND: In many cases, if your feed site has a registered domain,
your system can be easily added to that domain. In other words if you
connected to a machine that was part of the "hopper.com" domain and your
machine was named "grass" it could be called "grass.hopper.com".
In some situations, however, adding your machine to the domain is not
possible. Therefore, until you can get your own domain address setup,
you will have to have a compound mailing address. A compound address
looks like this:
Option 1:
george.bush%grass@hopper.com
or
Option 2:
grass!george.bush@hopper.com
In other words, your address will tell other systems "turn this mail
over to hopper.com" and ask it to mail it to the system "grass". This
address presumes that hopper.com knows how to get to grass.
Option 1:
first.last%yoursite@feedsite.domain
i.e.:
ed.hopper%ehbbs@wrangler.wlk.com
To enable this type of return address on your mail and news, do the following:
In UUPCB.INI:
HOST=yoursite
DOMAIN=feedsite.domain
SUBDOMAIN=Y
Option 2:
(Note, this option is commonly used, but official frowned upon by the
net.gods).
yoursite!first.last@feedsite.domain
i.e.:
ehbbs!ed.hopper@wrangler.wlk.com
To enable this type of return address on your mail and news, do the following:
In UUPCB.INI:
HOST=yoursite
DOMAIN=feedsite.domain
BANGDOMAIN=Y
(Note: In UNIX parlance, the "!" is referred to as a "bang".)
ASK YOUR FEEDSITE which option is required for email to you.
2. Mailing List support.
Place the following values in UUPCB.INI:
LISTDIR={subdirectory}
for example
LISTDIR=D:\UUPCB\LISTS
Each mailing list is represented by a file in this directory. Each file
should have a 1 to 8 character filename with *NO EXTENSION*. Let's say
you wanted to start an Elvis fan club mailing list. In your LISTDIR,
you would have a file called "ELVIS". This is a simple, flat ascii file
with one email address per line. It would look like this:
bgates@microsoft.com
bclinton@whitehouse.gov
epriestly@kalamazo.mi.us
and so on.
To enter a mailing list message, enter the following header *INSTEAD OF*
the uuPCB TO: header:
LIST: elvis
DO NOT USE "TO: elvis"!
You can have as many mailing lists as you want and each one can be as
long as you want.
Of course, you may not want everyone having the authority to send email to
a mailing list. To control access, create a file called "MAILLIST.OK"
in the LISTDIR. Add entries for each list and for each autorized person.
These should consist of the name of the list, a semicolon (;) and the PC
Board name of the authorized sender. Use "all" to open up a list to all
users.
For example:
elvis;priscilla presley
elvis;tom parker
startrek;bill kirk
boredom;all
In the above example, everyone can send to the "boredom" list, Bill Kirk
can send them to the Star Trek list and Priscilla Preseley and Tom
Parker can send to the Elvis list.
SPECIAL NOTE FOR SYSOPS:
If you are to be an authorized user, enter YOUR NAME, not "SYSOP" as an
authorized user in MAILLIST.OK. This should match the SYSOP= line from
UUPCB.INI.
3. EXPORT OPTIONS
The "/M" switch. By entering "UUPCBOUT /M", uuPCB will only process
the email conference. This is designed for those sites that want to
exchange email on a tighter schedule then the schedule for news.
Errorlevel 1. UUPCBOUT exits with ERRORLEVEL 1 if news was exported.
This will allow you to determine if a UUCICO call is required.
Errorlevel 2. UUPCBOUT exits with ERRORLEVEL 2 if news or mail was
exported. You may wish to make a call for email, but not for news.
4. EMBEDDED KEYWORDS
Users can specify SUBJECT, NEWSGROUP and DISTRIBUTION entries in the
text of their news articles and can specify SUBJECT in email messages.
(Remember, with uuPCB email refers to private, user to user messages.
"News articles" is the name given to public messages in public
conferences.)
To do so, users should place a keyword in the top of their messages
followed by their desired entry. For example:
To: ALL Subj: DUMMY
(------------------------------------------------------------------)
|---->1: SUBJECT: What is the best price for HBO via TVRO?
| |-->2: NEWSGROUP: rec.video.satellite, rec.video.catv
| ||->3: DISTRIBUTION: tx
| || 4: I'm wondering what's the best price for HBO on either satellite or
| || 5: cable-TV?
| || 6:
| || 7: Ed Hopper
| || 8: ed.hopper@ehbbs.hou.tx.us
| || Press (Esc) to Exit (Ctrl-Z) for Help (Ins/Ctrl-V) Mode: Insert
| ||
| ||- The DISTRIBUTION: keyword sets the Distribution: field in the news
| | article. In this case, this news article is restricted to the state
| | of Texas.
| |
| |- The NEWSGROUP: keyword sets the Newsgroup: field for the news article.
| Note: This OVERRIDES the entry for the conference. This is necessary
| when one replies to a news article which specifies "Followup-To:"
| and a different newsgroup. This can also be used to allow users
| to "cross-post" the same message to multiple groups. Note how two
| groups are specified in the example.
|
|---- The SUBJECT: keyword is probably the one with the most common
application. By specifying the SUBJECT here, rather than in the
PC Board field, you can have a wider subject line (at least 60
characters) than PC Board allows. You can also have upper and
lower case.
UUPCBOUT will also support the following keywords when embedded in PC
Board message text:
References:
Followup-To:
Summary:
Keywords:
References: refers to the message-ID of the message you are replying to.
For example:
References: 123.15.uupcb@ehbbs.com
Followup-To: This directs replies to a different newsgroup than the one
in which the article is posted.
Summary: This is a one-line summary of a news article. It allows the
poster to add his "spin" to an article without changing the subject.
For example:
Subject: Elvis was kidpnapped by Rigelian aliens
Summary: He was not! They were Venusians!
Keywords: Another method that allows you to add some additional info to
the top of your news article. As it implies, these are one-word entries
that provide additional info about your posting.
5. SIGNATURE LINES
Signature Lines: The keywords SIG1 thourgh SIG4 define the tagline in
your uuPCB.INI file. *MAKE SURE* that your tagline does NOT contain
any high order ascii characters (This includes line drawing characters).
Here's a sample:
Sig1=+------------------------------------------------------------------------+
Sig2=| Ed Hopper's BBS 404-446-9462 (USR HST) 404-446-9465 (HST DS) |
Sig3=| Berkeley Lake (Atlanta), Georgia - Home of uuPCB Usenet for PC Board|
Sig4=+------------------------------------------------------------------------+
6. uuPCB Logs
Add the following item in UUPCB.INI with your editor or UUSETUP.
EMAILLOG={filename}
The Email log looks like this:
───────────────────────────────────────────────────────────────────────
uuPCB EMAIL TRANSFER LOG
───────────────────────────────────────────────────────────────────────
DATE IN/OUT USER BYTES Conf# Msg #
───────────────────────────────────────────────────────────────────────
01-31-1993 N ED HOPPER 404 1 474
01-31-1993 O ED HOPPER 1,322 3 506
01-31-1993 I ED HOPPER 440 12 580
01-31-1993 O ED HOPPER 473 12 581
EMAIL LOG will record the Conference Number and Message Number exported
or imported.
In other words, if EMAIL.LOG is active, it will record news articles
sent out by means of the normal news channels as a type "N". Note, news
mailed out to a moderator is recorded as an "O". In the above example,
Conference 1 is a normal newsgroup, Conference 3 is a moderated
newsgroup (note the "O") and conference 12 is email.
INPUTLOG
This is a verbose log of all messages posted. There
are three columns in this report: Msg#, Msg-Id and Conference Name. The
header now contains the date and time that UUPCBIN.EXE has concluded.
The INPUTLOG parameter in UUPCB.INI stays the same:
INPUTLOG=[FILENAME]
This is an optional parameter. in UUPCB.INI where [FILENAME] is the
filename or path and filename you wish to use for the log.
POSTLOG.
This is a summary total, by newsgroup, of messages imported. To
activate POSTLOG, enter
POSTLOG=[FILENAME]
in UUPCB.INI where [FILENAME] is the filename or path and filename you
wish to use for the log.
7. ERROR LEVELS (uupcbout)
UUPCBOUT exits with ErrorLevel 2 if Mail or Mail & News were exported,
it exits with ErrorLevel 1 if only news was exported. This will allow
you to initiate a call to your host when you have email, but to wait if
you only have news.
8. CONTROLLING UUPCBIN & UUPCBOUT SESSIONS
- Limiting UUPCBIN sessions
Added the capability to limit the number of UUCP files processed in a
single run. Set the parameter "BATCHLIMIT" to the maximum number of
files to process. For example, BATCHLIMIT=200 would only process 200
files. The program would then exit. Batch file programming would allow
you to re-invoke the program if necessary. For example:
Batch file segment:
:again
uupcbin
.
.
.
(Do something else)
.
.
.
if exist D:\SPOOL\SITE\*.X goto again
The whole point of this is to allow sites handling LARGE feeds to break
up the processing into multiple parts.
- Exiting UUPCBIN
Pressing Escape is a "right now" abort of uupcbin. It will finish the
current message but it will not write any logs.
Pressing ALT-X will do a more graceful exit with logs updated.
- Exiting UUPCBOUT
Pressing escape will terminate UUPCBOUT.
9. FLAT FILE IMPORT
Send an email message to your feed site (or feed sites) requesting their
"ACTIVE" file. Please have the feed site send this to you as email and
not as a uucp file transfer.
Look over the active file. The normal format is:
<news.group.name> <low> <high> <y or m>
The numbers in the middle (<low> and <high>) are not important. The <y
or m> indicates a normal or moderated newsgroup.
Edit this file to include only the newsgroups you want to receive. Send
it back to your feed site as part of a message.
Set up PC Board conferences for each newsgroup using PCBSetup by Clark
Development Co. It's best to set them up in sequence so that DBFSETUP
can later import the data into the database in the same sequence. While
you are setting up the conferences you need to be aware of which
conferences are moderated and which ones are not. The fourth field in
the active file (<y or m>) indicates this. "m" means moderated, "y"
means non-moderated.
Normal newsgroups. (non-moderated)
Set up one conference for each newsgroup you wish to carry. These
conferences should be arranged to allow echo mail. "Make all messages
private?" should be set to NO.
Moderated newsgroups.
In these conferences, you are expected to keep all messages posted on
your system private until they are approved by the moderator. All
messages approved by the moderator will come back to you as incoming
news. uuPCB will then post the incoming news articles as public PCB
messages. Moderated conferences are marked as such in the listings of
newsgroups available for download on Ed Hopper's BBS.
To summarize:
Type of conference ECHO MAIL ALL MESSAGES PRIVATE
Normal Newsgroup Y N
Moderated Newsgroup Y Y
EMAIL Conference Y Y
JUNK Conference N N
Next, you can import this file into DBFSETUP. Do this with the "F"-flat
file import command. The file must be in ACTIVE file format (see
above). If it isn't, edit it so that it is.
When DBFSETUP imports an ACTIVE file, it inserts PC Board conference
numbers sequentially based upon a starting point you give it. If you
tell it to start at conference 100, for example, the first line will be
imported as conference 100, the second as 101 and so on. If you want
gaps, for example all alt.* newsgroups in conferences 100-200, all
comp.* in conferences 300-400, etc. then edit your active file into
multiple files and perform multiple imports.
If you have completed the PCBSetup work, then DBFSetup is ready for a
Flat File Import.
A. Select the F option in DBFSetup.
B. Enter the path and file name for the file.
C. Enter the starting PC Board conference number.
D. DBFSetup will now set up the newsgroups in sequential order.
DBFSetup automatically skips dupes.
10. USE OF EMS DURING SHELL.
If you set EMSSHELL=Y in UUPCB.INI, UUPCBIN will use EMS to allow more room
for a shell command. (Note, this parameter is not included in UUSETUP
1.00, you must edit it into the UUPCB.INI file manually.)
11. RECEIVING INBOUND UUCP CALLS.
How To Setup UUCICO for Inbound Connections
When Used With
uuPCB
This methods consists of a simple, autologin door. This door is a batch
file that calls uucico in receive mode.
The limitations:
1. When the uucp connection is terminated, you will get a PC Board
error stating that carrier was lost in the "uucp door".
2. This method will totally ignore events.
Therefore, be careful with inbound calls at your event time. Notify
your feed of your critical times and ask them to avoid calls at those
hours.
3. UUCP takes "however long it takes". There is no way to enforce time
limits. This method will ignore the PCB time limits. Make sure you
allocate LOTS of time for your feedsite.
Now, here's how to do it:
First, set up a PC Board login ID for your feed site. In my test
system, the login ID is First Name: uu Last Name: cp Password: uupass.
Setup a security level that is not used by any "normal" caller. In my
test system, I set up level 86. Give it lots of time. I gave security
level 86 about 6 hours (360 minutes).
Put a dummy security level specific news file in your \pcb\gen directory.
In my case the file is NEWS86. It's an empty file, just a single carriage
return. This way, your feed doesn't have to mess with a lot of extraneous
text.
Now establish in DOORS.DAT a new door, "uucp". This door should carry
the uucp security level (i.e., in my case 86), login=Y, USER.SYS=N,
DOOR.SYS=N and SHELL=N.
Next, create the file UUCP to go in your \pcb directory. It should
look like this:
-----------------------------------------------
REM UUCP DOOR BATCH FILE
REM FIRST CHANGE TO THE UUPCB DRIVE
D:
REM NEXT CHANGE TO THE UUPCB DIRECTORY
cd \uupcb
REM NEXT START UUCICO in role 0 (receive call) and Device 1 (COM1:)
REM IF YOU WERE USING COM2: THE OPTION WOULD BE -d2
REM Remember! No COM3: or COM4:!!!
uucico -r0 -d1
REM NEXT SWITCH TO PC BOARD DRIVE
C:
REM SWITCH TO PC BOARD DIRECTORY
cd \pcb
REM RESTART BBS
board
----------------------------------------------------
You are almost done. Pass this UUCP "Chat script" along to your feed site.
It will give them a start on calling the BBS. They may need to fiddle with
it to some extent. Please change this to your BBS's uucp name and phone
number before you pass it on to your feed.
(Note: this line is split due to length, enter as one line)
ehpcb Any COM1 Direct 19200 g "" ATZ OK ATDT9977575 CONNECT_
^^^^^ ^^^^^^^^^^^^^^^^^^^
(Your (MS DOS SPECIFIC
System STUFF)
Name)
n;q ame? uu;cp;uupass yes? n
Multi-Language PC Board.
If you support multiple languages, PLEASE BE AWARE OF THE FOLLOWING:
Most UUCICO programs have very small input buffers. They expect to find
the string they are seeking within those small buffers. A long list of
languages can easily overrun these buffers.
To avoid these problems, add a "expect" string for every second or third
language. The "send" portion would be an empty string ("").
VI. REGISTRATION AND LICENSE
This demonstration version of uuPCB will support up to four newsgroups
plus the required email and junk conferences. It will not run if over 6
total newsgroups are defined in the database.
uuPCB is licensed for demonstration use for up to 30 days. You are
expected to either register uuPCB or discontinue using it after 30 days.
License Fee:
The license fee for uuPCB depends upon the version of PC Board for which
uuPCB will be used. The following price list is effective April 2, 1993
and is subject to change without notice:
PC Board Model uuPCB Purchase Price
/2 ...............................$ 49.00
/10 ...............................$ 49.00
/100...............................$ 99.00
/250...............................$ 99.00
Printed Manual and disk............$ 15.00
Shipping
US Mail/United Parcel Service .....$ 5.00
Federal Express....................$ 20.00
If ordering shipment to points outside the United States, please inquire
about rates.
Ordering:
You may order uuPCB on line by calling Ed Hopper's BBS at 404-446-9462
or 404-446-9465. Complete the appropriate script in Conference 272.
Your uuPCB keyfile, which enables unlimited newsgroup support, will be
available for download, usually within 24 hours.
Orders by check or money order may be sent by mail to:
Hopper Systems
2180 Pleasant Hill Rd #A-5281
Duluth, GA 30136
Please complete the attached order form if ordering by mail:
uuPCB Order Form
(Note: Order online with your credit card - call 404-446-9462)
Sysops Name :____________________________________________
Mailing Address :____________________________________________
____________________________________________
____________________________________________
Sysop's existing
EMail ID (if any) :____________________________________________
Your BBS Name :____________________________________________
BBS Phone Number :____________________________________________
Your proposed uucp site name. This should be no more than 8 characters,
preferably less than 7. It is recommended that it be lowercase and
consist only of letters and numbers. For example, ehbbs is the name for
Ed Hopper's BBS.
uucp Site Name..........................:__________________________
PC Board Version (/2, /10, etc.)........:__________________________
Amount Enclosed ........................:__________________________
Upon receipt of your check, your uuPCB key will be made available for
you to download as well as all files and documentation in the uuPCB
Support conference of Ed Hopper's BBS (404-446-9462). For faster
service, call Ed Hopper's BBS and order with your Visa, Master Card,
Diners Club or Carte Blance.
Non-US Orders: Please make payment in US Funds.
Please make checks payable to Hopper Systems.
Mail To: Ed Hopper
2180 Pleasant Hill Rd #A-5281
Duluth, GA 30136