
     SESSION 2.

     In  this session we will learn how to enter a new text into a file buffer
and how to perform the following simple modifications:

      replacement of individual characters
      deletion of individual characters
      insertion of a new text

     You  will  be using the F2 command quite frequently in this session.   We
assume  that  buffer  2 is available for the practice of text entry  and  text
modification.    You can load, as explained in the previous session, the  file
help.txt  on  buffers  2 and 3 and also use them for practicing  the  commands
explained below.

     A  hard  copy  of this tutorial may make this session easier  to  follow;
otherwise,  you  will  have  to remember a paragraph  or  so  of  instructions
contained  in this buffer (1) and to switch, using F2, to your practice buffer
and  to  try  them.  You can, of course, modify this buffer as well,  but  the
instructions may get somewhat garbled in the process.

     You  create your test file buffer by pressing F3 and specifying file name
                            ***Press Ctrl Pg Dn***
"test.txt".   Type in some 10 - 30 lines of arbitrary text and return back  to
this  tutorial  by pressing F2.  You will have to use the Pg Dn command  after
returning to the tutorial in buffer 1 in order to reach the current section of
the tutorial.  Later on we will learn faster ways to reach a selected portion
of the edited text.

     You  observed that typing in a new text is very simple. There is no  need
to press the enter (return) key since an automatic word overflow into the next
line  always  takes place, whether you are entering, appending or inserting  a
new text.

     We  will be using the WORDFLEX default values to practice the text  entry
and  modifications  in this session.  Later on, when you become more  familiar
with  WORDFLEX, you will find the options available through the Alt A  command
very useful.

     You  have noticed that the display attributes change as you enter a  text
in  the  buffer.  Characters newly entered are displayed in cyan  color  (high
intensity on Monochrome).  When a new line is created, the previous line turns
green  (normal intensity on Monochrome).  These display attributes are used by
WORDFLEX to indicate whether the text is stored in the display only or whether
it  has been copied from the display into the file buffer.  Text displayed  in
green is stored in the buffer.  Cyan (high intensity) or yellow (underlined on
                            ***Press Ctrl Pg Dn***
 
                                     -2-

Monochrome)  text exists only in the display memory.  When you are entering or
appending a new text, the previous line is stored in the buffer automatically.
In  any other instance the decision whether to store the displayed text in the
memory  buffer is up to the user.  Two special function keys are used for this
purpose:

      F6  -    transfer changes made on the screen into buffer
      F9  -    restore previous screen display, i.e. cancel all changes

     Practice now these two functions on your test text in buffer 2 in
conjunction with two basic text modification functions: character replacement
and deletion.  Character replacement is the WORDFLEX default mode: move cursor
under the character you want to replace and type the new character over it.
It will be displayed in cyan (high intensity) indicating its temporary nature.
If you are satisfied with the replacement, press F6. Otherwise, use F9.
Similarly, you can delete the character above the cursor by pressing the Del
key.  The character disappears and the rest of the line is moved to the left.
It also turns  yellow (becomes underlined) to indicate that a modification
took place.  F6 and F9 will turn the display green (normal intensity) again,
with or without the deletion(s), respectively.  Practice the replace and
                            ***Press Ctrl Pg Dn***
delete functions on buffer 2 and return then to this text.

     Appending  text to a text in a buffer is identical to entering a new text
into  an  empty  buffer.  Place the cursor at the end of the text,  press  the
enter key and type any number of additional lines.

     The  last subject covered in this session is the insertion of a new text.
Insertion  always takes place just before the current location of the  cursor.
WORDFLEX  has  to be switched into the insert mode by pressing the Ins key  of
the  right hand keypad.  This key acts as a toggle: insert mode is switched on
and off  by  it.  The command line on the top of the screen  always  indicates
whether WORDFLEX is in the cursor, scroll or insert mode.

     Before you start practicing text insertion in your buffer test.txt, a few
aspects  of  text insertion have to be explained first.  In order to make  the
insertion  operation  as  simple and efficient as possible,   WORDFLEX  always
takes  care  of overflow of words into the next, newly created line, when  the
line  with insertions becomes longer than the specified maximum length.   When
working with a continuous text similar to this tutorial, it is most convenient
to  rearrange  the following lines so as to maintain their chosen length.   It
would  not  be  practical  to rearrange hundreds of lines  of  text  that  may
possibly follow an insertion.  Consequently, WORDFLEX performs this rearrange-
ment  for  the  rest of the current paragraph only.  Paragraph is  defined  in
                            ***Press Ctrl Pg Dn***
 
                                     -3-

WORDFLEX  (as  in  most other word processing programs) as one or  more  lines
preceded and followed by a blank line. Empty lines are created by pressing the
enter key only.

     In the last session we will describe the effect of options (selectable by
the Alt A command) that can change this feature.

     You  will  notice  that  two  display attributes  are  used  during  text
insertion:  new text is displayed in cyan (high) intensity and the  rearranged
text  that  follows is displayed in yellow (underlined).  The insert  mode  is
terminated by pressing the Ins key - without any effect on the transfer of the
inserted  text  from  the  display to the buffer, by  F6  which  performs  the
transfer (the text turns green - normal intensity) or by F9 which restores the
previous screen.

     The  automatic text rearrangement is limited to the text displayed on the
screen.    In  order  to rearrange an entire paragraph, the  text  has  to  be
scrolled down and the command Alt G invoked.  It is usually not  desirable  to
have paragraphs with more than 24 lines;  if your writing style requires it, a
rearrangement can still be achieved by scrolling parts of the paragraph down
                       ***Press Ctrl Pg Dn***
and invoking the Alt G command more than once.  The command will always
rearrange the displayed portion of the paragraph following the current line.

     The  Alt  G  command  has to be also invoked when a  rearrangement  of  a
paragraph  is  desired  after deletion of characters in a line.  An  automatic
rearrangement  after the delete operation is not available in this version  of
WORDFLEX.

     This  concludes  the second tutorial session.  Select now  your  test.txt
buffer and practice the basic text manipulation commands explained above. Text
entry, insertion, character replacement and deletion are the most frequently
used features of any word processing program.  Your proficiency in using
WORDFLEX will depend on the time you spend practicing these basic functions.
