Primoz Jakopin:
A letter to the user of EVA CAI lesson
Dear user of CAI mode of EVA,
here are some very short instructions. I hope they will do for the
beginning.
To play the lesson, provided on Internet page of EVA:
- Download and unzip eva.exe and eva.rsf files - click on
English version of EVA, zipped, for Windows 95 -
to some suitable directory, C:\EVA for instance.
- Make a shortcut to EVA.EXE, so that it will be accessible from the
desktop. I usually give it the icon of a green tree, as EVA logo
(a girl flying on a floppy) is still in the making.
- Download the lesson - click on
Test lesson (CAI), 5 questions - to the same
disk directory.
- Start EVA by clicking its icon.
- You find yourself in the disk menu, where confirm the
Read file from disk option.
- In the disk directory select EVA_CAI_TEST_EN.EVA.
- In the main menu (access it with the mouse or via <Esc> key)
select System, followed by
System setup and change
Double-diamond code to 36 ($) there.
- In the main menu select "Lessons" and any of the first four options
in the submenu,
Run the lesson sequentially, for instance.
- Play the lesson to the end.
The program will make a log file, a standard ASCII file, of every
session. The one I played and which is provided on the same page
looks like:
METEOROLOGY - PROGNOSTIC MAPS - VARIA
P. Jakopin
98/05/30 11.29 - 11.34 = 4'52''
11:29 : 1. The movement of air masses
11:30 maritime,warm
11:30 : 2. Air pressure change in an anticyclone
11:30 b
11:30 : 3. What is the name of a cyclone
11:30 cyclone
11:30 : 4. Concordances - a missing word
11:30 beauty
11:30 : 5. Text description
11:34 Obviously it is a text full of anagrams and written with a
sole purpose to pack as many as possible in an average
paragraph or two. The words such as gallery, regally,
largely clearly confirm that statement.
The text resembles some psycho SF but somehow
lacks real credibility.
Every entered question has the answers, entered by the student, the
line below it.
Now how to help you make your own lesson. There are two simple
languages involved, the EVA lesson command language, which governs
the flow of the lesson and the EVA page description language, used
to describe every page on screen. I have simplified both a little,
in the direction of later JAVA use.
EVA lesson command language (ELCL):
there are 4 types of lines:
- lines that begin with a colon (:) - start of a new unit (question)
after a colon a space is appropriate, followed by any name up to
100 characters. It will show in the log file.
- lines that begin with two colons (::) - start of a subroutine,
accessed through "= gosub:subroutine name" command line.
After two colons the subroutine name should be placed.
- lines which begin by an equal sign (=) - lesson commands. They can
be modified and are stored in the "LESSON COMMANDS" EVA system table
in EVA.RSF. You get any of them through "System"->"Get system table"
menu sequence, store after modification through "System"->"Put system
table" sequence and make modifications permanent by "System"->
"Write EVA.RSF".
- any other line, usually pertaining to page contents or description.
Every lesson also needs a title line, the first line of the lesson.
How to use the lesson command language, see my example.
EVA page description language (EPDL)
there are 3 types of lines:
- lines which start with at least two double-diamond (dollar sign in our
simplified case) characters are end-of-page lines.
- lines which start with
$ 4
are PDL command lines. Such line has a structure:
$ 4,entry 1,entry 2, ..., entry n.
The shortest possible one is
$ 4.
which just deactivates the values of previous such command.
Entries are of the type:
n=value.
where n can be one of the following:
2: FONT
34: LEFT MARGIN (x) in pixels
35: TOP MARGIN (y)
36: CHARACTER SPACING
37: LINE SPACING
38: BLOCK WIDTH
39: ABSOLUTE LINE SPACING
40: PICTURE MAGNIFICATION FACTOR
41: UNIT
42: PRINT DENSITY
43: BLOCK LEVEL
44: FRAME PATTERN
45: UNDERLINE SPACES
46: ADDITIONAL LINE SPACING for PAGE BREAKUP
51-120: TABULATORS
121: HISTOGRAM etc. line width
- 2 (font) selects the font used for the following text, up to the
next PDL command. The fonts are stored in "DTP RASTER FONTS"
system table and the default one can be selected through:
"Print"->"DTP Setup" menu command sequence.
As you will see, the choice is limited at the moment - for
CAI use only "Times 20, 25, 31, 35, 39, 40", "Listing" which
is now default and "System font" (80 characters per screen
line, fixed) come into play. Others are too big - just for
titles etc. I will add all True Type Windows fonts in the
foreseeable future.
- 34 = left margin in pixels - how much all the following lines
will be pushed to the right. Default value can be selected
through "Print"->"DTP Setup".
- 35 = top margin in pixels - how many pixels from screen top
(down) the following block of lines will begin.
- 51, 52, 53 etc. - the values of tabulator 1, tabulator 2, tab 3 etc.
very important for making tables, such as the ones in
question 4 of the demo lesson. Any text embedded like
<10>text<10>
will be right justified to the value of the current tabulator
(in pixels) and any text, preceded by <9>:
<9>text
will be started at the value of the current tabulator. EVA
also contains a concordancer, which has been used for making
of example in question 4 (from Plato's Republic).
- ordinary lines with lesson contents or comments
Right margin justification of a block can be obtained by placing
the screen cursor in the
$ 4...
line (anywhere in that line) and pressing the "+" key on the right
(numeric) keypad, and a line can be centered by "Shift" "6" on that
keypad (the line must between two "$ 4" command lines).
And how to see immediately what you have done?
In EVA (not in lesson mode of course) you get a screen preview of the
page where the cursor resides by the function key <F3>. From the page
preview back into the editor mode you get by <q> - quit command. The
menu way to page preview is "Print"->"Show page".
The final remark - how to change the keyboard settings - they may be
wrong on your keyboard:
- "System"->"Get system table"->"KEYBOARD"
- modify what is wrong, usig "Varia"->"Get character" on places
where something should be corrected
- "System"->"Put system table" and, to make modifications permanent:
- "System"->"Write EVA.RSF".
So much for now.
With best wishes
P. Jakopin
Last change: May 31, 1998
Number of visits since 5/31/98
URL of this page: http://www.uni-lj.si/~ffjakopin/eva/eva_cai_let_en.html