home *** CD-ROM | disk | FTP | other *** search
/ Piper's Pit BBS/FTP: ibm 0010 - 0019 / ibm0010-0019 / ibm0010.tar / ibm0010 / CDOS10BT.ZIP / CDOS10BT.TD0 / LSN.EDX < prev    next >
Encoding:
Text File  |  1989-01-26  |  13.5 KB  |  309 lines

  1. Welcome to DREDIX!  We'll be explaining how to use DREDIX in a series of short,
  2. simple lessons.
  3.  
  4. Each lesson will appear here, at the top of the screen. You'll be able to try
  5. out what you learn at the bottom, where the cursor is.
  6.  
  7. When you're finished with a lesson and ready to go forward, hold down the Ctrl
  8. key and press f. If you want to go back to an earlier lesson, press Ctrl-b.
  9.  
  10. Now, press Ctrl-f and the lessons will begin ...
  11. @
  12. ENTERING TEXT
  13.  
  14. Type something on the alphanumeric keyboard.  Did you notice how each letter
  15. was entered onto the screen where the cursor was, and then the cursor moved to
  16. the right?  This is the basic way you enter text using DREDIX.
  17.  
  18. Now try using the RETURN key.  Notice how it ended the line and moved the
  19. cursor to the start of the next line? Try entering some more text, and when
  20. you're ready to go on, press Ctrl-f. If you want to go back to the previous
  21. lesson, press Ctrl-b.
  22. @
  23. MOVING THE CURSOR UP, DOWN, LEFT AND RIGHT
  24.  
  25. To move the cursor around, you use the arrow keys at the right of your keyboard.
  26. Press the up arrow to move up, the down arrow to move down, the left arrow to
  27. move left and the right arrow to move right. Try it. Did you notice that
  28. sometimes pressing an arrow key didn't do anything?  If there's no place to go
  29. (for example, UP when you're already at the top), then that's where the arrow
  30. key takes you: no place.
  31.  
  32. Press Ctrl-f to go on, and Ctrl-b to go back.
  33. @
  34. INSERTING TEXT
  35.  
  36. If you move the cursor to somewhere WITHIN a line of text and then type, the
  37. new text will be inserted where the cursor is.  Since the old text has to go
  38. somewhere, DREDIX pushes it to the right.  Give it a try.
  39.  
  40. Try this too: Move the cursor to the middle of a line and press RETURN.  The
  41. line is split!  You can think of this as inserting a "RETURN" into a line.
  42.  
  43. Press Ctrl-f to go on, and Ctrl-b to go back.
  44. @
  45. DELETING TEXT
  46.  
  47. One more lesson, and you'll know all you need to start typing a manuscript or a
  48. program.  What if you want to erase something you've typed?  If you notice a
  49. mistake right away, you can just backspace over it with the backspace key.
  50.  
  51. Or, you can just move the cursor under the character you want to delete, and
  52. press the key marked Del.  Try it out.
  53.  
  54. So now you can enter, insert and delete text!  Press Ctrl-f to go on ...
  55. @
  56. JOINING LINES
  57.  
  58. Remember how you could insert a RETURN as though it were an ordinary character?
  59. You can delete a RETURN, too!  Try moving the cursor to the far right of a line
  60. (not the last line, though), and pressing Del.  Two lines are joined into one!
  61.  
  62. So inserting RETURN splits lines, and deleting RETURN joins lines!
  63.  
  64. There's lots more to come, so press Ctrl-f and we'll continue...
  65. @
  66. GETTING HELP
  67.  
  68. One of the most useful commands is the HELP command.  You can issue this
  69. command at any time to get some help from DREDIX about what to do in whatever
  70. situation you`re in.  Try it: hold down Alt and then press h. Are you back?
  71. Do it again, if you want.
  72.  
  73. Commands like "hold down Alt and then press h" will be abbreviated "Alt-h" in
  74. these lessons, on the help screens and in the DREDIX User's Manual. Now press
  75. Ctrl-f ...
  76. @
  77. EDITING FILES
  78.  
  79. Tired of typing?  Want to get a lot of text in a hurry?  The EDIT command tells
  80. DREDIX to read in a file of text (or a program, or some data, or whatever). To
  81. issue this command, press Alt-e. (Remember: hold down Alt and then press e.)
  82. Answer "y" (followed by RETURN) if you get an "OK to lose changes" question.
  83.  
  84. DREDIX has displayed the prompt "File:" and placed the cursor after it. It wants
  85. you to type a file name.  Type the name "text". (Don't forget RETURN.) You
  86. should have a window-full! Press Ctrl-f to do some things with this text ...
  87. @
  88. SCROLLING
  89.  
  90. Now, there's more text in the file "text" than DREDIX is showing (you probably
  91. suspected as much).  Move the cursor with the down arrow. Notice what happens
  92. when you reach the last visible line?  DREDIX scrolls the text automatically!
  93.  
  94. Now go back with the up arrow.  DREDIX scrolls it back up.  In fact, you're free
  95. to move the cursor through the text any way you want, and DREDIX will move the
  96. window to keep up.  Practice a while if you like (go ahead and change the text
  97. if you want to--you can't hurt anything).  Then it's Ctrl-f and more ...
  98. @
  99. SCROLLING SIDEWAYS
  100.  
  101. DREDIX not only can scroll up and down, but it can scroll sideways, too! To see
  102. this, you'll have to help out by editing the file "text" a little, but you've
  103. already learned all you need.  First, join two lines together by moving the
  104. cursor to the end of a line and pressing Del.  You've probably made the line
  105. too long to fit on the screen (more than 80 chracters).  Move the cursor to the
  106. right (as though you were moving it off the screen).  The window moves with it!
  107.  
  108. You might want to play around with this a while. It's fun! And then Ctrl-f ...
  109. @
  110. THE SCREEN
  111.  
  112. It's time we explained a few things about the screen.  As you can see, it's
  113. divided into two windows.  You've been working in the lower window, and we've
  114. been displaying lessons in the upper window.
  115.  
  116. At the lower right DREDIX tells you what file you're editing, the column you're
  117. in, the line you're on and the total number of lines. It also tells you what
  118. "buffer" you're in (B2), but we won't worry about buffers right now. Messages
  119. show up at bottom-left, and prompts above messages.  Now, Ctrl-f ...
  120. @
  121. JUMPING AROUND
  122.  
  123. Moving the cursor up and down a line at a time can get pretty tedious if you
  124. have a large file.  Here's how to move around in a hurry: the Home key moves the
  125. cursor to the very first character in the file, and End moves it to the very
  126. last character.  Try it (you should still have "text" in your window).
  127.  
  128. PgUp moves the window a bunch of lines up, and PgDn moves it a bunch of
  129. lines down.  How much is a bunch?  It's however big the window is: 10 lines
  130. right now.  Of course, if there's nowhere to go, you go nowhere.  Ctrl-f ...
  131. @
  132. DELETING LINES
  133.  
  134. If you want to delete a whole line, you could delete a character at a time. But
  135. there's an easier way: use Alt-d.
  136.  
  137. If you delete a line by mistake you can "undo" the damage with Alt-u.  You
  138. can think of Alt-d and Alt-u as opposites.  Try to undo the deletions you
  139. just made.  Then delete them again, and undo them again, and ...
  140.  
  141. Enough of this game ... onward with Ctrl-f ...
  142. @
  143. WINDOWS
  144.  
  145. DREDIX actually has two windows, numbered 1 and 2.  We've been in window 1,
  146. and you've been in window 2. You have to stay in window 2 while you're taking
  147. these lessons, but when you use DREDIX for real, you can edit in a full-screen
  148. window (window 1) or in split-screen windows (1 and 2).
  149.  
  150. You'll use the F2 key to go to window 2, the F1 key to go back to window 1,
  151. and Alt-o to restore the screen to one window. A full explanation is in
  152. the DREDIX User's Manual.  Press Ctrl-f to go on ...
  153. @
  154. SEARCHING
  155.  
  156. Scanning the whole file to find the text you're looking for is OK, but there's
  157. a nice of way of getting DREDIX to do the hunting for you.  You type a pattern,
  158. and DREDIX finds the text that matches it.  Here's how it goes: press Alt-s,
  159. and DREDIX will prompt you for a pattern.  Try it!  Now, type the pattern.  How
  160. about the letter "e" for starters?  (Don't forget RETURN.)
  161.  
  162. DREDIX has moved the cursor to the first "e" it found.  You can edit there just
  163. as if you had moved the cursor yourself.  Ctrl-f for more ...
  164. @
  165. MORE ON SEARCHING
  166.  
  167. Frequently, when DREDIX finds something that matches your pattern, it's found
  168. the wrong match.  Maybe it wasn't the first one you wanted, but the next one?
  169.  
  170. You can tell DREDIX to look further along without retyping the pattern.  Just
  171. press Alt-F10, and DREDIX will find the next match.  Go ahead, try it.
  172.  
  173. Try more patterns (they're not limited to single letters, of course). There's
  174. more to patterns than we can go into here, so on to translating (Ctrl-f) ...
  175. @
  176. TRANSLATING
  177.  
  178. Automatic translation is one of DREDIXs most powerful features.  For this you
  179. use Alt-t.  DREDIX will prompt for a pattern and then for a "replacement".
  180. Whatever the pattern matches will be replaced by the text you supply.
  181.  
  182. Do this: press Alt-t.  Then type the pattern "girl" (without the quotes),
  183. and after RETURN, the replacement "young woman", followed by RETURN. DREDIX will
  184. stop the cursor at "girl" and display a message.  To decrypt it, press Alt-h
  185. to get help (we thought you'd like to use help for once).  Then Ctrl-f ...
  186. @
  187. MORE ON TRANSLATING
  188.  
  189. You can make the replacement string empty, and thereby just delete whatever the
  190. pattern matched.  You supply an empty replacement string just by responding to
  191. the "Replacement:" prompt with an immediate RETURN.
  192.  
  193. There's too much more on translating for us to go into it all now.  So we'll
  194. move on.  If you'll press Ctrl-f ...
  195. @
  196. SAVING YOUR CHANGES
  197.  
  198. When you're finished making your changes, press Alt-w to rewrite the file
  199. you're editing with the version you've created inside DREDIX. Until you press
  200. Alt-w, your changes aren't saved.
  201.  
  202. Since a power failure or other glitch can terminate your editing session at any
  203. time, it's a good idea to write your changes with Alt-w every few minutes,
  204. even if you're not finished editing. That way you stand to lose only your most
  205. recent changes if things go wrong. Press Ctrl-f ...
  206. @
  207. QUITTING
  208.  
  209. Feel like quitting?  Well, even if you don't, you might want to later, so
  210. here's how: press Alt-x (the same keystroke that escapes from Alt-t).
  211.  
  212. If you try to quit without writing your changes (Alt-w), DREDIX will ask you
  213. if it's OK to lose your changes. If you answer "y", you'll quit anyway. If you
  214. answer "n", DREDIX won't quit and you'll get a chance to save your work first.
  215. This is a nice safety feature! If you don't want to quit, school's still in
  216. session, so press Ctrl-f ...
  217. @
  218. GOING PLACES
  219.  
  220. Would you like to go directly to a line by specifying a line number?  Try
  221. Alt-g. It'll prompt you for a line number, and if you supply one the cursor
  222. will go there right away.  It's a little like searching, but via a line number
  223. instead of a pattern.  Useful if your compiler just gave you an error message
  224. and you want to see what the line in question looks like.
  225.  
  226. Now, we'll move on to moving, with a gentle press of Ctrl-f ...
  227. @
  228. MARKING LINES TO BE MOVED
  229.  
  230. Moving lines from one place to another is a three-step procedure:
  231. 1. You mark the line or lines you want to move (with Alt-k).
  232. 2. You place the cursor anywhere on the line where you want the marked lines to
  233.    be moved to.  You can do this with the arrow keys, with searching (Alt-s)
  234.    or with the go command (Alt-g).
  235. 3. You press Alt-m, and DREDIX moves the text you've marked.
  236.  
  237. Press Ctrl-f and we'll go through it step-by-step ...
  238. @
  239. MARKING
  240.  
  241. Do this: put the cursor someplace, and press Alt-k.  Notice that DREDIX tells
  242. you that it's waiting for the second mark.
  243.  
  244. Then place the cursor a few lines away, and press Alt-k.  DREDIX will highlight
  245. the lines you've marked with a reverse-video bar in column 1.
  246.  
  247. After you've marked things, press Ctrl-f and we'll move them someplace ...
  248. @
  249. MOVING
  250.  
  251. Now that some lines are marked, place the cursor somewhere else (above or below
  252. the marked lines), and press Alt-m. DREDIX will move the lines.
  253.  
  254. They're still highlighted, though, so you can easily see what DREDIX has done.
  255. To turn off the highlighting (and cancel the marks), just press Alt-k again.
  256.  
  257. Notice that DREDIX moved the lines to FOLLOW the target line.  (A useful fact to
  258. keep in mind.)  Copying lines is just as easy.  Press Ctrl-f and you'll see ...
  259. @
  260. COPYING
  261.  
  262. Copying is exactly like moving, except that the lines you've marked aren't
  263. disturbed in any way: they're still marked, and still highlighted.  But a group
  264. of lines just like them will be appended after the cursor. Follow the steps we
  265. did for moving (use Alt-k to mark, and then position the cursor to where you
  266. want the copy).  Then press Alt-c.  Presto, a copy.
  267.  
  268. You can move and copy BETWEEN windows, too. Just place the cursor in another
  269. window before pressing Alt-m or Alt-c (try this later). And now, for Ctrl-f ...
  270. @
  271. DELETING A GROUP OF LINES
  272.  
  273. There's another useful thing you can do to a group of marked lines besides move
  274. them or copy them: you can delete them.  The marking part is just like it is
  275. for moving and copying.  To delete the lines, you press Ctrl-d (instead of
  276. Alt-m or Alt-c).
  277.  
  278. If you've deleted the marked lines by mistake, you can use Alt-u (undo) to
  279. get them back--one line at a time.  Try Ctrl-d for yourself, and then press
  280. Ctrl-f to move on...
  281. @
  282. CONGRATULATIONS!!!
  283.  
  284. If you've gotten this far, you've passed the course.  Not that there isn't more
  285. to learn, though. After you've used DREDIX for a while, you'll want to read the
  286. User's Manual thoroughly so that you can use DREDIX to its fullest.
  287.  
  288. Press Ctrl-f for a list of some more handy DREDIX features that you can learn
  289. about from the manual.
  290. @
  291. ADDITIONAL DREDIX FEATURES
  292.  
  293. * Using multiple buffers        * Appending/inserting blank lines
  294. * Jumping to start/end of lines        * Status of files/buffers/windows
  295. * Merging files                * Fancy, "wild-card" patterns
  296. * Additional cursor motions        * Moving right and left by words        
  297. * Overtype mode                * Using multiple windows
  298. @
  299.                                     THE END
  300.            Press Ctrl-f to start the course over, or Alt-x to exit.
  301.  
  302.  
  303.                      Emerging Technology Consultants, Inc.
  304.                                  1877 Broadway
  305.                                Boulder, CO 80302
  306.                                  303-447-9495
  307.  
  308.  Tutorial and program (C)Copyright 1984 Emerging Technology Consultants, Inc.
  309.