home *** CD-ROM | disk | FTP | other *** search
/ Amiga Computing 56 / ac056a.adf / Beginners.doc < prev    next >
Encoding:
Text File  |  1978-01-11  |  13.9 KB  |  48 lines

  1. õCreating your first documentõ
  2.  
  3.     Once Protext has loaded you are presented with the normal editing
  4. screen, containing no text. You may find a horizontal line containing
  5. the Protext copyright message and version number about two thirds of
  6. the way down the screen. This shows that you are in Protext's command
  7. mode which need not be used when menus are being used. If this line is
  8. visible press Esc to remove it.
  9.     At the top of the screen you will see the two Status lines and
  10. beneath them, the ruler line. The status lines contain details of the
  11. document being edited and also of the settings for various Protext
  12. features. The ruler line always displays the ruler which is currently
  13. in use in the document. You should see a flashing cursor on the left
  14. of the line beneath the ruler line. This is the editing cursor and
  15. always indicates where the next character will be entered, or where
  16. the next action will take place.
  17.     Depress and hold down the right mouse button and the Menu Bar
  18. will appear at the top of the screen in place of the top status line.
  19. Move the mouse pointer up to the menu bar and you will find that a
  20. menu drops down as soon as the pointer highlights one of the menu
  21. options. Move the pointer to right and left and you will find that
  22. different menu boxes appear for each of the available options.
  23.     Now you have seen what the menus look like we can get down to
  24. creating a document. Unlike some programs, Protext does not require
  25. you to name a document before you can start entering text, so you can
  26. start immediately.
  27.     Just type in some text and you will see it start to appear in the
  28. editing part of the screen at the cursor position. When you wish to
  29. start a new paragraph you should press the Return key twice. The first
  30. press tells Protext that it is the end of the paragraph and the second
  31. one puts a blank line between paragraphs.
  32.     You can move around the text by using the cursor keys to go up,
  33. down, left or right a character at a time, or by holding down the
  34. Shift key and using the left and right cursor keys you can move
  35. through the text a word at a time.
  36.     The Del key can  be used to delete any character which is under
  37. the cursor in addition to using the Backspace key to delete the
  38. character to the left of the cursor, as already described.
  39.     In addition to deleting single characters, parts of a word, or
  40. complete words may also be deleted by holding down Shift and pressing
  41. Del to delete from the current cursor position to the end of the word
  42. on which the cursor is placed, or Shift and Backspace to delete from
  43. the character before the cursor to the start of the word. Experiment
  44. with these to see the effects.
  45.     You are now going to add a new sentence at the start of the
  46. current paragraph, so move the mouse pointer over the first character
  47. at the start of the paragraph and click the left mouse button to move
  48. the cursor to the start of the paragraph.
  49.     Alternatively, you could have used one of the menu options. To
  50. see this in action we shall use another of Protext's features to
  51. restore the cursor to its previous position. Click on the right mouse
  52. button and select the Move menu. Move the pointer down to the Last
  53. position option and select it. The cursor will be restored to its
  54. former position. This is a very useful option when you find you have
  55. accidentally moved somewhere you didn't intend to!
  56.     Now you can select the Move menu again, but this time click on
  57. the previous paragraph option and the cursor will be once again be
  58. positioned at the start of the paragraph. This is one of many examples
  59. you will find where Protext provides more than one way to perform a
  60. task. You could also have made use of Protext's special keystrokes,
  61. but we shan't concern ourselves with these in this tutorial. If you
  62. want to try them, the appropriate keystrokes are shown to the right of
  63. the options in the menus and are fully described in the main manual
  64. (see our upgrade options for details).
  65.     Type in a further sentence or two at the start of the paragraph
  66. and you will see that the existing text moves over to the right
  67. automatically to make room for the new text. This is called insert
  68. mode but Protext also has an overwrite mode.
  69.     Display the menu bar and open the Option menu. You will see that
  70. this menu is similar to the other menus we have used except that some
  71. of the options have a tick against them on the left hand side. These
  72. options determine the default way in which Protext works and their
  73. settings remain in force until such time as you toggle them again.
  74.     Select the Overwrite mode option and a tick will appear on the
  75. left. Close the menu, by clicking the left button with the pointer
  76. outside the menu and then try typing a further sentence. This time,
  77. you will find that instead of moving the existing text to the right to
  78. make room, the new text overwrites what was already there. 
  79.     Most people choose to work in insert mode for most of the time,
  80. but it can be useful to be able to overwrite things rather than delete
  81. and replace them sometimes. Select the Option menu once more and
  82. toggle off the Overwrite mode option.
  83.     Now move the cursor back down to the end of the document with the
  84. mouse and press Return a number of times until the text at the top of
  85. the screen starts to scroll out of sight, then type in a few more
  86. words.
  87.     We shall now go to the start of the document and insert a new
  88. paragraph. As the top of the document has scrolled off the top of the
  89. screen we can no longer just move the cursor to where we want.
  90. Instead, we can either use a menu option, or scroll the screen with
  91. the mouse until we can see the start. If you want to use the menus,
  92. you can select the Move menu and the To start of text option, but for
  93. now we shall use the mouse.
  94.     Position the pointer on the lower status line (the second line
  95. down from the top of the screen) and click the left button. Each time
  96. you click on this line the screen will scroll a screen page towards
  97. the start of the document, until the start is on the top line. You can
  98. then position the cursor at the start of the line by moving the
  99. pointer to the position and clicking.
  100.     We now need to insert a blank line at the top of the document
  101. into which to start typing the new paragraph. Select the Line menu and
  102. the Insert line option. A new line will be inserted above the line on
  103. which the cursor is positioned. Now type in some more text. When you
  104. have finished, press Return twice to end the paragraph and insert the
  105. blank line between paragraphs.
  106.     Having learned how to insert new lines, we shall now learn how to
  107. delete them. Position the cursor on the top line of the document. It
  108. doesn't matter where on the line the cursor is placed as we shall be
  109. deleting complete lines. Select the Line menu and the Delete line
  110. option. The line on which the cursor was placed will disappear and the
  111. lines beneath will move up to fill the gap.
  112.     Protext also has an Undelete feature which is capable of
  113. restoring the last block of text deleted. As far as Undelete is
  114. concerned, a block is any section of text over three characters long
  115. removed in one go. This includes lines as well as marked blocks of
  116. text (described later in the manual). To see this is action, position
  117. the cursor at the start 
  118.     A useful tip is that the same block may be undeleted more than
  119. once. This can be put to good use when you have a number of lines
  120. which are similar which you want to enter. Just enter the line once,
  121. delete it, then undelete it as many times as you want. You can then go
  122. back and make any minor changes required to the other lines.
  123.     We shall now go to the end of the document, either by selecting
  124. the end of text option from the Move menu, or by scrolling the text
  125. with the mouse. To scroll to the end, move the pointer down to the
  126. bottom line of the screen and click the left button repeatedly until
  127. the end is visible, then position the cursor by pointing and clicking.
  128.     It would be a good idea to save the document at this point, as it
  129. is always good policy to regularly save your work. Select the File
  130. menu and the Save as ... option. Note that the option is followed by
  131. three dots  '...', as also are some other options in menus. This is an
  132. indication that the option leads to a dialogue box. When the option is
  133. selected, the dialogue box will appear, containing the message SAVE
  134. filename:. 
  135.     This is the first example of a dialogue box that we have
  136. encountered. Protext has a number of dialogue boxes for different
  137. purposes and we shall come across further examples later, but in this
  138. case it is a Text Box. These are used where you are required to type
  139. in text, rather than just select something and always contain text
  140. describing what is required. Key in FIRSTONE as the name and press the
  141. Return key to confirm the entry. That's it. Your document is safely
  142. saved to disk.
  143.     As you will have noticed, the Move and Line menus provide a
  144. number of other options in addition to those we have already used. The
  145. Move menu allows you to move the cursor to the start or end of a
  146. sentence, or line, to the previous or next paragraph, or page as well
  147. as the start and end of a document. The Line menu allows you to not
  148. only insert and delete lines, but also to delete parts of a line or
  149. sentence, from the current cursor position.
  150.     As these options function in the same  way  as those which you
  151. have already used, we suggest that you experiment with  them  now, to
  152. see the results, using the document you have already created.
  153.  
  154. õUsing the File Selectorõ
  155.  
  156.     The file selector is automatically displayed whenever you select
  157. a menu option to load or merge a file and in other situations where a
  158. file is to be loaded, such as a different configuration file. The file
  159. selector may also be called from the File menu by selecting the
  160. Catalogue files ... option.
  161.     Protext's file selector allows you to carry out various disk
  162. 'housekeeping' tasks, such as copying, renaming, deleting  files and
  163. creating new directories in addition to loading files. Other
  164. housekeeping tasks not available in the file selector, such as
  165. formatting disks, deleting directories and so on, may be carried out
  166. from Protext's command line.
  167.     Select the Load file ... option from the Files menu and all the
  168. screen, apart from the status lines, will be replaced by a large file
  169. selector with a menu of options at the bottom. Depending on how many
  170. files there are in the current directory, one or more columns of
  171. filenames and directory names will be displayed. Directories are
  172. listed first, followed by the files in alphabetical order.
  173.     Directories are always indicated by a <DIR> entry to the right of
  174. the name, whereas files have their size shown. When the current
  175. directory is not the root directory, a special entry called  <PARENT>
  176. <DIR> is displayed at the start. This may be used to select the parent
  177. of the current directory.
  178.     The available options are displayed in a two line menu at the
  179. bottom of the window and may be selected either by pressing the key
  180. indicated in square brackets, or by double clicking inside the square
  181. brackets.
  182.     To load a file, select the required file by pointing with the
  183. mouse and double clicking on the entry, or highlight the entry with a
  184. single click and then double click on the [Return] menu option. This
  185. same procedure is used when the Merge file ... option is selected, but
  186. when you click on the required file, it will be merged into the
  187. document at the current cursor location. Select and load a document
  188. now, then move the cursor to a suitable place in the document and use
  189. the Merge file ... option to merge a selected file into the existing
  190. document.
  191.     If the current drive/directory is not the one containing the
  192. file(s) you want to load or work on, you will need to change to it. To
  193. change drives, you must select the [D]rive change option, either by
  194. double clicking on the D, or by pressing the D key. 
  195.     A dialogue box will open with the prompt Enter path: and you
  196. should type in the name of the directory you want. The file window
  197. will clear and be replaced by the contents of the new drive and the
  198. heading at the top of the window will change to show the new drive and
  199. directory.
  200.     Move the mouse pointer to a directory entry and click on it to
  201. highlight it. The directory may then be selected as the current
  202. directory by pressing Return or double clicking on the entry in the
  203. menu. The list of files will change to show the files available in the
  204. directory.
  205.     If there are only a small number of files in the directory, it is
  206. easy to find the file you require, but if there are a large number of
  207. files it is often more convenient to see only a range of the files.
  208. This can be done by changing the file specification.
  209.     Double click on the F inside the square brackets to select the
  210. [F]ile specification option and edit the existing entry, using
  211. wildcards and characters, to something which will match only some of
  212. the files. The list of files will change, showing only those files
  213. which match the file specification. To show all files again, double
  214. click on the [A] Show all option.
  215.     Several options are provided to enable you to rename, copy or
  216. delete files. Select [C]opy file(s) and a dialogue box will request
  217. COPY from (filename):. this is a request for the name of the file, or
  218. files, you wish to copy. The file(s) do not need to be in the current
  219. directory, which is why it does not automatically use a highlighted
  220. filename.
  221.     Copy will also allow you to copy a number of files at the same
  222. time by specifying wildcards. Once you have entered the name of the
  223. file(s) you want to copy and confirmed the entry, a second dialogue
  224. box will request COPY to (file or path):. If you have specified a
  225. single file name you may specify a different filename for the
  226. destination, but if you have specified wildcards, you must specify a
  227. destination directory. 
  228.     If you leave this dialogue entry blank Protext will copy the
  229. specified file to the current directory with the same name.
  230.     The final menu option in the file selector is the [N]ew dir.
  231. option and allows you to create a new directory as a sub-directory of
  232. the currently selected directory. Select this option now and a
  233. dialogue box will open, requesting MKDIR directory name:. Key in the
  234. name you require and press Return.
  235.