home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 3 Comm
/
03-Comm.zip
/
MCOMM530.ZIP
/
SMALTERM.DOC
< prev
next >
Wrap
Text File
|
1990-06-22
|
2KB
|
45 lines
===============================================================
SMALTERM.C -- Demo comm program for async routines
Mike Dumdei, 6 Holly Lane, Texarkana TX 75503
===============================================================
Smalterm is a demo program written using the routines in the
COMM_S library to demonstrate the library functions. Since the
program is only meant to be a demo, no file transfer protocols
were built in, however, the SND.BAT and RCV.BAT files are set
up to call Forsberg's DSZ external Zmodem protocol and are
executed by pressing PGUP or PGDN.
It contains code for a host mode similar to that found in
Procomm, a Shell to DOS function, receive with timeout, hang-
up, remote prompt for user input, and some other useful func-
tions.
To build the program you need to have the header files that
come in the archive and the COMM_S.LIB to link with. If you
use Turbo C rather than Microsoft C you will also need to con-
vert the COMM_S lib to Turbo C format by running the TCLIBS.BAT
file. Once you have the correct LIBs and .H files in your
INCLUDE and LIB directories, compile and link:
(q)cl smalterm.c /link comm_s ;Microsoft C
tcc smalterm.c comm_s.lib ;Turbo C
To run the program:
smalterm {COM1 | COM2} {parameters Ex: 2400n81}
SMALTERM is yours to do what you want with but you may not
distribute the library source code or the libraries that come
with the registered version.
Mike Dumdei, 6 Holly Lane, Texarakana TX 75503
Split Up the Middle BBS, 214 838-6713