LCFG ROLLING
DOC
CLEAR
Y|765|
COMMAND MODE AND EDIT MODE|515||515||752||759||754||754||752||737||159||156||156||156||156||156||156||156||156||156||156||156||156||156||156||156||156||156||156||156||156||156||156||156||156||156||156||156||156||151||754||753||149||754||753||158||754||754||156||754||754||156||754||754||156||754||754||156||754||754||156||754||754||156||754||754||156||754||754||156||754||754||156||754||754||156||754||754||156||754||754||156||754||754||156||754||754||156||754||754||156||754||754||156||754||754||156||754||754||156||754||754||156||754||754||156||754||754||156||754||754||156||754||754||156||754||754||156||754||754||156||754||754||156||754||754||156||754||754||156||754||754||152||754||752||149||737||541|

|^F|9|PROTEXT has two distinct modes of operation, 'Command mode' and 'Edit mode'. Edit mode is the mode in which all entry of text is carried out, whilst command mode is where all instructions relating to printing of documents, saving and loading of files and many other operations are carried out. When PROTEXT is first loaded it is in command mode, which is indicated by a 'banner' line about two thirds of the way down the screen, which gives details of the version number of PROTEXT that you are using. The area of the screen beneath this line is clear, except for the command mode prompt '>', prefixed with the current drive letter.

|^Z|9|The ESC key is used to 'toggle' between command and edit modes whenever you want. Pressing ESC will always switch you into the other mode. When in edit mode, you will see that the command mode banner line disappears, leaving only the status lines at the top of the screen and the text (if any) on the remainder of the screen. This is the first of several toggle commands that you will come across during the course of the demonstration.|^Z|757||757||757||757||757||757||766||^K;|13|; This is command mode.|^Z|^Z|764||765|


|^ZTEXT ENTRY AND CORRECTION|515||515||752||759||754||754||752||737||159||156||156||156||156||156||156||156||156||156||156||156||156||156||156||156||156||156||156||156||156||156||156||156||156||156||156||156||151||754||753||149||754||753||158||754||754||156||754||754||156||754||754||156||754||754||156||754||754||156||754||754||156||754||754||156||754||754||156||754||754||156||754||754||156||754||754||156||754||754||156||754||754||156||754||754||156||754||754||156||754||754||156||754||754||156||754||754||156||754||754||156||754||754||156||754||754||156||754||754||156||754||754||156||754||754||156||754||754||156||754||754||156||754||754||156||754||754||152||754||752||149||737||541|

|^Z|9|In this part of the demonstration we shall show you some of the different methods by which text can be entered, corrected and moved around. 

|^Z|9|PROTEXT has two methods of entering text. These are 'Insert' and 'Overwrite' modes. By default, when you enter PROTEXT edit mode, you will be in insert mode. This means that when you type in any letters or numbers, the cursor will push any existing text ahead of it, rather than 'rub it out', or overwrite it.

|^Z|9|We shall position the cursor at the start of this paragraph and type in some more text.|^Z|730||759||^ZYou will notice that the remainder of the line, to the right of the cursor, will be pushed further to the right as the new letters are inserted. |^Z|518||541|

|^Z|9|If you look at the top of the screen you will find the message, 'Insert', on the status line. If we now hold down the CTRL key and press the TAB key, the message will change to 'Overwrite'.|^Z|737||^Z We shall now go to the start of the paragraph and type some more text and you will see that this time the new text will replace the existing.|^Z|730||755||^ZThis time the old is overwritten! |^Z|541|

|9|It is still possible to insert extra characters whilst in overwrite mode and this is achieved by pressing CTRL-SPACE, which has the effect of moving the text under and to the right of the cursor across one column, leaving you room to enter the letter you want to add.|^Z|752||759||759||^M|747||^MX|^M|747||^QX|^Z|737||^Z|518||541|

|^Z|9|For now we shall concentrate on entering and removing single letters. Letters are typed in as you see them, using the space bar to insert a space between each word, but you should NOT press RETURN when you get to the end of a line.

|^Z|9|To obtain a capital letter you should hold down one of the SHIFT keys whilst pressing the appropriate letter key. Similarly, to obtain one of the characters marked on the upper part of some of the keys, you should also press SHIFT. If you want to type a considerable number of upper case letters, it is more convenient to press the CAPS LOCK key, which will result in all further letters being treated as upper case letters. CAPS LOCK has the effect of making the letter keys appear in upper case, but has no effect on any of the other keys. Pressing CAPS LOCK a second time will toggle the keys back to lower case.

|^Z|9|Don't worry for now about the occasional spelling mistake as we shall correct them in a minute. When we get to the end of a line we don't press RETURN, as we would with a typewriter, but simply keep on typing and you will notice that if we are in the middle of a word when we get to the end of a line, PROTEXT will automatically move the part complete word to the start of the next line and continue. This process of not splitting words is called 'word wrap' and is another feature of a good word processor. 

|^Z|9|If you look at the top of the screen again, you will see the message 'Wd-Wrap' on the status line. We will now press CTRL-W and the message on the status line will change to 'W-W Off'.|^Z|535||^Z We shall type in some more words to show what happens. This time the cursor keeps moving across the screen, completely ignoring the right hand margin and carries on until the screen scrolls. We shall now press CTRL-W again to switch Word wrap back on.|^Z|518||535|

|9|You would not normally use this method of entering text, though it can be useful on occasions. 

|^Z|9|The only time that you need to press the RETURN key is when you reach the end of a paragraph. Pressing RETURN has the effect of ending the paragraph and moving the cursor down to the next line. If you are in insert mode, which is normal, a new line will be inserted into the document and the cursor will move onto it. If you are in overwrite mode however, the cursor will move down to the next line, but no new line will be inserted.

|^Z|9|If any typing mastikes were made whilst entering the text, it would be a good idea to correct them now. We shall move the cursor back to where the 'mastike' is and position it over the first character to be changed, then press the DEL key. The incorrect letter will disappear and the remainder of the text on that line will move across to fill the space. We shall then type in the correct letter and the text will move back to the right to make room for it.|^K|730||759||759||759||759||755||^F|545||^Fi|755||755||^F|545||^Fa|^F|541|

|^Z|9|If the mistake had been noticed when we were typing it, we could have corrected it at the time, simply by pressing |534||754|DEL, which has the effect of deleting the last character typed. xxx|^Z|639||^G|639||^G|639||^Z

|^Z|9|DEL always deletes the character under the cursor, whilst |534||754|DEL deletes the character to the left of the cursor. In both cases the space is closed up. 

|^Z|9|One very common mistake is to get two letters the wrong way round in a word, such as 'hte' instead of 'the' and PROTEXT has a command to take care of this without the need to delete and replace letters. Position the cursor on the first of the transposed letters and then press CTRL-A.|^Z|752||752||752||759||759||755||^K|513||^Z|541| It will work equally well with a space and a letter, such as 'whol e', which is another common typing error.|^Z|758||758||758||758||758||758||758||758||758||754||^Z|513||^K|541|

|^Z|9|Sometimes you will find that you want to delete more than an odd letter  and PROTEXT provides a number of commands which permit you to delete part words, words, lines and whole blocks of text.

|^Z|9|SHIFT-DEL and SHIFT-|534||754|DEL let you delete a word or part of a word. We shall position the cursor on the first letter of a word and then press SHIFT-DEL and you will see that the complete word disappears.|^Z|758||758||758||758||^K|741||^K|541||^Z Similarly if we position the cursor on the first space after a word and press SHIFT-|534||754|DEL, the previous word will disappear.|^Z|758||758||758||754||^K|723||^K|541||^Z In both cases the gap has been closed up by the remaining text moving across to the left to fill the space. To delete the last part of a word, position the cursor on the first letter to be deleted and use SHIFT-DEL.|^Z|758||758||758||758||758||758||758||755||755||755||755||^K|741| |^K|541||^Z To delete the first part of a word, position the cursor on the first letter you want to remain and press SHIFT-|534||754|DEL.|^Z|758||758||758||758||758||755||755||755||^K|723||^K|541||^Z

|^Z|9|As you have probably noticed by now, PROTEXT follows a general principle (though for practical reasons this is not 100% true) that using a command on its own, such as the cursor keys and the DEL keys has a small effect on what happens, whilst using it with SHIFT has a slightly greater effect and using it with the CTRL key has a more severe effect, so it will probably come as no surprise to find that PROTEXT has commands which will also delete part or all of a line.

|^Z|9|CTRL-E and CTRL-|534||754|DEL have the effect of deleting the text from the cursor to the end or the start of the line respectively. We shall demonstrate it on a line or two of the above paragraph, to show the effect.|^K|752||752||752||752||752||752||752||755||^K|517||^K|753||759||^K|724||^K|541|

|^Z|9|This is a good time to introduce another command, which really belongs in the demonstration on formatting text, but as we have disrupted the appearance of the text, we shall explain it now. Pressing CTRL-F will reformat a paragraph from the cursor position to the end of a paragraph. Positioning the cursor at the start of a paragraph and pressing CTRL-F will reformat the whole paragraph. We shall now move the cursor to the start of the previous paragraph and reformat it.|^K|730||730||730||^K|518||^K|541||^Z

|^Z|9|If we delete all the text from a line, either by pressing one key after the other, or because there wasn't any more text on the line, it does not delete the line from the document, merely the text from the line.|^Z|752||^K|517||^K|724||^K|541| If we want to actually remove a line from the document, whether it be an empty one, or one containing text, CTRL-f3 is the command to use. This will remove the complete line from the document and cause the remainder of the text to move up a line to fill the space.|^K|752||752||^K|742||^K|541|

|^Z|9|Some of the above commands are fairly severe in their effect on the text, so PROTEXT provides a command which can help to undo any mistakes you may have made. CTRL-U is the 'undelete' command and has the effect of restoring the piece of text deleted by the last use of any of the delete commands. Note that it can only restore the last bit of text deleted and that any subsequent use of the DEL keys will cause previously deleted text to be forgotten.|^K|730||752||752||752||^K|533||^K|541|

|^Z|9|So far you have learnt several ways to delete text from lines and even to delete whole lines, so perhaps this is a good time to learn how to insert new lines into the text. If you just want to insert an empty line at the end of a paragraph, then all that is required is to press the RETURN key a second time.|^Z|13||^D|13||^D|13||^D|13||^Z|9|As many lines as wanted can be inserted in this way, when in insert mode. If in overwrite mode however, pressing RETURN will only make the cursor move down a line.

|^Z|9|PROTEXT provides a command, CTRL-I, which moves all the text, from the line that the cursor is on, down a line and inserts a blank line into the text where the cursor is.|^Z|752||^K|521||^Z|541|

|^Z|9|One thing which you will quite frequently want to do is split lines into two and join two lines together. There are two different ways to do this, depending on whether you are in insert or overwrite mode. 

|^Z|9|If insert mode is in use, which it will normally be, positioning the cursor where the line is to be split and pressing RETURN results in the cursor and the remainder of the text being moved down onto a new line beneath. We shall split this paragraph at the last sentence.|^K|758||758||758||758||758||758||758||758||758||758||^Z|13||^K|541| If you want to join two consecutive lines together, you can do this easily, either by moving the cursor to the end of the first line and pressing DEL,|^K|730||758||^Z|545||^Z|13||541| or by moving the cursor to the start of the second line and pressing |534||754|DEL.|^K|730||^Z|639||^K|518|

|^Z|9|If overwrite is in operation, pressing RETURN does not split the line, but merely moves the cursor down to the start of the next line, so two commands are provided to enable lines to be split and joined. CTRL-* will split a line at the cursor position and CTRL-+ will join lines together. Any leading spaces that would have appeared at the start of the new line will be discarded.

|^Z|9|Finally there are a couple of commands which are for the purpose of changing the case of letters. If you press CTRL-/ when the cursor is over a lower case letter it will change into an upper case letter. Keeping the keys pressed results in the cursor moving along the line of text changing any lower case letters into upper case.|^Z|758||758||758||^Z|743||743||743||743||743||743||743||743||743||743||743||743||743||743||743||743||13||^Z You do not need to worry about numbers and punctuation marks etc., as these are just passed over. The reverse of this command is CTRL-\ which turns all upper case letters into LOWER CASE.|^Z|758||758||758||540||540||540||540||540||540||540||540||540||540||540||^Z Both of these commands can prove to be very useful if, after creating a piece of text, you decide that certain parts, perhaps a heading, should be in upper case or vice versa. 

|^Z|9|So far, most of the frequently used editing commands have been covered, though there are a number of others which are detailed in the manual. One form of editing which hasn't been covered at all yet is the subject of moving, copying and deleting blocks of text. This is such a powerful and versatile feature of PROTEXT that it has a section all to itself.

|^Z|^Z|^Z|766|EXEC ROLLBLOK
