Honeywell GCOS Kermit Version 1.1 January 1985

advertisement
Honeywell GCOS Kermit
Version 1.1
January 1985
This writeup describes the features and use of Kermit-GCOS, a
program for Kermit protocol file transfers. Kermit-GCOS runs under the
Honeywell GCOS time sharing system (TSS) and should normally be installed on the TSS command library as file CMDLIB/KERM to run as the TSS
command KERMIT. It can, however, be placed on any user catalog and run
as a TSS user program.
Kermit-GCOS was written by John Huxtable,
University of Kansas Academic Computing Services.
On first reading, you may want to skip many of the sections which
provide detailed information and look at only the overview and example
sections. Before using Kermit-GCOS, however, you should go back and
read the full writeup.
1.1.1. What is Kermit?
______________________
Kermit is a protocol designed for reliable file transfer between
computers.
The transfer takes place through a standard RS-232 communications port, allowing implementation of Kermit transfer programs on
most computers. Although Kermit is technically the name of the transfer
protocol, it is common practice to refer to both the protocol and
programs which use the protocol as Kermits; this will be done through
the remainder of this writeup.
Kermit development started at the Columbia University Center for
Computing
Activities in 1981.
The primary developers were Bill
Catchings and Frank da Cruz. Since that time the protocol has been extended and implemented for many systems. Persons interested in how the
protocol works should read articles in the June and July 1984 issues of
Byte
____ magazine which describe it in some detail.
In order to transfer a file with Kermit, Kermit must be running on
both the sending and receiving computers. One Kermit (called "local
Kermit") must be able to establish the connection with the other Kermit
(called "remote Kermit"). In the case of transfer between a microcomputer and a mainframe this is generally done by the microcomputer Kermit
acting as a terminal as well as providing file transfer capability.
Microcomputer versions of Kermit are available from many bulletin
board systems. A tape containing all "known" versions of Kermit can be
obtained from Columbia University.
For current ordering information
contact:
KERMIT Distribution
Columbia University Center for Computing Activities
7th Floor, Watson Laboratory
612 West 115th Street
New York, N.Y. 10025
- 1 -
1.1.2. Syntax
Conventions
_________________________
To show the syntax of commands and responses this writeup uses
following conventions:
the
Angle brackets surround a description of what should be typed.
example,
For
<option>
means to type
"<option>"
literally.
a
Kermit
option;
it
does
not
Square brackets surround an optional item.
___
mean
type
For example,
Kermit [<command>]
means type "Kermit", optionally followed by some command.
lows the closing square bracket, it means "zero or more".
If a "*" folFor example,
Kermit [<option>]*
means type "Kermit" followed by zero or more options.
Control sequences are shown using the convention that "^x" means
"hold the control key down, press the 'x' key, then release both keys."
For example, when asked to type
^]
hold the control key down and push the ] key.
When a keyword appears in a syntax description, the letters which
appear in uppercase must be typed. The letters which appear in lower
case are optional.
example:
Digits and special characters must
be
typed.
For
+OverWrite
indicates that "+", "O" and "W" MUST be typed; the letters "ver" and
"rite" are optional. The minimum entry to invoke this option would be:
+ow
Note that the characters may be entered in either case; the case in the
syntax description is merely a method to indicate which characters are
required.
1.1.3. GCOS File Formats
________________________
GCOS uses many different methods of storing and accessing files.
Since other systems do not necessarily support analogs of GCOS formats,
three file formats have been defined to handle all cases.
- 2 -
The default format is "Text". This is the standard format used for
text files in GCOS TSS.
When Kermit-GCOS transmits a text file, it
removes GCOS file control and record control words from the file and
transmits a carriage-return, line-feed sequence at the end of each
record. It also deletes the high (9th) bit of each nine-bit byte.
These bits are always zero in a text file so no information is lost.
When Kermit-GCOS receives a file in text format, it adds a zero high
(9th) bit to each byte so that four fit evenly into each 36-bit Honeywell word. It also converts the carriage-return, line-feed sequence at
the end of each record into Honeywell record control information and
stores the file in GCOS system standard TSS format.
Files transmitted
to GCOS can always be stored in text format even if the file content is
eight-bit data, such as a .COM or .EXE file from a microcomputer.
When
transferred from GCOS to a system of the originating type, such files
will be restored exactly to their original form. Text is the most convenient format to use for files transferred to GCOS for archival purposes.
The second format is "BYtestream". A bytestream file is the best
format to use when sending non-text (binary) files, such as eight-bit
telemetry data, from other systems to GCOS for processing on GCOS.
The
data is stored with no record structure, i.e. only the bytes received
with no added "control" information. As in text mode, Kermit-GCOS adds
a high-order zero bit to each incoming eight-bit character, to align on
nine-bit Honeywell byte boundaries with four characters per 36-bit word.
The unused portion of the last 1280-byte block of the file is filled
with zeros (ASCII nulls). When transmitting a bytestream file, KermitGCOS strips the high-order bit from each 9-bit byte, and transmits the
full file including any trailing zeros (nulls) which pad the last block.
The Bytestream option automatically sets the +Random option since
bytestream files must be accessed in random (direct access) mode.
The third format is "BItstream". A bitstream file also contains
data only, with no control information. It is different from bytestream
in that each nine eight-bit bytes received are packed into two 36-bit
Honeywell words.
During transmission, each pair of Honeywell words is
unpacked into nine eight-bit bytes. This format permits transmitting
and receiving GCOS files, such as random libraries, which use all 36
bits in each word. Bitstream format is useful for archiving binary GCOS
files on other systems. One of the other two formats should be used for
most other purposes. Bitstream files should be accessed in random
(direct access) mode. Specifying Bitstream format automatically implies
the +Random option.
1.1.4. GCOS Data Transfer
Modes
_________________
Kermit-GCOS can operate in two communications modes.
One mode
receives packets as standard ASCII input, with a carriage return
(decimal 13) used to end each packet; the other receives packets using
"paper-tape" mode, with an ASCII DC3 character (also known as XOFF, ^S,
decimal 19, or hexadecimal 13) used to end each packet. Which mode you
should use depends on your GCOS site's system configuration.
- 3 -
Between your local Kermit and Kermit-GCOS is a Honeywell communications computer, called a front-end processor. One of the Honeywell
front-end software programs is called GRTS. GRTS uses the at-sign (@)
as a character delete code for normal input and provides no way to
change this. For example, the character sequence "ABC@@D" would be
received through GRTS as "AD". Since the Kermit protocol requires that
all printable ASCII characters (including @) can be sent and received,
by default Kermit-GCOS uses paper-tape mode to read packets. In papertape mode, "@" is treated as a normal printing character. In this mode,
however, the end of input is indicated by an ASCII DC3 character (XOFF)
instead of a carriage return. This means that before beginning a file
transfer you must set the send end of line character for your local Kermit to this value.
Honeywell's newer front end software has the ability to change the
character delete code.
If you change it to a non-printing ASCII
character (e.g. backspace or delete) then you need not use paper-tape
mode.
For non-paper-tape input mode, your local send end of line
character should be a carriage return. This is the default for most
versions of Kermit.
To select this mode for Kermit-GCOS use the
-TapeMode option which is described in the option section below.
Unless you must operate in paper-tape mode, it is best to use the
-TapeMode option. Tape mode prohibits the use of XON/XOFF flow control,
since the XOFF control would also signal the end of a packet.
In
general, GRTS does not support flow control; however, if your site has
implemented flow control for GRTS, sending a Kermit packet while KermitGCOS is not in a receive state would lock the line. You would then have
to escape to interactive mode, type ^Q^D^S to regain control, and
restart the file transfer from the beginning.
Flow control can also be a problem if your connection to GCOS is
through a network.
To use tape mode through a network it must not
depend on XON/XOFF control for blocks the size of Kermit packets (up to
96 characters). You may need to set network parameters to pass XOFF as
data. Consult with local support staff or see local documentation if
your connection is through a network.
Finally, whenever GRTS is ready for input it sends an ASCII DC1
character. If your local Kermit has an option for DC1 (^Q or XON) handshaking, you should select it, especially if you are using tape mode.
1.2.1. An Overview of KermitGCOS
______________
This section presents a summary of the features of Kermit-GCOS. It
assumes you are already familiar with some basic information about GCOS
time-sharing, such as how to log on and off. If you are not, then first
read appropriate documentation for these topics.
Kermit-GCOS operates as a remote version only. That is, it never
originates a connection. It must be called by Kermit running on another
system, usually a microcomputer Kermit in local mode acting as a terminal.
- 4 -
Commands and options to control Kermit-GCOS can be supplied on the
command line, entered following prompts in interactive mode, or sent
from your local Kermit through the use of the Kermit-GCOS server mode.
Multiple files can be transmitted by supplying a list of names
through the index file option.
Separate file format options can be
given for each entry in the index file.
A working directory can be defined as the default location for
files to be sent or received. The working directory is internal to
Kermit-GCOS. It is not dependent on the working directory facility introduced recently in GCOS.
1.2.2. Invoking Kermit-GCOS
_______________
To start Kermit-GCOS, enter the following command line:
KERMit [<kermit command>] [<option>]*
where the "<kermit command>" is an optional Kermit command. If you do
not specify a command, Kermit will enter interactive mode, prompting you
for commands. If you do specify a command, Kermit will execute the command and then end. If options are given but no command, Kermit sets the
options and enters interactive mode (see Kermit Options, below).
1.2.3. Kermit Commands
______________________
Kermit-GCOS recognizes the following commands:
? -- Print a List of Commands Recognized
Typing a "?" as a command will cause a list
mands to be printed.
of
recognized
com-
Done -- Exit Kermit
Done
The Done command exits Kermit.
"Quit".
You
may
also
type
"Exit"
or
Help -- Provide Basic Explanations
Help <command>
Help <option>
The Help command prints information about the <command> or
<option> specified.
Specifically, the relevant portion of this
document is printed.
Receive -- Receive a file
Receive [<option>]*
The Receive command causes Kermit-GCOS to wait for files to be
sent from the local Kermit. The files will be created or ac- 5 -
cessed according to the current option settings, unless
den on the command line (see Kermit Options, below).
overrid-
SENd -- Send a File
SENd [<filespec>]* [<option>]*
A <filespec> is either the name of a file to send or "indeX=filename" where the file contains Kermit SENd command options
and filespecs.
The SENd command causes Kermit-GCOS to send files to the
local Kermit.
The files will be sent according to the current
option settings, unless overridden on the command line or in an
index file.
Kermit-GCOS will wait for the number of seconds
specified in the Delay option before starting to send the files.
This allows you time to escape back to your local Kermit and type
RECEIVE.
SERver -- Enter Server Mode
SERver [<option>]*
The SERver command causes Kermit-GCOS to enter server mode.
While in server mode, Kermit-GCOS will wait for commands from
your local Kermit. When a command is received, it is executed.
Server mode is the preferred mode of operation, although not all
local Kermits support it. If your local Kermit supports server
mode, you should use it. The use of server mode is detailed more
fully below.
SET -- Set Kermit Options
SET [<option>]*
The SET command causes Kermit to set its options as you specify
on the command line. Normally, options given on a command line
apply only to that command. A SET command causes them to change
until a later SET command is given.
STatus -- Print Options Status
STatus
The STatus command causes Kermit-GCOS to print a list of the current option settings.
1.2.4. Kermit Options
_____________________
The following options are recognized (default settings are shown in
parentheses):
?
CWD=pathname
DeBug=function (Off)
Delay=nn (10)
(+|-)Discard (-)
- 6 -
Format=fileformat (Text)
indeX=filename
(+|-)OverWrite (-)
(+|-)Permanent (+)
(+|-)Random (-)
SendEndOfLine=nn (13)
SendStartofPacket=nn (1)
(+|-)TapeMode (+)
Options:
?
causes a list of the allowed options for the command given to be
printed.
CWD=pathname
sets the Kermit working directory to the specified path.
By
default, your working directory is your USERID.
It can be
changed to any catalog or subcatalog where you want files placed
by default.
DeBug=function
specifies how much debugging information is to be written to the
debug file "kerm*dbg". The default is "Off", which means that no
debugging information will be written. "States" causes the current protocol state to be written when it changes. "Packets"
causes each packet sent or received to be written. "All" causes
all possible debug information to be written. This information
is rarely useful, unless you suspect that your communications
line is noisy and wish to inspect what is being sent.
Delay=nn
causes Kermit to wait nn seconds before sending the first packet
when using the SENd command. The default is 10 seconds.
+Discard
causes Kermit to discard an incomplete transmission. If you interrupt the transmission of a file, the file will not be created
on GCOS. If -OverWrite is in effect, the previous contents will
be unchanged.
Format=fileformat
causes any file transferred in either direction to be treated according to the file format specified. The formats are "Text",
"BYtestream", and "BItstream". See the section on file formats.
The default is Text.
indeX=filename
specifies a file containing Kermit SENd commands and options, one
command per line.
This option permits sending multiple files
with a single command. This option is analgous to the "wildcard
send" feature of some Kermits in that it allows transfering multiple files easily. It was selected for Kermit-GCOS because GCOS
does not support wildcard names, and allowing an index file of
names provides additional flexiblity in sending dissimilar names.
This option is only meaningful when used with the Kermit SENd
command, or from "GET" commands received in Server Mode.
Only
the "Format=", +Random, +Discard, -Permanent and +OverWrite options may be used in index files.
- 7 -
+OverWrite
causes an existing file of the same name to be overwritten.
The
default is -OverWrite, which causes the incoming file to be
renamed to avoid conflicts. The file is renamed by appending
"_n" to the file, where n is the smallest digit not resulting in
a clash. If the filename is too long, the underscore will be
omitted.
If the filename is still too long, characters will be
deleted from the end until it fits.
-Permanent
causes Kermit to use standard GCOS rules for creating/accessing
files.
So if there are no slashes or dollar signs in the
filename and if the filename is less than or equal to eight
characters long, and if a quick access file of the same name does
not already exist, the file will be created as temporary. Other-
wise it will be created as permanent.
If +Permanent (the
default) is used, the file will always be created/accessed as
permanent.
+Random
causes Kermit to access the file as random. The default is sequential, or -Random.
For non-text files, +Random must be
specified.
SendEndOfLine=nn
causes Kermit to terminate its outgoing packets with the ASCII
character whose decimal value is nn. Example: SendEndOfLine=26
would cause Kermit to terminate its outgoing packets with a ^Z
(decimal ASCII value = 26).
The default is carriage return
(value = 13).
SendStartofPacket=nn
causes Kermit to start its outgoing packets with the ASCII
character whose decimal value is nn. Example: SendStartofPacket=26 would cause Kermit to start its outgoing packets with a
^Z (decimal ASCII value = 26). The default is ^A (value = 1).
-TapeMode
causes Kermit to use standard GCOS terminal input mode instead of
"paper tape" input mode to read incoming packets. See the GCOS
Data Transfer Modes section, above, for more information.
The
default, +tapemode, must be used at sites where the character
delete code is "@" because Kermit requires the ability to send
and receive all printable ASCII characters.
1.2.5. Server Mode
__________________
Kermit-GCOS server mode enables Kermit-GCOS to receive commands
through packets from your local Kermit if it supports server mode. This
eliminates the need to switch back and forth between terminal mode and
local mode each time you start a file transfer.
In addition to the file transfer commands, GET and SEND, KermitGCOS Server mode supports several generic commands defined in the Kermit
protocol. A short list of the commands as given in the Kermit Protocol
manual follows. Be warned that not all Kermits support all Server commands, and even if a Kermit does support a command, it may not be invoked with the same name as another Kermit's. For example, the "erase"
- 8 -
command, which releases files, is called the "remote delete" command by
Kermit-MS.
Read the documentation for your microcomputer Kermit for
details.
The following server commands are supported:
CWD
Erase
Finish
Get
Logout
Send
Status
Type
-
Change Working Directory
Release a file
Terminate Server Mode
Receive a file from GCOS
Terminate Kermit and Disconnect from TSS
Send a file to GCOS
Query Kermit-GCOS Status
List a file.
The following descriptions of server mode commands apply to Kermit-MS.
Bye
This command ends your GCOS session for you and
exits Kermit. You will then be back in MS-DOS.
in
addition,
CWD
This command is used to change your working directory (catalog).
By default, your working directory is your userid, so any files
that you send will be created under your userid but not under any
catalog.
Suppose you wanted to send your files to a subcatalog
on your account called "/microfiles". You would enter
REMote CWD /microfiles
in Kermit-MS, enter a RETURN to the "Password:" prompt, and then
use the "send" command. Any files sent would be placed under the
"/microfiles" catalog.
Typing "REMote CWD" with no catalog
specified causes your current working catalog to be displayed.
Erase
Erase is used to delete a file from
directory. You must enter
your
GCOS
current
working
Erasing multiple files with one
command
REMote DELete <filename>
to invoke this command.
is not supported.
Finish
This command tells Kermit-GCOS to exit server mode. This is useful if you want to resume using Kermit-MS as a terminal after
doing some file transfers. Just enter "Finish", then "connect",
then enter a RETURN and you will be back at star-level on GCOS.
- 9 -
Get
To download (get) a file from GCOS to the microcomputer, enter
GET pathname
where "pathname" specifies the GCOS file you want to get.
The
file name at the end of "pathname" will be used as the MS-DOS
file name. To give the MS-DOS file a different name, enter
GET
Kermit-MS will prompt for "Remote Source File: ".
You should
respond with the pathname of the GCOS file. Kermit-MS will then
prompt for "Local Destination File: ". You should respond with
the MS-DOS name under which you wish the file to be saved. The
remote file may be an index file. If you type
get index=/mylist
this indicates that the GCOS file "/mylist" contains the names of
files to be sent.
Logout
This command ends your GCOS session for you
Kermit.
but
does
not
exit
Send
To upload (send) a file from Kermit-MS to Kermit-GCOS, enter
SEND <filespec> [<GCOS filespec> [<option>]*]
where "<filespec>" may contain MS-DOS wild-card
specify more than one file. For example,
characters
to
SEND *.txt
will send all files that have the extension "txt".
Since the
question mark ("?") is used within Kermit-MS to obtain help, you
must use the equal sign ("=") for single-character wild-cards.
The <GCOS filespec> may be a list of
files (see SEND in the commands section).
Status
filenames
and
index
This command displays the current status of Kermit-GCOS.
This
Server mode command is not currently supported by Kermit-MS, so
there is no way to invoke it.
Type
To display the contents of a GCOS file, enter
- 10 -
REMote TYPE <filename>
and the file will be printed, maddenly slowly, on your screen.
1.3.1. Sample Kermit Sessions
_____________
You must always begin a Kermit transfer by starting your local Kermit and setting local options, then connecting to TSS. The local options available and how to set them will depend on what computer and
version of Kermit you are using. However, some options must be set correctly before a connection can be established and before file transfer
is possible.
These include baud rate, local end of line, and local
echo.
The following sample session with Kermit-MS and Kermit-GCOS downloads (gets) a file from GCOS to MS-DOS. The example assumes that drive
"A" is your default drive and that it contains a disk with the MSKERMIT
program.
User input is underlined.
The sequence ^]C refers to
"control-]" followed by "C", i.e. hold the control key down and press
the ] key then release the control key and type a "C". For other versions of microcomputer Kermit, the details will be different.
This session transfers the GCOS file "myfile" under subcatalog "mycat" of your logon userid to the MS-DOS file "dosfile.txt" using a 1200
baud connection to a GCOS system which uses "@" as the character delete
symbol.
A>_ m_ s_ k_ e_ r_ m_ i_ t
IBM-PC Kermit-MS V2.26
Type ? for help
Kermit-MS>_
Kermit-MS>_
Kermit-MS>_
Kermit-MS>_
s_
s_
s_
c_
e_
e_
e_
o_
t_ _
t_ _
t_ _
n_ n_
b_
l_
e_
e_
a_
o_
n_
c_
u_ d_ _ 1_ 2_ 0_ 0
c_ a_ l_ -_ e_ c_ h_ o_ _ o_ n
d_ -_ o_ f_ -_ l_ i_ n_ e_ _ 1_ 9
t
[Connecting to host, type control-] C to return to PC]
RETURN
______
HIS TIME-SHARING SYSTEM
mm/dd/yy
hh.mmm
CHANNEL xxxx
USERID- _ u_ s_ e_ r_ i_ d_ $_ p_ a_ s_ s_ w_ o_ r_ d
*_ k_ e_ r_ m_ i_ t_ _ s_ e_ r_ v_ e_ r
Kermit-GCOS: Version 1.0
Entering Server Mode.
Escape back to your local KERMIT and use server commands.
To exit Server Mode, enter the FINISH command from your local
KERMIT.
To exit KERMIT in an emergency, enter control-D control-S (^D^S)
_ ^_ ]_ C
Kermit-MS>_ g_ e_ t
Remote Source File: _ /_ m_ y_ c_ a_ t_ /_ m_ y_ f_ i_ l_ e
- 11 -
Local Destination File: _ d_ o_ s_ f_ i_ l_ e_ ._ t_ x_ t
<Here follows the file transfer>
Kermit-MS>_ b_ y_ e
A>
The next example shows the same file transfer using version 1.20 of
Kermit-PC without server mode. This transfer is to a GCOS system which
accepts "@" as character data, so it uses the -TapeMode option.
A>_ k_ e_ r_ m_ i_ t
CUCCA IBM-PC Kermit-PC
Version 1.20
Kermit-PC>_ s_ e_ t_ _ b_ a_ u_ d_ _ 1_ 2_ 0_ 0
Kermit-PC>_ s_ e_ t_ _ l_ o_ c_ a_ l_ _ o_ n
Kermit-PC>_ c_ o_ n_ n_ e_ c_ t
[Connecting to host. Type CTRL-]C to return to PC.]
_ R_ E_ T_ U_ R_ N
HIS TIME-SHARING SYSTEM
mm/dd/yy
hh.mmm
CHANNEL xxxx
USERID- _ u_ s_ e_ r_ i_ d_ $_ p_ a_ s_ s_ w_ o_ r_ d
*_ k_ e_ r_ m_ i_ t_ _ -_ t_ m
Kermit-GCOS: Version 1.0
Kermit-GCOS>_ s_ e_ n_ d_ _ /_ m_ y_ c_ a_ t_ /_ m_ y_ f_ i_ l_ e
Escape back to your local KERMIT and enter RECEIVE mode.
_ ^_ ]_ C
Kermit-PC>_ r_ e_ c_ e_ i_ v_ e_ _ d_ o_ s_ f_ i_ l_ e_ ._ t_ x_ t
<Here follows the file transfer>
Kermit-PC>_ c_ o_ n_ n_ e_ c_ t
_ R_ E_ T_ U_ R_ N
*_ b_ y_ e
<GCOS logoff summary>
_ ^_ ]_ C
Kermit-PC>_ e_ x_ i_ t
A>
Transferring a file from your microcomputer to GCOS is similar, but
you would enter a RECEIVE command for Kermit-GCOS (or place it in server
mode), then escape back to your local Kermit and enter a send command.
- 12 -
1.4.1. Bootstrapping KermitGCOS
___________
There are three different ways which you may obtain Kermit-GCOS:
through the HLSUA library, from Columbia University, or over a telecom-
munications line.
The easiest is through the HLSUA library as
Installation instructions accompany the tape.
The Columbia University CUCCA Kermit
five files for Kermit-GCOS. These are:
Name
Lines
HDPS8.B
HDPS8.DOC
HDPS8.PAK
HDPS8.ROF
HDPS8.FTN
3489
924
1957
915
122
a
FILSYS
distribution
save
tape
tape.
contains
Content
B language source for Kermit-GCOS
This documentation in printable form
Kermit-GCOS H* in packed text format
This documentation in ROFF input form
Fortran program to convert .PAK file to H*
All five files are in text format. The first step in installing KermitGCOS is, of course, to copy these files from the tape to disk.
Since the Columbia tape cannot contain a Honeywell random binary
file, Kermit is provided in packed ASCII text form (HDPS8.PAK) along
with a Fortran program (HDPS8.FTN) which documents the packed format
and converts the packed file into Honeywell executable (H*) format.
Create a 65 block random file to hold the H* and run the following job:
$$t(;)
$;ident;userid,banner
$;option;fortran
$;use;.gtlit
$;fortran;ascii,xref,optz
$$select(userid/hdps8.ftn)
$;execute
$;prmfl;01,w,r,userid/kermit
$;prmfl;02,r,s,userid/hdps8.pak
$;endjob
After this job runs, copy file "userid/kermit" to "cmdlib/kerm"
make Kermit available through the command library.
to
The packed text file contains a checksum byte on each line, and
does not contain and GRTS character delete codes (@), so it can be sent
to GCOS over a telecommuncations connection using any ASCII file
transfer program. The installation process for generating an H* file is
the same as described above. The program will print warning messages if
any checksum errors are encountered.
- 13 -
1.4.2. Setting Local Options
______________
Kermit-GCOS contains three flags to enable setting local options.
As distributed, all three flags are set to false. The flags allow
setting the default working directory to the current TSS working directory instead of the USERID when entering Kermit, enabling the server
command for remote directory, and enabling the server command for remote
space information. You should enable remote directory only if you have
the LC command which is distributed with the B language package written
at the University of Waterloo. You should enable the remote space command only if you have replaced the standard Honeywell SMCL command with
a
version which permits directing output to a file with "SMCL
>filename". You should enable the working directory switch only if your
site has enabled the Honeywell TSS working directory feature. Note that
Kermit working directories can be used regardless of the setting of this
switch-- it controls only the default working directory on entry to Kermit.
After running HDPS8.FTN to convert the Kermit packed text file into
an H*, you can use LODX to modify the flag locations to match local
capabilities. The flag addresses are
Address (Octal)
000153
000154
000155
Content
wat_lc
wat_smcl
wat_cwd
All values are initially false (zero). The following
remote directory and working directory initialization.
*_ l_ o_ d_
patch, save
?_ 1_ 5_ 3_
?_ 1_ 5_ 5_
?_ <_ r_ e_
patch, save
patch, save
*
x_
or
_
_
t_
or
or
example
enables
_ /_ k_ e_ r_ m_ i_ t
run? _ p
1
1
u_ r_ n_ >
run? _ s
run?_ <_ r_ e_ t_ u_ r_ n_ >
These values are declared at the beginning of the EXTRN section of
the B source code. You can adjust the settings for your site there if
you recompile the source code.
Note that the user documentation describes Kermit with the default
(false) settings for all three switches. That is, it does not list
REMOTE DIRECTORY and REMOTE SPACE as available server commands, and
states that the working directory is initially set to the USERID. If
you modify these flags, update the documentation.
- 14 -
Download