home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.barnyard.co.uk
/
2015.02.ftp.barnyard.co.uk.tar
/
ftp.barnyard.co.uk
/
robot-pd
/
23103.ZIP
/
23103B.DSK
/
ukm72b.doc
< prev
Wrap
Text File
|
1997-12-18
|
9KB
|
191 lines
UKM72B
A SOFTWARE COMMUNICATIONS PROGRAM
FOR CP/M-80.
By David R. Back. May 1983
Documentation altered by Stuart Williams for Version 2.B June 1986
This program, UKM72B has been adapted from MODEM7 for use in the UK. MODEM
was originally written in 1977 by Ward Christensen. In 1980 Mark Zeiger and
James Mills added the terminal file, batch mode and a great many bugs, at the
same time removed Wards comments and left the file, now called MODEM7 in a very
untidy state. The CRC checks were added by Paul Hansknecht in 1981 and work
well.
MODEM7 was written principally for the American PMMI modem and although it
generally works, it contains many bugs and problem areas and is very modem
dependent. As PMMI modems must be as rare as hen's teeth in the UK, David Back
removed all of the modem dependent features and at the same time removed a great
many bugs mainly from the Terminal mode. Further he tidied up the file and
combined Terminal and Echo modes so that you may now echo whilst retaining all
of the Terminal mode facilities. In spite of the appearance of the Menu, which
is more complete than that of MODEM7, no functions useful in the UK has been
omitted, indeed many of MODEM7's functions has been improved. In version 2.B,
another option, DSB, or Dual Split Baud rate has been added, so that you may use
modems that send and receive at different speeds, ie 1200/75 baud as used in
Prestel. You must first set up the baud rate of the RS232C from CP/M before
running UKM72B. You can then adjust the program using the DSB toggle between
high and low speed transmit and receive.
1) You may use UKM72B direct from a CP/M command line without any restrictions.
2) All terminal file writing and closing has been made completely automatic so
that it is now impossible to forget to write and close the file.
3) You may return from Terminal mode to the main menu and perform any allowable
option, including Send and/or Receive files whilst retaining an open terminal
file.
4) You may return to the same terminal file from menu level simply by entering
T, both echo and filesave will be on or off as you left them.
5) You may start a new terminal file by exiting to MENU level and then
re-entering terminal mode with another, or even the same, filename.
6) Automatic terminal file save has been added. If a terminal file is open and
terminal file save is off then it can be remotely turned on by receipt of CTRL R
and off by receipt of CTRL T.
The file sending and receiving protocols of UKM72B are exactly as in
MODEM765. They are compatible with all of the MODEMX program series back to at
least as far as MODEM4. The protocols work well, are relatively bug free and are
widely used but do has some snags which will sometimes show up on a bad line
David Back has documented them in the form of flow charts but they are too
complex to present here.
UKM72B will work equally well with CP/M 1.4, CP/M 2.2 and CP/M 3.1 (Plus)
Hopefully, the command syntax is self evident from the built in menus. Type
M <CR> to get a menu display when the program begins in expert mode, as
supplied.
Although the non batch mode of file transfer is redundant, it has been
retained for compatibility with some Bulletin Boards and because the protocol is
simpler and more suitable than batch mode for transmitting files over a non
duplex link such as a radio channel. Note that batch mode is now the norm and
you have to include secondary option N to get non batch operation.
The quiet mode is retained as original and is intended for situations where
UKM72B is running on a remote CP/M system and being used remotely for software
upload or download.
In order to upload or download files from a remote system using UKM72B S or
R modes it is necessary first to contact and sign on with the remote in the
normal way using Terminal mode. Assuming that the remote station has UKM72B
available it can then be given the command
UKM72B SQ afn list
or UKM72B RQ
Having done this, you must then use ESC to return to main menu level and give
the RT or ST command as appropriate. File transfer will commence and when
complete the you will finish up in Terminal mode and the remote will be in
UKM72B at main menu level. Thus further transfers may be initiated or the CPM
command may be given to return the remote to CP/M command level.
EXPLANATION OF COMMAND SYNTAX AT MENU LEVEL
The menu indicates a general command syntax which applies to all commands
but as syntax varies somewhat from one command to another, the explanation below
may be useful. Note that entry of CTRL X at either end of the communication link
will abort the file transfer in progress - one way or another. (This feature has
been altered slightly to make it more user friendly in version 2.B and will
usually work well).
SEND FILES IN BATCH MODE, primaryoption S
Either single or multiple files may be sent with one command by use of this
option.
The Sending command is:
S[Q][S|R|V][T] [drive:]afn [ [drive:]afn]
i.e. you may use a list of ambiguous filenames separated by spaces. Files with
the $SYS attribute set, i.e. system files, cannot be sent. If the receiving
station is not using UKM72B you must tell it that you are going to use Batch
Mode.
RECEIVE FILES IN BATCH MODE, primaryoption R
Filenames are transmitted along with the file and used to make new files at
the receiving station. If a file of the same name already exists the existing
file will be renamed .BAK
The Receiving command is:
R[Q][S|R|V][T] [drive:]
If a drive is not specified then files will be directed to the default drive.
TERMINAL MODE, primaryoption T
To enter Terminal mode:
T [drive:][unambiguousfilename]
In order to start a terminal file, a filename must be specified when entering
terminal mode. Exit from terminal mode to Menu level (using ESC) does not close
an existing terminal file. If a terminal file is open then re-entry to terminal
mode without a filename will allow its continued use. Entry to terminal mode
with a filename specified will close the current terminal file, if one is open,
and open a new file with the specified name.
When a return is made to CP/M command level by using the CPM primary option, the
current terminal file will be closed. Do not exit to CP/M by re-booting else an
open terminal file will not be closed and data will be lost.
The terminal menu may be displayed after entry to terminal mode by typing ^D.
When a terminal file is open, its name will be displayed in the menu. No name
means no file and data cannot then be saved.
The Computer mode may be entered by typing CTRL C. Only one end of a
communication link may be in Computer mode at any one time. In Computer mode
characters received via the Modem are echoed back to the originator and
characters sent are echoed to the local console. Line feeds are automatically
appended to carriage returns. Both terminal file save and file transfer with the
^T option work in Computer mode as they do in Terminal mode.
Remaining features of the terminal menu are self evident.
DIRECT ENTRY FROM CP/M COMMAND LEVEL
Any of the above commands may be given to UKM72B direct from CP/M command
level. For example
A>UKM72B ST B:*.COM IQ*.ASM
will transmit all .COM files from drive B: and all .ASM files which begin with
IQ from drive A: and finish up in Terminal mode. There will be no terminal file.
A>UKM72B T B:TFILE
will open terminal file B:TFILE and enter terminal mode.
Both M and X commands may also be executed direct from CP/M command level.
NON BATCH MODE, secondaryoption N
This mode has been retained for compatibility with older software used on
some Bulletin Boards, ie TBBS type systems. One unambiguous filename is required
for both Send and Receive, i.e. only one file may be transferred at a time.
Send a file, non batch mode:
SN[Q][S|R|V][T] [drive:]unambiguousfilename
Receive a file, non batch mode:
RN[Q][S|R|V][T] [drive:]unambiguousfilename
Please Note: all commands enclosed in [square] brackets are optional. Refer to
your RS232C manual and your system manual for details on how to set up your
interface for the baud rate required to suit your modem, as this is necessary
before running UKM72B, and depends also on which CP/M you are using. Thanks are
due to Pete Franchi, Sysop of the TUG 2 Bulletin Board on 021 444 1484 for
passing on UKM72B via his board, and to Steve Froeschke who apparently
downloaded it originally from Compuserve in the USA and passed it on to Pete.
UKM72B is in the Public Domain and copies may be freely made, but it must not be
sold. Stuart Williams, Secretary, West Midlands Amstrad User Group, June 1986.
╥─ press ENTER to return to text Gφ[! ╦808(╦#╦0±╖╔:_»WφZ(8≥╖φR7╔: