home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Black Box 4
/
BlackBox.cdr
/
progc
/
zmnp12.arj
/
README
< prev
next >
Wrap
Text File
|
1990-08-29
|
5KB
|
163 lines
ZMNP library - evaluation version for Turbo C 2.00 and 2.01.
Version 1.2 19 Mar 90
Contents:
readme This file.
makefile Make file for cu.exe.
cu.c Source for cu.exe.
zmnp.doc Interface decription for libraries.
cu.exe Demonstration program.
zmnp.h Library header file.
zmnps.lib Small model library.
General.
This package contains the evaluation version of the ZMNP comms library
for PC compatibles which features (in addition to basic interrupt
driven asynchronous comms functions) MNP level 2 error correction, the
XMODEM, YMODEM and ZMODEM file transfer protocols and background file
transfers. The library works with Turbo C versions 2.00 and 2.01.
Libraries are also available for the medium, compact and large memory
models.
CU.C and CU.EXE.
CU.EXE (to which CU.C is the source) is a demonstration/testbed program
for the ZMNP library. It is whimsically named after the UNIX cu command
to which it bears only the most superficial resemblance.
Usage: cu [options]
Options are:
-o MNP originate mode.
-a MNP answer mode.
-p<port> Use COM<port> (default COM1).
-s<speed> Bps (default 2400).
Note that if CU is invoked without either of the -o or -a options, it
will make no attempt to make a MNP connection.
When you are running CU, there are four commands you can issue:
~s starts a ZMODEM upload. You will be prompted for the names of
the files to upload (no wildcard support, but you can add this
to CU.C if you want).
~r starts a ZMODEM download. In the normal course of events, it is
unnecessary to issue this command as CU will automatically start
a ZMODEM download as soon as it sees the initialisation string
from the remote end. However, if the remote is sending a
command rather than a file, the download will have to be started
manually.
~. hangs up, restores the 8250 and the interrupt vectors to the
state they were in before running CU and exits.
Foreground file transfers may be interrupted by typing ^C (Control C)
or ^Break. Pressing any key during a file upload or download will
start a MS-DOS command shell. The file transfer will continue in the
background. Type 'exit' at the DOS prompt to return to cu.
Example session (calling CIX):
C:>cu -o
atdp013901244 <-- You type this - CU doesn't know how to dial.
CONNECT 2400 <-- From Hayes compatible modem.
MNP level 2 <-- From CU - MNP negotation succeeded.
Type 'cix' to login: qix
CIX Version 1.248 12/21/89
You are on line: tty51
Nickname? (Enter 'new' for new user) username
Password:
You have 3 file(s) in your private subdir.
You have 3 mail message(s) in your in-basket.
There are 2 unread mail message(s).
You are a member of 46 conference(s).
You are now listening for chat
Macro defined.
M:bye
username, you have been online 0:53 on tty51
Goodbye from CIX !!!HANGUP NOW!!!
MNP link broken
C:>
Restrictions in the evaluation version.
1) The library displays an unsightly version message. This does not
appear in the production version.
2) Only the small code / small data library is supplied. All memory
models are supported in the production version.
Licence.
You are welcome to use this software for evaluation purposes. You may
make and distribute copies of the evaluation version of this software.
If you want to continue to use this software after you have evaluated
it, you should register. Registration costs 30 pounds sterling plus
VAT at the current rate (15% at the time of writing making a total of
34.50 pounds sterling). Registered users will receive the production
version of the object library (all memory models) and will be entitled
to join the ZMNP support conference on the CIX conferencing system.
The production version of the object library will be supplied on MS-DOS
format 5 1/4 inch high density disc (it can also be supplied via
BINMAIL on CIX if preferred). Please note that it is a condition of
the licence that use of the ZMNP library in your own programs be
credited either in the program or its documentation. No runtime
royalties are payable.
Problems/bugs.
Please report any bugs to me. Suggestions for improvements are also
very welcome. Whilst I will make every effort to sort out any
problems, please note that no responsibility will be accepted for any
loss or damage, consequential or otherwise caused by the use of these
libraries or cu.exe.
Giles Todd
Rundart Ltd
5 Brentnall Close
Great Sankey
Warrington
WA5 1XN
England
+44 (0)925 33472
gtodd@cix.UUCP (Internet)
...!ukc!slxsys!cix!gtodd (uucp)
8<-----------------------------------------------------------------------------
Order form.
To: Rundart Ltd, 5 Brentnall Close, Great Sankey, Warrington, WA5 1XN
Please register my copy of the ZMNP library and send me the production
version of the object libraries on disc / via BINMAIL to work with
Turbo C. I enclose a cheque for 34.50 pounds sterling (including VAT).
Name
Address