home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 September
/
Simtel20_Sept92.cdr
/
msdos
/
packet
/
mailbox6.arc
/
MAILBOX6.DOC
< prev
next >
Wrap
Text File
|
1988-08-18
|
7KB
|
183 lines
MAILBOX.DOC for WB6CGW MAILBOX6.BAS
WRITTEN FOR: Microsoft Quick Basic Version 4 / CLONE / TNC
PURPOSE:
Mailbox is a communications program for Radio Amateurs using
packet radio. It can be used to communicate with other packet
stations or it can be used in an unattended mode to wait for
a connecting station to leave mail. Transfer of binary files is
possible between two stations using the program.
*****************************************************************
Mailbox6 is an enhanced version of Mailbox5, which was written
for GWBASIC. MAILBOX6.ARC contains the Quick Basic source code
and a stand alone EXE file.
Versions five and six are similar in operation with the following
major differences:
1. Faster operation - This program keeps up with the serial port
and it is unlikely that the receive buffer will overflow.
2. MAIL6.DAT
To allow for ease of setting program parameters, such as call
signs and TNC setup strings, I have included a data file which
can be changed with a word processor to suit your needs.
(see MAIL6DAT.DOC)
MAILBOX6 looks for the data file, MAIL6.DAT, and uses it to preset
its' initial parameters. If the data file is not found it defaults
to its' internal parameters. If you are running basic you can, of
course, change the lines at the front of the program.
3. Function Keys
Function keys can be preset in MAIL6.DAT and can be set on the fly.
4. DOS SHELL
This is the Basic SHELL command which allows you to suspend the
program and return to the DOS command line. Type EXIT to return
to the mail box program. The communications program stops so it
is not possible to transfer files while at the DOS command line.
5. When typing on line 25, received data will be displayed on the
monitor. In version five, if data was received while typing,
the received data was saved in a buffer until carriage return
was struck.
REGARDING HAND SHAKING BETWEEN THE CLONE AND THE PK-232
The following pins are necessary:
CLONE END: PK-232 J2
DB9 CONNECTOR DB25 CONNECTOR
3 2 (transmit data) -> 2
2 3 (receive data ) <- 3
7 4 (request to send) -> 4
8 5 (clear to send) <- 5 (toggles)
6 6 (data set ready) <- 6 (always high)
5 7 (signal ground) 7
1 8 (data carrier detect) <- 8
4 20 (data terminal ready) -> 20
When the program is run the following options are available from
the main menu. Choose the mode you wish to operate in, type the
number and hit return. (enter)
Note: TNC must be connected or there will be a device time-out.
1. INITIALIZE TNC
The program attempts to initialize the TNC by sending TNC$(1)
through TNC$(9) to the TNC. TNC$(1) is the TNC auto-baud signal
and is sent three times, while TNC$(2) through nine are sent only
once. If you add more strings, be sure to change TNCN to indicate
the total number. If your TNC is like mine you won't have
to change anything.
2. WAIT FOR MAIL
The program closes any open files, lists the BBS stations that
are monitored and waits for mail or a connection. Hit ^Q to
return to the menu. If you have mail on a monitored BBS, a file
containing the date and time is opened under the name of that
BBS. A connecting station can up-load a file or leave a message.
After disconnect, the program returns to the check for mail mode.
If there is no activity for several minutes the screen will
blank to protect the terminal.
NOTE:
The program waits to receive a match with the string contained
in the array BBS$(x). When a match is detected it looks at the
rest of the line to see if there is a match with MAILCALL$.
Use a word processor to change these two strings in the data
file, to match the strings of the Bulletin Board System that
you are monitoring.
3. COMMUNICATIONS
This mode operates as a terminal program, allowing control
of the TNC and contact with other stations. Hit
ALT Q to return the the main menu. All of the functions
available from the main menu are available while in the
communications mode by hitting the ALT key along with one other
key. (hit ALT H while in the com mode to see a list of choices.)
If there is no activity for several minutes the screen will
blank leaving only a blinking cursor.
4. LOG FILE ON
Opens log file into which text sent and text received is saved
to disk under the file name of your choice. The extension is
provided by the program. When asked for a filename enter a name
or hit return and the program will provide the name PACKETLG.
The first extension will be .100 and will increment with each
additional PACKETLG. Files can be opened quickly with out giving
any thought to the actual name. (a download file works the same
way except that only received text is saved to disk )
5. CLOSE LOG FILE
Closes any open log or download file.
6. TYPE FILE TO DISK
Allows creating a text file without leaving the program. Editing
is only possible on the line being typed. End with /ex on a line
by itself.
7. VIEW FILE
Allows viewing any ASCII file on disk.
8. UPLOAD FILE
Up-load a binary or ASCII file while in this mode.
(binary files require that both stations use this program)
NOTE:
I have noticed that there are times when I receive ASCII packets
that have obvious errors. It follows that if errors can creep
into the ASCII packets they can also disrupt packets while in the
transparent mode. If an error were to creep into a binary file it
would most likely render the file useless. I was hoping to rely on
the TNC to pass only valid packets but it looks like that isn't
always the case. It might be necessary to incorporate some form of
software error checking to make a reliable binary transfer.
9. DISPLAY FILES
Display a directory of a disk drive.
0. EXIT
Final Note:
While I use this program regularly, I have not been able to test
it 100%. I have used a second computer to simulate transfer of
binary files, but until I actually do it on the air I can't be sure
how well it works. If you get the program running I'd like to set
up a QSO and try to transfer binary files.
I am working on a "C" version of this program. If you have any
comments or ideas for improvement, please leave a message @WB6ASR
WB6CGW