home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HAM Radio 3
/
hamradioversion3.0examsandprograms1992.iso
/
packet
/
yapp1289
/
yapp.doc
< prev
next >
Wrap
Text File
|
1989-12-09
|
10KB
|
308 lines
YAPP(tm) - Yet Another Packet Program
Version 2.0
(C) Copyright 1986 by Jeff Jacobsen, WA7MBL
Released For Public Distribution
ALL RIGHTS RESERVED
Permission is granted to freely distribute this code,
provided that this notice and the following disclaimer are
included in their entirety and without modifications of any
sort. This work may not be sold, or modified and sold, or
included with any other product to be sold, without the
written permission of the author.
No fee or compensation may be requested or received by any
person or organization distributing this program, except by
the author or an authorized distributor.
Disclaimer:
No guarantees or warranties of any kind are expressed or
implied. This code is distributed "AS IS" without any
warranty of any kind, either expressed or implied,
including, but not limited to the implied warranties of
merchantability and fitness for a particular purpose. You
are soley responsible for the selection of the program to
achieve your intended results and for the results actually
obtained. Should the program prove defective, you (and not
the author) assume the entire cost of all necessary
servicing, repair, or correction.
Neither the author nor anyone else who has been involved in
the creation, production or delivery of this program shall
be liable for any direct, indirect, consequential or
incidental damages arising out of the use or inability to
use this program.
Jeff Jacobsen, WA7MBL
1400 E 900 N
Logan, Utah 84321
INTRODUCTION
YAPP(tm) was written to provide a terminal program for use
in testing the WA7MBL BBS code.
A contribution of $20 is asked of any users of YAPP who
find it of value.
User feedback and registration is also encouraged. Your
comments and suggestions are welcomed. The success of this
method of distribution will determine whether future
versions of YAPP will be distributed freely, or sold
commercially.
Whether you make a contribution or not, you are encouraged
to copy and distribute this program for the private,
non-commercial use of others.
A copy of this program may be obtained by either sending $5
or by sending a blank, formatted disk together with an
addressed, postage-paid return mailer to:
Wes Morris, K7PYK
7422 E McKinley Street
Scottsdale, AZ 85257
A current copy should also be available for downloading
from Hamnet on Compuserve.
Contributions or user feedback may be sent to the K7PYK, or
directly to the author.
HARDWARE REQUIREMENTS
YAPP has been tested on an IBM PC, XT, AT, and a few
compatibles. Another version of YAPP (YAPPB) is available
which uses an external resident I/O driver. If you have an
MS-DOS computer which does not use the standard IBM
communication port locations, we may be able to help you
modify the driver to adapt YAPPB for your computer.
We recommend that your CONFIG.SYS file has a FILES
parameter of at least FILES=10. We uses FILES=20 and
BUFFERS=20.
TNC SET UP
This program uses hardware handshaking. Your TNC should
also be set for no parity and 8 bit words. If you plan to
do binary file transfers, be sure that the TNC type is set
correctly. TNC type 0 is used for testing and does not
send the commands to place the TNC into transparent mode.
TNC type 2 sends a break signal to place the TNC into
command mode when necessary, while TNC type 1 uses the
control-C method. The most common problem is with
cabling. Be sure that your cable connects pins 1-8 and pin
20 from you serial port to your TNC.
To enable hardware handshaking be sure the following are
set:
START 0
STOP 0
XFLOW OFF
XON 0
XOFF 0
If you are using split screen mode, you will probably want:
FLOW OFF
ECHO OFF
Other suggested parameters are included in TNC1SET.YAP &
TNC2SET.YAP which should be included on the program diskette.
COMMAND SUMMARY
The following commands are available from YAPP
F1 - Display Help Menu
F2 - Toggle printer on/off
F3 - End File Capture
F4 - Begin/Suspend File Capture
F5 - Send text file
F7 - Send binary file
F8 - Receive binary file
F9 - DOS Gateway
Alt-B Send Break
Alt-C Connect
Alt-D Directory
Alt-E Echo mode toggle
Alt-F Change Port
Alt-G Bell toggle
Alt-P Strip 8th bit (parity) toggle
Alt-S Split Screen toggle
Alt-T Send Time & Date
Alt-W Write Scroll buffer to disk
Alt-X Exit
All characters that scroll off the top are saved in the
"scroll" buffer. You may redisplay this buffer by pressing
Home, PgUp, or the UpArrow. Home starts from the oldest
available screen in the buffer. PgUp shows the previous
screen, and UpArrow the previous line. Once you are
reviewing the scroll buffer, you may use PgDn or DownArrow
to move forward through the buffer. End will exit the
review mode.
There are times when you wish you had saved something that
scrolls off the screen. Alt-W will write the entire
contents of the scroll buffer to disk.
When in split screen mode, all received characters are
displayed on the top portion of the screen and everything
you type appears at the bottom. Only that appearing in the
top portion will be saved in the scroll buffer. If you
wish to print or capture everything, you should turn off
split screen mode.
You may also save information by pressing F4 to turn on
capture mode. This will write all received characters (or
everything if you are not in split-screen mode) to a disk
file.
Pressing F4 again will suspend the capture, or pressing F3
will complete the capture.
F5 sends the contents of a file to the TNC. You may use it
to send commands to the TNC or messages.
F7 is used to send a binary file using the YAPP binary
protocol. The receiving station must also be using the
YAPP protocol.
F8 is used to receive a binary file.
F9 suspends the program and lets you run DOS commands. To
return to YAPP type EXIT at the DOS prompt. This feature
requires the file DOSPGM.COM.
YAPP features a connect directory. To use it, edit a text
file called YAPP.DIR with the nickname you wish to use for
a station (up to 6 characters) followed by the connect
path.
For example:
Jeff WA7MBL v WA7MXZ-1
Wes K7PYK
BBS WB7TRX v WA7MXZ-1,KD7YK-2
To connect, press Alt-C and you will be prompted for who
you wish to connect to. Enter the name, and the connect
message will be sent to the TNC.
THE CONFIGURATION FILE (YAPP.CNF)
A new feature in YAPP version 2.0 is the use of a
configuration file to set the desired parameters.
The configuration file is organized in the following
format:
1 {com port}
4800 {baud rate}
2 {TNC type}
YES {split screen}
YES {allow bells (^G)}
112 {status line attribute}
15 {standard attribute - keyboard input}
7 {received character attribute}
7 {help screen attribute}
7 {help screen border}
7 {transfer status attribute}
7 {transfer status border}
7 {set default window attribute}
7 {set default window border}
7 {directory window attribute}
7 {directory window border}
7 {misc window attribute}
7 {misc window border}
mon on
conok on
*** EOF {end of commands sent to TNC on program start}
conok off
mon off
*** EOF {end of commands sent to TNC on program end}
The first line selects the communications port. YAPP
supports com1 or com2.
The next line is used to select the baud rate.
The next line select the type of TNC as described above
under TNC SET UP. Valid types are 0, 1, and 2.
The next line selects Split Screen mode. YES will start
YAPP in split screen mode. NO will start with it off. The
mode may be changed from within YAPP by pressing Alt-S.
The next line selects whether Bells (Cont-G) will be heard
at the terminal or not. YES will sound the speaker when a
^G character is received. NO will only display the
graphics character on the screen. This mode may also be
changed from YAPP by pressing Alt-G.
The next 13 lines specify the colors to be used when
displaying the characters you type, characters received
from the TNC, on the status line, and by various windows.
In earlier versions of YAPP, this information was kept in
the file YAPP.COL and only used if you were using a color
monitor.
The values shown above are for use with a monochrome
monitor. If you have a color monitor, you may want to try
the following values:
110 {status line attribute}
7 {standard attribute - keyboard input}
3 {received character attribute}
111 {help screen attribute}
111 {help screen border}
96 {transfer status attribute}
96 {transfer status border}
14 {set default window attribute}
5 {set default window border}
11 {directory window attribute}
6 {directory window border}
15 {misc window attribute}
4 {misc window border}
or experiment with other colors. If you have a monochrome
monitor, you should stick with the monochrome defaults.
More information about color values is available in the
file COLORS.DOC.
The next series of lines up to the *** EOF will be sent as
commands to the TNC when you start the program. These can
be used to change TNC parameters, load connect or beacon
message text, or for other purposes.
The final series of lines up to the last *** EOF will be
sent to the TNC when you exit the program.