
1
00:00:07,176 --> 00:00:48,498
I'm going to show you the use of the
Michigan Terminal System, a large

2
00:00:48,498 --> 00:00:54,390
computing system at the University of
Michigan Computing Center, using the IBM

3
00:00:54,390 --> 00:01:00,308
model 36067. We will be using a standard
teletype, and we will be dialing in

4
00:01:00,308 --> 00:01:07,013
through the ordinary University Centrex
Telephone System. This system can be used

5
00:01:07,013 --> 00:01:13,021
by a telephone system anywhere in the
world, as long as we can dial directly

6
00:01:13,021 --> 00:01:19,059
into the computer. These teletypes are not
wired in, but use the ordinary telephone

7
00:01:19,059 --> 00:01:24,837
system. We start by pushing the originate
button, which turns on the teletype. Then

8
00:01:24,837 --> 00:01:30,788
we will dial using the regular telephone
dial here. Now, there is a handset which

9
00:01:30,788 --> 00:01:35,759
is available with every teletype system.
You can dial this number, if you like,

10
00:01:35,759 --> 00:01:41,830
with the handset. Either one work, but as
soon as you are connected to the computer,

11
00:01:41,830 --> 00:01:48,040
do not use the handset for any purpose at
all. Now, I'll push the originate button.

12
00:01:48,717 --> 00:01:55,690
I can control the speaker volume with this
little knob, and so you can hear it. Now,

13
00:01:55,690 --> 00:02:03,136
I will dial a number, 763-0300, or in a
Centrex system just 30300. And now, the

14
00:02:03,136 --> 00:02:10,473
computer is coming in. And I will turn the
volume down. The response from the

15
00:02:10,473 --> 00:02:16,786
computer is the identification of the
system. The who are you is the standard

16
00:02:16,786 --> 00:02:23,956
teletype communication identification. And
the teletype itself answers with its own

17
00:02:23,956 --> 00:02:30,300
built-in code number. In this case, the
teletype at the TV center. Now, I must,

18
00:02:30,300 --> 00:02:35,743
sign on to the computer and identify
myself. The number sign at the beginning

19
00:02:35,743 --> 00:02:41,574
of the line is the indication that the
Michigan Terminal System is waiting for me

20
00:02:41,574 --> 00:02:46,620
to communicate something to it. The first
thing I must do is issue the sign on

21
00:02:46,620 --> 00:02:52,543
command. All commands in the system starts
with a dollar sign. Now, the keyboard on

22
00:02:52,543 --> 00:02:57,929
the teletype, is very much like the
keyboard of a typewriter, including a

23
00:02:57,929 --> 00:03:03,669
shift key, for the characters on the top
of the key. We do not have upper and

24
00:03:03,669 --> 00:03:08,986
lowercase letters, however. So, the shift
key is only used to get an additional set

25
00:03:08,986 --> 00:03:14,398
of characters and in this case, the dollar
sign is the character above the number

26
00:03:14,398 --> 00:03:20,718
four. Now, I will use the word Sign On,
which is the official command. Sign On.

27
00:03:20,718 --> 00:03:26,880
There must be a space, at least one, after
every command. And now, I will give my own

28
00:03:26,880 --> 00:03:33,351
personal computing center number, which
happens to be W010. Each user of this

29
00:03:33,351 --> 00:03:38,339
system is issued a computing center
identification number, through his

30
00:03:38,339 --> 00:03:44,627
instructor if he's a student, or through
the department for faculty. Now, this line

31
00:03:44,627 --> 00:03:50,968
has been typed. It is being held by the
computer. But I can, if I see any errors

32
00:03:50,968 --> 00:03:56,484
in it, do some editing and correcting. We
will see that later. I am satisfied with

33
00:03:56,484 --> 00:04:01,499
this line and now I will give the end of
line character, which must be given after

34
00:04:01,499 --> 00:04:06,506
every line and I will remind you each time
that I am doing it for a while. The

35
00:04:06,506 --> 00:04:11,886
character for ending a line uses the
control key on the keyboard which is a

36
00:04:11,886 --> 00:04:17,506
special key which indicates that I want to
use even additional characters besides

37
00:04:17,506 --> 00:04:22,181
those that are added by the use of the
shift key. I hold the Control key down.

38
00:04:22,181 --> 00:04:27,498
And while I hold it down, I can hit one of
a number of other keys. And in this case,

39
00:04:27,498 --> 00:04:33,703
I will use the control with the letter Q.
It's possible to use the letter S also,

40
00:04:33,703 --> 00:04:40,176
but that's right next to another key which
disconnects the teletype. So, I recommend

41
00:04:40,176 --> 00:04:49,194
using Q. I will use control and Q to
terminate the line. And now, I'm asked to

42
00:04:49,194 --> 00:04:56,612
give my private password. I'll give an
incorrect password, just some nonsense

43
00:04:56,612 --> 00:05:02,319
characters and of course end of line
because I must indicate that I am

44
00:05:02,319 --> 00:05:10,510
satisfied with that. I am prompted that I
better give another password and now since

45
00:05:10,510 --> 00:05:16,752
I intend to give the correct password, I
will turn off the printing so that no one

46
00:05:16,752 --> 00:05:23,210
can see what mine is. To turn off printing
we use this switch which is labeled HDX

47
00:05:23,210 --> 00:05:30,008
and FDX, or Half Duplex and Full Duplex.
We normally operate this, the teletype in

48
00:05:30,008 --> 00:05:36,354
Half Duplex mode. If I push it to Full
Duplex, printing is suppressed. And now I

49
00:05:36,354 --> 00:05:42,487
will give my correct password, push the
Half Duplex again, and end of line

50
00:05:42,487 --> 00:05:48,985
character control Q, and it is accepted by
the system. And I am now signed on. The

51
00:05:48,985 --> 00:05:55,321
information that's coming out here is time
and date of the previous sign on and time

52
00:05:55,321 --> 00:06:01,860
of date of this sign on. So, I can check
if anyone did use my number since I myself

53
00:06:01,860 --> 00:06:08,290
did use it. Now, one of the first things I
will do is to change my password having

54
00:06:08,290 --> 00:06:14,737
signed on correctly. I maybe concerned
that someone may have had acquired my

55
00:06:14,737 --> 00:06:20,657
password and I will issue a command that
says $ set. Which is used for setting

56
00:06:20,657 --> 00:06:26,129
various things in the system, but in this
case, I want to set my password to

57
00:06:26,129 --> 00:06:31,392
something else. At least one blank after
each command. Pw is the name of my

58
00:06:31,392 --> 00:06:37,429
password equals and no blank spaces in
here and now I will turn off printing

59
00:06:37,429 --> 00:06:43,979
again, give my new password and terminate
the line. The number sign indicates that

60
00:06:43,979 --> 00:06:49,969
I'm now ready to issue another command to
the system. Or now suppose we wish to

61
00:06:49,969 --> 00:06:56,605
start using the computer and we wish to
enter some information into a file, I can

62
00:06:56,605 --> 00:07:03,529
have a number of private files, each one
with a name that I invent, that's useful

63
00:07:03,529 --> 00:07:10,517
to me. And I will attempt to create a new
file in this case by issuing a command,

64
00:07:10,517 --> 00:07:18,347
Create. Dollar sign Create. And I think I
will illustrate here the fact that only

65
00:07:18,347 --> 00:07:25,238
the first three letters of every command
are necessary. So, Create, space, let's

66
00:07:25,238 --> 00:07:32,590
use the name EX. There is a check that I
don't already have one, and of course I

67
00:07:32,590 --> 00:07:40,446
knew I had one of this name and we see now
that it was cut. To show what names I do

68
00:07:40,446 --> 00:07:48,008
have, in case I've forgotten, let us run a
special program that is available from the

69
00:07:48,008 --> 00:07:54,045
Computing Center Library, called Catalog.
So, I will say, run that program. The run

70
00:07:54,045 --> 00:08:00,531
command is used to activate all sorts of
programs, my own private program as well

71
00:08:00,531 --> 00:08:07,613
as the publicly available one, space, and
now the name of this program is Catalog

72
00:08:07,613 --> 00:08:14,846
with an asterisk in front. I'll explain
the asterisk in a moment. End of line

73
00:08:14,846 --> 00:08:22,003
character of course. Now, it is listing
out all the files that I have under my

74
00:08:22,003 --> 00:08:28,310
private number. Now, the internal form of
a name like EX, is really W010EX. My own

75
00:08:28,310 --> 00:08:35,151
identification is pre fix to it. And thus,
no one can reference my file unless he

76
00:08:35,151 --> 00:08:41,220
signs in under W010. He can't do that
without knowing my password. Thus, I'm

77
00:08:41,220 --> 00:08:47,432
protected as long as I protect my
password, which I do by changing it often.

78
00:08:47,432 --> 00:08:54,813
Now, we see the names of the various files
that I had, including videotape which was

79
00:08:54,813 --> 00:09:03,772
used to print out the title to this tape.
And, I did wanna create a file. I better

80
00:09:03,772 --> 00:09:12,641
think of a name that isn't in there. So,
let's think of a name, like, 0X1. So, I'll

81
00:09:12,641 --> 00:09:22,084
say create, X1. Now, space has to be found
on the, disk storage of the computer for

82
00:09:22,084 --> 00:09:29,958
this. It has to be entered into the system
catalog of files. And now it's reported

83
00:09:29,958 --> 00:09:36,076
back to me that this has been done. The
blank spaces after X1 remind me that I

84
00:09:36,076 --> 00:09:42,037
could have up to twelve characters in a
name. I didn't choose to in this case. Now

85
00:09:42,037 --> 00:09:47,099
I would like to enter some lines into this
file, and the lines will be numbered. I

86
00:09:47,099 --> 00:09:53,053
can ask for automatic numbering of the
lines. So we'll give a command number. $

87
00:09:53,053 --> 00:10:03,540
NUM and if I terminated the line at this
point, it would number them starting with

88
00:10:03,540 --> 00:10:10,804
one in steps of one. Simple one, two,
three, four et cetera. But I will indicate

89
00:10:10,804 --> 00:10:17,596
in this case starting with line one but
will use steps of three. All right. It's

90
00:10:17,596 --> 00:10:26,037
now asking for line one. And I will simply
enter some information. This is the time,

91
00:10:26,037 --> 00:10:32,337
and I misspelled the word. Let's look at
how we might make corrections here. One

92
00:10:32,337 --> 00:10:38,813
way is to delete the whole line and start
over. To delete a line, I use control with

93
00:10:38,813 --> 00:10:47,289
the letter N. This inserts a delete line
character into the line. If I like I can

94
00:10:47,289 --> 00:10:54,073
continue with, with the new line that I
would like to have go in at that point,

95
00:10:54,073 --> 00:11:03,173
and I'll do that in this case. And end of
line. Notice that since I asked for steps

96
00:11:03,173 --> 00:11:13,904
of three, it is now asking for line four.
Let me, put some more information in here.

97
00:11:14,809 --> 00:11:22,513
And I made another mistake. Well, again I
could use control N if I like, and this

98
00:11:22,513 --> 00:11:28,697
time I'll terminate the line at that
point. And I get an indication that the

99
00:11:28,697 --> 00:11:35,844
line was deleted. I didn't get the indic
ation in the previous case because I just

100
00:11:35,844 --> 00:11:43,132
continued with the new form of the line.
Well, let me put the line in again. And I

101
00:11:43,132 --> 00:11:50,843
made another mistake. Now, in this case I
really need to only backspace a character

102
00:11:50,843 --> 00:11:57,977
and continue. Let me backspace two
characters to show how that could work.

103
00:11:57,977 --> 00:12:04,585
The backspace is Control and the letter A.
If I get two of them, I have now back

104
00:12:04,585 --> 00:12:11,996
space twice. And I can start the word come
again. Notice that the teletype does not

105
00:12:11,996 --> 00:12:19,827
physically backspace as a typewriter does.
The backspace character is inserted in the

106
00:12:19,827 --> 00:12:26,910
line, and when the line is processed by
the computer, it is interpreted to delete

107
00:12:26,910 --> 00:12:33,482
the previous characters. We don't see that
on the teletype itself. So, I can add

108
00:12:33,482 --> 00:12:42,726
another line here. All right, and now, let
me turn off the numbering, so that I can

109
00:12:43,072 --> 00:12:50,032
begin to do some other things with it. I
can give dollar sign a number. End of line

110
00:12:50,032 --> 00:12:56,067
character. That turns off the numbering
and it's waiting for me to do something.

111
00:12:56,067 --> 00:13:05,047
Now, the file X1 is my active file in the
sense that whatever I do such as putting a

112
00:13:05,047 --> 00:13:12,085
line in, goes into the currently active
file X1. To protect myself from doing

113
00:13:12,085 --> 00:13:20,091
something inadvertently and damaging the
information in the file, I will release it

114
00:13:20,091 --> 00:13:28,059
from being the active file by giving the
command Release. Now, for instance, if I

115
00:13:28,059 --> 00:13:43,132
chose to put a line in like two I am
protected because I don't have any active

116
00:13:43,132 --> 00:13:56,019
file. Now, since we did do a fair amount
of modification for the information in X1,

117
00:13:56,019 --> 00:14:08,254
let us print out or list the information
in the file to see what actually got in.

118
00:14:08,254 --> 00:14:18,850
Dollar sign, list. I can give the full
name if I like, X1. Looks very good. Now,

119
00:14:18,850 --> 00:14:25,792
let me show how we can put a line in if we
want to make a modification. I can put a

120
00:14:25,792 --> 00:14:31,825
line in with a number like two which will
go in the right place. I could even use

121
00:14:31,825 --> 00:14:37,756
2.5. So, let us make X1 the active file
again and put a line 2.5 into that file.

122
00:14:37,756 --> 00:14:43,835
X1 was active the first time because that
was created with the Create command. I

123
00:14:43,835 --> 00:14:51,796
can't do that now. But I can make it the
active file by using a command Get. It's

124
00:14:51,796 --> 00:15:00,185
acknowledged, and now X1 is probably the
active file. Let me try line 2.5. The

125
00:15:00,185 --> 00:15:07,957
information in the line starts with the
character after the comma, the comma

126
00:15:07,957 --> 00:15:16,876
indicating the end of the line number.
Now, let's verify that it actually got in

127
00:15:16,876 --> 00:15:24,167
there. I don't want to list the whole file
X1, it could be a very long file. It isn't

128
00:15:24,167 --> 00:15:29,806
in this case. So, what I'd like to do is
list a part of the file. Let's say, all

129
00:15:29,806 --> 00:15:42,133
the lines. In the number range one through
five. There's a mistake, backspace, next

130
00:15:42,133 --> 00:15:52,465
one, one two five. Notice that the line
2.5 was inserted in the proper place

131
00:15:52,465 --> 00:16:01,652
according to its line number. And the end
of file comment here even though we didn't

132
00:16:01,652 --> 00:16:10,339
get line seven has to do with the fact
that the name X1(1,5) named a new file

133
00:16:10,339 --> 00:16:18,057
which was in fact made up of parts of an
old file. X1 lines one through five. Are

134
00:16:18,057 --> 00:16:24,092
in fact a kind of a logical file. And when
it came to the end of that file, it

135
00:16:24,092 --> 00:16:31,055
indicated end of file. There are other
ways to make new files out of old files.

136
00:16:31,055 --> 00:16:37,377
We can use a process called Explicit
Concatenation. To do that, let me, for

137
00:16:37,377 --> 00:16:46,086
example list a file made up of pieces of
old files. I will say, list. I have a long

138
00:16:46,086 --> 00:16:54,404
file who's name is EX. So, I will take
lines 25 through 50. Oh, that's too long.

139
00:16:54,404 --> 00:17:02,658
Let's back, cancel that out, 27. Now, with
the plus sign, I explicitly append to the

140
00:17:02,658 --> 00:17:11,017
end of the, of those lines or concatenate
to them. Line some additional lines. Let's

141
00:17:11,017 --> 00:17:18,034
say, lines 53 and 54. Notice that if it's
the same file again, I don't need the name

142
00:17:18,034 --> 00:17:24,586
EX again. Now, I will concatonate some
lines directly from my terminal. So, I

143
00:17:24,586 --> 00:17:30,770
need a name of my terminal as a file. We
use asterisk, source, asterisk. That is

144
00:17:30,770 --> 00:17:38,452
the name of my terminal as an input file.
And then I will, maybe take some more

145
00:17:38,452 --> 00:17:47,227
lines from file EX. If I just give one
number, it means all the lines from 100

146
00:17:47,227 --> 00:17:52,846
on. And that's a long file, and so in
fact, we will see a fair amount of typing

147
00:17:52,846 --> 00:17:58,032
at that point. In fact, that raises the
question, how do I interrupt somethi ng

148
00:17:58,034 --> 00:18:05,018
which is going on that I would like to
stop? There is a special button on the

149
00:18:05,018 --> 00:18:12,024
teletype called the Break Button. It is
located in various places on different

150
00:18:12,024 --> 00:18:17,093
models of the teletype. In this case, it
is right here. Now, when I want to

151
00:18:17,093 --> 00:18:24,037
interrupt, as we will see, whatever is
going on, I will push the break button. At

152
00:18:24,037 --> 00:18:30,057
that point, because of the way the
teletype is built, the keyboard locks. And

153
00:18:30,057 --> 00:18:38,028
I must, then, push a button which occurs
in another part of the teletype, called

154
00:18:38,028 --> 00:18:46,038
the Brake Release Button. This button will
light, and when I push it, it will then

155
00:18:46,038 --> 00:18:52,060
unlock the keyboard. Now, lets do it and
we'll see how the brake process works. I

156
00:18:52,060 --> 00:19:01,412
will now give the end of line character.
So, that the line I just typed will in

157
00:19:01,412 --> 00:19:12,074
fact go in. Line 25, 26, and 27. These are
lines from some computer program, 53,

158
00:19:12,074 --> 00:19:23,076
there was no line 54. It is now waiting
for lines from the file called Source. And

159
00:19:23,076 --> 00:19:30,827
so I must give a line. And since I'm
listing things on, on this terminal. When

160
00:19:30,827 --> 00:19:37,052
I give a line as input, it'll come right
back out and be listed, as if it were in

161
00:19:37,052 --> 00:19:44,699
that file. It's the first line in that
file. Well, now I have to have a way of

162
00:19:44,699 --> 00:19:51,551
saying that's the end of this file that's
coming from my terminal, and so there's a

163
00:19:51,551 --> 00:20:00,557
special character, Control C, for end of
file. Now, that's a character that went

164
00:20:00,557 --> 00:20:06,185
into the line. I must now still terminate
the line. And then I will get an

165
00:20:06,185 --> 00:20:14,115
acknowledgement that it's on in the file
and now it continues to line 100 of that

166
00:20:14,115 --> 00:20:21,751
old file, EX. That's an interesting line
and I know that this file is quite a long

167
00:20:21,751 --> 00:20:30,298
file with some programs in it and so now,
I will hit the break button and terminate

168
00:20:30,298 --> 00:20:37,113
what's going on there. I get a response
from the computer that attention was

169
00:20:37,113 --> 00:20:42,772
indicated. Now, I will hit the Brake
Release Button to pre-up the keyboard.

170
00:20:42,772 --> 00:20:49,305
Which is lighted, when I push it, it goes
out, and now I can do something from the

171
00:20:49,305 --> 00:20:55,021
keyboard again. The number sign indicates
that after an interruption by the break

172
00:20:55,021 --> 00:21:01,032
button, the system is ready to have me
tell it what to do ag ain. Now, I'm going

173
00:21:01,032 --> 00:21:07,021
to illustrate the use of one of our
language processors in the system. A

174
00:21:07,021 --> 00:21:13,145
language called PIL, P-I-L, for Pittsburgh
Interpretive Language. And PIL is stored,

175
00:21:13,145 --> 00:21:20,284
the processor for the language, is stored
in a file whose name is asterisks P-I-L. I

176
00:21:20,284 --> 00:21:28,767
will run that program, that is the PIL
program itself by using the run command

177
00:21:28,767 --> 00:21:36,726
and the name of the file in which the
program is found. I could indicate that

178
00:21:36,726 --> 00:21:43,273
the source. Of input for PIL, is from some
other file. And have it read that file

179
00:21:43,273 --> 00:21:49,230
directly. In this case, the sources of
input will be from my terminal. And so , I

180
00:21:49,230 --> 00:21:54,756
will not say anything about it, and it
will as we say default to the terminal. We

181
00:21:54,756 --> 00:22:02,221
will see the comment execution begins when
the loader finds that program and loads it

182
00:22:02,221 --> 00:22:08,756
and begins it, and now PIL itself is
identifying itself as ready to go. I will

183
00:22:08,756 --> 00:22:15,485
only introduce some of the features of the
language. A full description of the

184
00:22:15,485 --> 00:22:21,563
language, as well as information about
using the teletype, is available at the

185
00:22:21,563 --> 00:22:28,012
bookstores in a small booklet called
Introduction to PIL in MTS, Written by

186
00:22:28,012 --> 00:22:34,943
Professor Larry Flanagan of the Computing
Center. Now, let me illustrate some of the

187
00:22:34,943 --> 00:22:41,737
features of the PIL language, but only a
few of them. For one thing, I can ask for

188
00:22:41,737 --> 00:22:52,003
Numeric expressions to be computed easily
three + four - two should come out five,

189
00:22:52,006 --> 00:23:05,715
fine. I can say type the square root of
4.12345. I can ask for certain

190
00:23:05,715 --> 00:23:16,806
trigonometric functions like the sign of
the square root of, notice I have a

191
00:23:16,806 --> 00:23:27,684
different way of writing square root here.
It's not completely free English however.

192
00:23:27,684 --> 00:23:35,815
And these are the only two ways. Now, I
can ask for, for instance, the value of x

193
00:23:35,815 --> 00:23:43,007
+ one. And, of course, I get my wrist
slapped because I don't know what X is.

194
00:23:43,007 --> 00:23:51,045
And so I can set, there's another PILl
language command, set X equal to three.

195
00:23:51,045 --> 00:24:00,879
And now I can ask for a type X, x, X -
one, for example. Okay. Now it's possible

196
00:24:00,879 --> 00:24:08,699
in PIL to build up a package of statements
into a program. And for that we give a

197
00:24:08,699 --> 00:24:16,225
line number., which is consists of a
number in front of a decimal point. That's

198
00:24:16,225 --> 00:24:23,391
called a Part Number, and then the Step
Number. I might say step 1.2 which I might

199
00:24:23,391 --> 00:24:31,489
give as the man Y and Z. Now , that line
was not executed immediately, because we

200
00:24:31,489 --> 00:24:40,174
have a line number, it indicates it to be
put away to become part of a package

201
00:24:40,174 --> 00:24:48,057
program. Let's make line 1.3, 5Y + Z, as
well as Y and Z, and then line 1.4, is,

202
00:24:48,057 --> 00:24:54,182
can we go to step 1.2. So now, we have a
program which will start off by demanding

203
00:24:54,182 --> 00:25:01,238
two numbers from me, it will type out
their sum and each of them, and go back

204
00:25:01,238 --> 00:25:09,699
and demand two numbers again. Now. In
order to actually carry out this

205
00:25:09,699 --> 00:25:15,130
computation, I have to say do that set of
instructions. Since all these began with

206
00:25:15,130 --> 00:25:20,810
one, this is called Part One. We could
have Part Two, etc. So I will say, Do.

207
00:25:21,497 --> 00:25:27,790
Part one. It's asking for Y, as we
expected. I'll say Y is equal to five.

208
00:25:28,447 --> 00:25:36,257
It's asking for Z. Z is equal to four. And
now the instruction to type the amount is

209
00:25:36,257 --> 00:25:44,975
there, and now it's back to beginning,
asking for another Y. 79 and we see we can

210
00:25:44,975 --> 00:25:51,723
do various things. Now, how do I stop
this, because it's always coming back to

211
00:25:51,723 --> 00:25:57,293
ask for more? Well, in PIL, I could give a
break. I could hit the break button, but

212
00:25:57,293 --> 00:26:02,247
in PIL, when it wants more information and
you have no more, you can use an asterisk,

213
00:26:02,247 --> 00:26:07,087
which uses the shift key and way up here
the asterisk, and some character, any

214
00:26:07,087 --> 00:26:13,166
character at all other than blank, I use X
usually. End of line, and that indicates

215
00:26:13,166 --> 00:26:19,447
to PIL, that I interrupted the program at
step 1.2 where it was asking for input.

216
00:26:19,447 --> 00:26:26,411
Incidentally, if I wanted to see what step
1.2 was out of some large program I could

217
00:26:26,411 --> 00:26:34,344
say type Part One, and it'll tell me what
Part One was. Well, there are various

218
00:26:34,344 --> 00:26:40,878
things we can do in this language. I will
illustrate one more. I can say four, and

219
00:26:40,878 --> 00:26:58,999
without a line number, it'll be executed
immediately. 4I equal to one from one to

220
00:26:58,999 --> 00:27:01,785
five by 2s, 5I + one. If it goes from one
to five by twos, it'll go in one, three,

221
00:27:01,785 --> 00:27:07,747
and five. I + one should be two 46. So
let's see if it is. And now PIL is wai

222
00:27:07,747 --> 00:27:14,321
ting for something else. Well, at this
point, I will stop illustrating PIL and go

223
00:27:14,321 --> 00:27:18,922
back to the MTS system. Which should be
careful to distinguish that I have been

224
00:27:18,922 --> 00:27:24,271
running a particular program in the
system. All of the file manipulation and

225
00:27:24,271 --> 00:27:30,498
editing and correction were at the level
of the system itself. If I am talking now

226
00:27:30,498 --> 00:27:37,234
to PIL, if I want to return to the system
to, for example, to sign off, I must go

227
00:27:37,234 --> 00:27:47,645
back up to level of the system itself. I
do that by telling PIL the command system.

228
00:27:47,645 --> 00:27:59,580
Execution terminates, and, we are now back
at the system. Let us review the commands

229
00:27:59,580 --> 00:28:09,003
we have had so far. I have a file which
has the various commands in them. And if I

230
00:28:09,003 --> 00:28:16,752
copy that file, we should see some that
we've seen, and there will be a couple

231
00:28:16,752 --> 00:28:25,197
that we have not yet seen. Sign on. Create
to create a file. Get to make a file

232
00:28:25,197 --> 00:28:32,319
active. Number to turn on the automatic
numbering, and a number to stop it.

233
00:28:32,319 --> 00:28:40,477
Release to get rid of an active file. List
to find out what's in a file. We have seen

234
00:28:40,477 --> 00:28:47,754
set and run. We have not yet used copy.
Although I used it to get this command

235
00:28:47,754 --> 00:28:54,784
out, this list of commands. But the, the
main use of copy is to make a copy of one

236
00:28:54,784 --> 00:29:02,030
file into another one. Perhaps, a
temporary file to be able to make changes

237
00:29:02,030 --> 00:29:09,006
in it. So, for example, I will make a copy
of the file X1. I will copy it to a

238
00:29:09,006 --> 00:29:15,317
temporary file, whose name will be minus,
something, minus J. Now, the minus sign

239
00:29:15,317 --> 00:29:20,680
indicates that this file is to be created
just because I've mentioned this now. And

240
00:29:20,680 --> 00:29:26,522
it will be destroyed when I sign off from
this terminal. Permanent files, whose

241
00:29:26,522 --> 00:29:32,676
names don't begin with minus, such as X1,
are not destroyed. I could come back next

242
00:29:32,676 --> 00:29:38,131
week and find X1 still intact. It takes a
little while to create a temporary file

243
00:29:38,131 --> 00:29:43,689
because there is checking to make sure
that I don't have one already by that

244
00:29:43,689 --> 00:29:50,236
name. It is not ready, and for example, I
will list just a line or two out of minus

245
00:29:50,236 --> 00:29:58,411
J to convince us that X1 was copied into
it, let's list lines. Oh, just line one.

246
00:29:59,641 --> 00:30:11,116
Fine. Now, minus J will be destroyed au
tomatically but well, before we get to

247
00:30:11,116 --> 00:30:18,497
that, let's copy -J back into X1. In case
we want them to, after making some

248
00:30:18,497 --> 00:30:25,094
changes, preserve it. Now, now if we
simply copy it back into X1, only the

249
00:30:25,094 --> 00:30:32,580
lines that arrived from the other file
from -J will be replaced. Any old lines

250
00:30:32,580 --> 00:30:39,371
will still be there. If I don't want to
have a mixture of old and new I will, do

251
00:30:39,371 --> 00:30:47,420
well to empty out the contents of X1,
before I copy the new, new form of it back

252
00:30:47,420 --> 00:30:54,087
in. And so, I will use a new command
called Empty X1. This doesn't destroy the

253
00:30:54,087 --> 00:31:02,856
file. It only erases any contents that it
has. And now, this is a very important

254
00:31:02,856 --> 00:31:09,085
point. We don't like to destroy
information unless we are sure that it is

255
00:31:09,085 --> 00:31:17,009
the right information to be destroyed. I'm
being asked to confirm that it is X1 that

256
00:31:17,009 --> 00:31:24,077
I want to, to empty, in this case. I give
okay, and that is a positive confirmation.

257
00:31:28,075 --> 00:31:32,073
An exclamation mark would do, or O period,
K period will work. But anything else will

258
00:31:32,073 --> 00:31:40,030
not. So now, X1 is in fact, emptied. It is
still there. If I wanted to completely get

259
00:31:40,030 --> 00:31:53,123
rid of the file, I would say Destroy, as I
will after we Copy -J back into it. That

260
00:31:53,123 --> 00:32:04,133
is done. And now I would have a new copy
if I had made modifications to -J. Now, I

261
00:32:04,133 --> 00:32:14,026
will say Destroy X1, it asks for
confirmation. I will say, okay. And now,

262
00:32:14,026 --> 00:32:24,332
for instance if I say Get X1, well it says
Ready, but as soon as I try to put

263
00:32:24,332 --> 00:32:36,270
something into it like that, it will
report, there isn't any. As soon as it

264
00:32:36,270 --> 00:32:45,793
comes back, I will Sign Off from the
computer. I, I will say Cancel in this

265
00:32:45,793 --> 00:32:53,558
case. There isn't any others that I'd like
to do. All right. Now, I will sign off

266
00:32:53,558 --> 00:33:02,071
from the computer by issuing the command
Sign Off. And now, I will get some

267
00:33:02,071 --> 00:33:11,088
information summarizing the session that
I've just finished. The time of going off,

268
00:33:11,088 --> 00:33:21,553
the elapse time. We have used thirteen
seconds in this case of computer time. And

269
00:33:21,553 --> 00:33:31,181
then there's various other information.
The approximate cost of this particular

270
00:33:31,181 --> 00:33:41,269
run was $3.20. This presentation has been
designed to make your work on the teletype

271
00:33:41,269 --> 00:33:48,891
terminals e asier. For a review of this
material, you may wish to view this

272
00:33:48,891 --> 00:33:53,968
material again, or to actually try it out
on the teletype, if you have a computing

273
00:33:53,968 --> 00:33:58,497
center number. If you have any questions,
ask your instructor, or someone in the

274
00:33:58,497 --> 00:34:04,423
counseling room at the computing center.
» Your attention please. Since this film

275
00:34:04,423 --> 00:34:11,655
was produced, some changes have been made
in the MTS system. Three of which we now

276
00:34:11,655 --> 00:34:19,042
call to your attention. First, to
backspace so as to delete a character.

277
00:34:19,042 --> 00:34:27,489
Instead of Ctrl + A, use Ctrl + H. Instead
of Ctrl + A, use Ctrl + H. Second, while

278
00:34:27,489 --> 00:34:35,335
Ctrl + Q may still be used to signal the
end of the input line, the Return key on

279
00:34:35,335 --> 00:34:46,299
the right side of the keyboard may also be
used and it is usually more convenient.

280
00:34:46,299 --> 00:34:51,918
Use the Return key to end the line. Third,
when dialing in, if nothing prints on the

281
00:34:51,918 --> 00:34:59,802
teletype, within a few seconds after the
telephone connection has been made, type

282
00:34:59,802 --> 00:35:06,957
the word Go. Go. Followed by the Return
key. The word go, and the return key.

283
00:35:06,957 --> 00:35:08,028
Thank you.
