home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS 1992 June / SIMTEL_0692.cdr / msdos / editor / ws_train.arc / ANS.HDT next >
Encoding:
Text File  |  1984-06-08  |  9.8 KB  |  254 lines

  1. .MB2
  2. .MT2
  3. .OP
  4. Exercise 1
  5.  
  6. 1«  "PgUpó anΣ "PgDnó causσ thσ tex⌠ t∩ scrol∞ b∙ almos⌠ onσ ì
  7. screeε ful∞ (1╖ lines)«  WoulΣ yo⌡ prefe≥ tha⌠ i⌠ werσ ß ful∞ ì
  8. screen?
  9.  
  10. 2«  Thσ screeε scroll≤ onσ linσ a⌠ ß timσ fo≥ a≤ lonτ a≤ yo⌡ kee≡ ì
  11. pressinτ them.
  12.  
  13. 3«  I⌠ jump≤ straigh⌠ t∩ thσ firs⌠ lette≥ oε thσ nex⌠ line«  I⌠ ì
  14. doe≤ no⌠ movσ througΦ thσ "blankó space≤ t∩ thσ righ⌠ oµ thσ las⌠ ì
  15. worΣ oε thσ line.
  16.  
  17. 4«  I⌠ jump≤ t∩ thσ las⌠ characte≥ oε thσ previou≤ line«  Again¼ ì
  18. it skips the empty space at the right of the previous line.
  19.  
  20. 5«  The∙ arσ curso≥ contro∞ key≤ sincσ the∙ movσ thσ curso≥ ì
  21. withiε thσ display¼ bu⌠ d∩ no⌠ causσ thσ displa∙ t∩ move«  "Homeó ì
  22. anΣ "Endó movσ thσ curso≥ t∩ thσ to≡ anΣ nex⌠ t∩ bottoφ line≤ a⌠ ì
  23. thσ lef⌠ margin«  Doe≤ thi≤ seeφ appropriatσ t∩ you?
  24.  
  25. 6«  I⌠ jump≤ t∩ thσ lef⌠ margiε because¼ a≤ wσ sa≈ iε question≤ │ ì
  26. anΣ 4¼ i⌠ i≤ programmeΣ t∩ ski≡ ove≥ empt∙ spaces«  Thi≤ i≤ ß ì
  27. littlσ confusinτ a⌠ first¼ bu⌠ wheε yo⌡ ge⌠ useΣ t∩ it¼ i⌠ wil∞ ì
  28. save time.
  29.  
  30. 7«  Thσ page¼ line¼ anΣ columε number≤ oµ thσ curren⌠ curso≥ ì
  31. positioε arσ alway≤ showε oε thσ to≡ linσ oµ thσ screen.
  32.  
  33. 8.  Ctrl-f moves the cursor one word to the right.
  34.  
  35. 9.  Ctrl-a moves the cursor one word to the left.   
  36.  
  37. 10.  Ctrl-q-π scroll≤ t∩ thσ enΣ oµ thσ entirσ documen⌠ anΣ leave≤ ì
  38. thσ curso≥ oε thσ las⌠ character«  Ctrl-q-≥ scroll≤ t∩ thσ ì
  39. beginninτ oµ thσ documen⌠ anΣ leave≤ thσ curso≥ oε thσ firs⌠ ì
  40. character«  Thσ "qó stand≤ fo≥ "quickó movement.
  41.  
  42. 11«  Iµ yo⌡ pausσ afte≥ thσ "q,ó thσ prograφ display≤ ß hel≡ ì
  43. menu¼ showinτ you≥ choices«  Notσ tha⌠ botΦ ≥ (to≡ file⌐ anΣ π ì
  44. (enΣ file⌐ arσ oε thσ menu.
  45.  
  46. 12«  "NumLockó change≤ thσ curso≥ contro∞ key≤ t∩ numeriπ keys¼ ì
  47. s∩ i⌠ shoulΣ normall∙ bσ ofµ durinτ worΣ processing.
  48.  
  49.  
  50. .PA
  51. è
  52.  
  53.  
  54. Exercise 2
  55.  
  56. 1«  Thσ "Deló ke∙ erase≤ thσ characte≥ jus⌠ beforσ thσ cursor¼ ì
  57. anΣ move≤ thσ curso≥ bacδ onσ space«  I⌠ i≤ ver∙ hand∙ wheε yo⌡ ì
  58. realize tha⌠ yo⌡ jus⌠ madσ ß mistake¼ anΣ neeΣ t∩ correc⌠ thσ ì
  59. last character typed.
  60.  
  61. 2«  Ctrl-τ i≤ simila≥ t∩ "Del,ó bu⌠ i⌠ delete≤ thσ characte≥ ì
  62. immediatel∙ abovσ thσ cursor¼ anΣ move≤ thσ tex⌠ t∩ thσ lef⌠ t∩ ì
  63. fil∞ iε thσ gap.
  64.  
  65. 3«  Ctrl-⌠ delete≤ aε entirσ worΣ froφ thσ curso≥ on«  Wha⌠ ì
  66. happen≤ iµ thσ curso≥ i≤ betweeε word≤ wheε yo⌡ hi⌠ ctrl-t┐  Wha⌠ ì
  67. happen≤ iµ i⌠ i≤ iε thσ middlσ oµ thσ word?
  68.  
  69. 4«  Ctrl-∙ delete≤ thσ entirσ linσ tha⌠ thσ curso≥ i≤ on¼ ì
  70. regardless of where it is in the line.  Be careful with ctrl-y.
  71.  
  72. 5«  Wheε inser⌠ modσ i≤ on¼ olΣ character≤ arσ pusheΣ t∩ thσ ì
  73. righ⌠ t∩ makσ rooφ fo≥ ne≈ ones«  Wheε inser⌠ modσ i≤ off¼ thσ ì
  74. ne≈ character≤ replacσ thσ olΣ ones╗ thσ olΣ one≤ arσ ì
  75. overwritten«  ╔ almos⌠ alway≤ leavσ inser⌠ on«  B∙ thσ way¼ somσ ì
  76. designer≤ finΣ alternatσ mode≤ sucΦ a≤ "insertó anΣ "overwriteó ì
  77. modσ confusing¼ anΣ tr∙ t∩ avoiΣ them«  D∩ yo⌡ agreσ witΦ thosσ ì
  78. advocate≤ oµ "modelessó software?
  79.  
  80. 6«  Thσ "NuφLockó ke∙ als∩ toggle≤ betweeε ß numeriπ anΣ cursor-ì
  81. contro∞ interpretatioε oµ thσ key≤ oε thσ righ⌠ sidσ oµ thσ ì
  82. keyboard.
  83.  
  84. 7«  No«  Thσ reformat-paragrapΦ commanΣ onl∙ work≤ froφ thσ ì
  85. positioε oµ thσ curso≥ t∩ thσ enΣ oµ thσ paragraph«  WitΦ somσ ì
  86. programs¼ paragraph≤ arσ automaticall∙ reformatteΣ wheneve≥ ß ì
  87. change is made, so no reformat-paragraph command is necessary.
  88. .PA
  89. èExercise 3
  90.  
  91. 1«  Wσ useΣ thσ reforma⌠ command¼ Ctrl-b¼ t∩ tid∙ paragraph≤ u≡ afte≥ ì
  92. the∙ haΣ beeε messeΣ u≡ b∙ addinτ anΣ deletinτ text.
  93.  
  94. 2«  I⌠ woulΣ bσ doublσ spaced«  Unti∞ changeΣ agaiε witΦ anothe≥ Ctrl-ì
  95. o-≤ command¼ everythinτ wil∞ bσ doublσ spaced«  Yo⌡ coulΣ havσ figureΣ ì
  96. tha⌠ ou⌠ fo≥ yourselµ b∙ experimentinτ -- jus⌠ typinτ iε ß couplσ oµ ì
  97. line≤ anΣ seeinτ wha⌠ happened.
  98.  
  99. 3«  Turninτ ß doublσ spaceΣ paragrapΦ bacδ int∩ singlσ spaced¼ ì
  100. require≤ tw∩ steps«  Firs⌠ givσ thσ Ctrl-o-≤ command¼ specifyinτ ì
  101. singlσ spacing«  Froφ theε on¼ everythinτ yo⌡ d∩ wil∞ bσ singlσ ì
  102. spaced«  Theε movσ thσ curso≥ bacδ t∩ thσ star⌠ oµ thσ paragrapΦ anΣ ì
  103. reforma⌠ i⌠ witΦ thσ Ctrl-Γ command.
  104.  
  105. 4«  I⌠ woulΣ bσ doublσ spaced«  A≤ yo⌡ wil∞ sooε discover¼ thσ samσ ì
  106. goe≤ fo≥ justifieΣ materia∞ o≥ an∙ othe≥ forma⌠ changes.
  107.  
  108. 5«  Thσ terφ wa≤ "toggle.ó  "Cap≤ Lock,ó "NuφLock,ó anΣ "Insó arσ ì
  109. als∩ command≤ whicΦ togglσ thσ systeφ mode.
  110.  
  111. 6«  Iε al∞ subsequen⌠ typinτ thσ lef⌠ margiε woulΣ bσ a⌠ columε 10¼ a≤ ì
  112. showε iε thσ "ruleró iε thσ seconΣ linσ oµ thσ screen.
  113.  
  114. 7«  Sure¼ jus⌠ hi⌠ Ctrl-o-≥ anΣ specif∙ columε ▒ a≤ thσ lef⌠ margin¼ ì
  115. theε reforma⌠ thσ paragraph.
  116.  
  117. 8«  Thσ curren⌠ positioε oµ thσ cursor¼ whereve≥ yo⌡ happeε t∩ havσ ì
  118. pu⌠ it¼ wil∞ becomσ thσ ne≈ lef⌠ margin«  Thi≤ i≤ hand∙ wheε yo⌡ wan⌠ ì
  119. t∩ makσ ß ne≈ paragrapΦ linσ u≡ witΦ aε olΣ onσ tha⌠ i≤ alread∙ oε thσ ì
  120. screen«  Jus⌠ movσ thσ curso≥ t∩ thσ olΣ margin¼ hi⌠ Ctrl-o-∞ anΣ theε ì
  121. thσ "Escó ke∙ wheε yo⌡ arσ askeΣ fo≥ thσ ne≈ margin.
  122.  
  123. 9«  Sure¼ jus⌠ hi⌠ Ctrl-o-r¼ specif∙ columε 6╡ a≤ thσ ne≈ righ⌠ ì
  124. margin¼ anΣ reforma⌠ thσ paragraph.
  125.  
  126. 10«  N∩ reasoε a⌠ all«  Iε fac⌠ yo⌡ caε d∩ everythinτ wσ havσ seeε a⌠ ì
  127. once«  Iµ yo⌡ wanteΣ t∩ yo⌡ coulΣ forma⌠ you≥ tex⌠ witΦ thσ lef⌠ ì
  128. margiε a⌠ 1░ thσ righ⌠ margiε a⌠ 50¼ witΦ righ⌠ justification¼ anΣ ì
  129. quadruplσ spacing«  It'≤ u≡ t∩ you.
  130.  
  131. 11«  Sincσ thσ screeε i≤ onl∙ 8░ character≤ wide¼ thσ rule≥ i≤ ofµ thσ ì
  132. screeε t∩ thσ righ⌠ (thσ "+ó a⌠ thσ edgσ indicate≤ tha⌠ thσ entirσ ì
  133. rule≥ didn'⌠ fit)¼ bu⌠ thσ righ⌠ margiε reall∙ "isó a⌠ positioε 90.
  134.  
  135. 12«  T∩ seσ thσ missinτ tex⌠ i⌠ i≤ necessar∙ t∩ scrol∞ horizontally«  ì
  136. Yo⌡ caε d∩ thi≤ b∙ jus⌠ tryinτ t∩ movσ thσ curso≥ ofµ thσ righ⌠ edgσ ì
  137. oµ thσ screen«  I⌠ i≤ ß littlσ clumsy¼ bu⌠ thσ entirσ "windowó wil∞ ì
  138. movσ t∩ thσ right¼ allowinτ yo⌡ t∩ seσ thσ res⌠ oµ thσ paragraph.
  139.  
  140. 13«  Tria∞ anΣ erro≥ show≤ tha⌠ 24░ i≤ thσ maximuφ fo≥ thσ righ⌠ ì
  141. margin¼ bu⌠ you≥ printe≥ probabl∙ isn'⌠ tha⌠ wide¼ s∩ thσ practica∞ ì
  142. limi⌠ i≤ lower«  Thσ maximuφ fo≥ thσ lef⌠ margiε i≤ 239.
  143.  
  144. 14«  Thσ quickes⌠ wa∙ t∩ movσ ß linσ bacδ woulΣ bσ t∩ positioε thσ ì
  145. curso≥ a⌠ thσ lef⌠ margiε anΣ givσ ß deletσ worΣ command¼ Ctrl-t«  Yo⌡ ì
  146. coulΣ als∩ movσ i⌠ bacδ onσ spacσ a⌠ ß timσ usinτ thσ De∞ ke∙ o≥ thσ ì
  147. Ctrl-τ command«  Notσ tha⌠ yo⌡ caε "undoó thσ space≤ inserteΣ b∙ thσ ì
  148. "Tabó ke∙ iε thσ samσ way.
  149. .PA
  150. è
  151.  
  152. Exercise 4
  153.  
  154. 1«  Placσ thσ curso≥ wherσ yo⌡ wanteΣ thσ blocδ t∩ begiε anΣ givσ ì
  155. ß ne≈ start-blocδ command¼ Ctrl-k-b«  Thσ shadeΣ areß wil∞ ì
  156. change¼ indicatinτ thσ exten⌠ newl∙ selecteΣ area.
  157.  
  158. 2«  Sincσ thσ blocδ remain≤ selecteΣ afte≥ thσ move¼ al∞ yo⌡ havσ ì
  159. t∩ d∩ i≤ movσ thσ curso≥ t∩ thσ poin⌠ wherσ thσ paragrapΦ wa≤ ì
  160. originall∙ anΣ givσ anothe≥ block-movσ command¼ Ctrl-k-v.
  161.  
  162. 3«  Wheε yo⌡ movσ ß block¼ i⌠ i≤ removeΣ froφ it≤ origina∞ ì
  163. locatioε anΣ placeΣ iε thσ ne≈ destination«  Wheε yo⌡ cop∙ it¼ ß ì
  164. seconΣ cop∙ goe≤ t∩ thσ destination¼ bu⌠ thσ origina∞ i≤ ì
  165. untouched.
  166.  
  167. 4«  Thσ prograφ woulΣ havσ askeΣ yo⌡ whethe≥ yo⌡ reall∙ wanteΣ t∩ ì
  168. savσ thσ blocδ unde≥ tha⌠ name¼ thereb∙ erasinτ thσ olΣ filσ ì
  169. named "TEST."
  170. .pa
  171. è
  172. 
  173.  
  174. Exercise 5
  175.  
  176.  
  177. 1«  Onl∙ thσ worΣ "boldfaceó woulΣ bσ iε boldfacσ type¼ thσ res⌠ ì
  178. would be normal.
  179.  
  180.           This is boldface and the rest is normal.
  181.  
  182. 2«  Thσ firs⌠ linσ woulΣ bσ norma∞ anΣ thσ seconΣ boldface«  ì
  183. Furthermore¼ thσ tw∩ woulΣ linσ u≡ correctly«  Thσ ^┬ oε thσ ì
  184. seconΣ linσ pushe≤ i⌠ ove≥ oε thσ screen¼ bu⌠ i⌠ woulΣ no⌠ d∩ s∩ ì
  185. on the page, since it does not actually print out.
  186.  
  187.           Happy New Year
  188.           Happy New Year
  189.  
  190. 3«  Everythinτ froφ thσ worΣ "Boldfaceó t∩ thσ worΣ "nextó woulΣ ì
  191. bσ boldfacσ sincσ specia∞ effect≤ caε cros≤ lines«  Iε fac⌠ yo⌡ ì
  192. coulΣ underlinσ o≥ boldfacσ you≥ entirσ documen⌠ b∙ turninτ thσ ì
  193. specia∞ effec⌠ oε beforσ thσ firs⌠ worΣ anΣ no⌠ turninτ i⌠ ofµ ì
  194. until after the last.
  195.  
  196.           The boldface characters can run from one line
  197.           to the next without problem.
  198.  
  199. 4«  Thσ number≤ woulΣ bσ lineΣ u≡ properl∙ anΣ thσ las⌠ onσ woulΣ ì
  200. bσ underlined«  Again¼ thσ ^╙ take≤ u≡ spacσ oε thσ screen¼ bu⌠ ì
  201. not on the printed page.
  202.  
  203.           Ice cream      $100.00
  204.           Candy            45.00
  205.           Hot dogs        125.00
  206.      
  207.           Tota∞          $270.00
  208.  
  209. 5«  Jus⌠ movσ thσ curso≥ t∩ thσ ^┬ o≥ thσ ^╙ anΣ deletσ it«  ì
  210. Don'⌠ forge⌠ t∩ deletσ botΦ thσ onσ whicΦ start≤ thσ specia∞ ì
  211. effect and the one that turns it off.
  212.  
  213. 6«  Thσ phrasσ "thi≤ i≤ ver∙ strangeó woulΣ bσ botΦ boldfacσ anΣ ì
  214. underlined.
  215.  
  216.      Thi≤ ma∙ bσ normal¼ bu⌠ thi≤ i≤ ver∙ strange.é          
  217. .pa
  218. è
  219.  
  220. Exercise 6
  221.  
  222. 1«  Thσ documen⌠ i≤ searcheΣ fo≥ thσ firs⌠ occurrencσ oµ thσ ì
  223. worΣ "hoho.ó  Wheε i⌠ wa≤ found¼ thσ curso≥ wa≤ moveΣ ì
  224. immediatel∙ t∩ tha⌠ point.
  225.  
  226. 2«  Thσ searcΦ begaε a⌠ thσ placσ wherσ thσ curso≥ wa≤ wheε thσ ì
  227. Ctrl-q-µ commanΣ wa≤ given.
  228.  
  229. 3«  Thσ firs⌠ occurrencσ oµ "σ só i≤ thσ ga≡ betweeε thσ ì
  230. word≤ "theó anΣ "stringó iε thσ las⌠ sentencσ oµ thσ ì
  231. paragraph.
  232.  
  233. 4«  Yo⌡ woulΣ ge⌠ ß messagσ tellinτ yo⌡ tha⌠ thσ worΣ wa≤ no⌠ ì
  234. founΣ anΣ thσ curso≥ woulΣ bσ lef⌠ a⌠ thσ ver∙ enΣ oµ thσ ì
  235. document«  Yo⌡ woulΣ als∩ bσ askeΣ t∩ hi⌠ thσ "Escó ke∙ afte≥ yo⌡ ì
  236. haΣ reaΣ thσ message.
  237.  
  238. 5«  Thσ "Larryó iε thσ firs⌠ sentencσ i≤ founΣ eveε thougΦ thσ ì
  239. first letter is capitalized.  Case differences are ignored.
  240.  
  241. 6«  Thσ searcΦ goe≤ backwards¼ towarΣ thσ star⌠ oµ thσ lesson¼ ì
  242. findinτ m∙ namσ iε thσ previou≤ paragraph.
  243.  
  244. 7«  I⌠ continue≤ goinτ backwards¼ findinτ successivel∙ earlie≥ ì
  245. use≤ oµ m∙ name«  Eventually¼ yo⌡ woulΣ ge⌠ bacδ t∩ thσ star⌠ oµ ì
  246. thσ exercise.
  247.  
  248. 8«  Wheε useΣ iε ß searcΦ anΣ replace¼ thσ numbe≥ state≤ ho≈ man∙ ì
  249. occurrence≤ oµ thσ searcΦ strinτ shoulΣ bσ replaced«  Iµ yo⌡ ì
  250. givσ thσ numbe≥ │ a≤ aε option¼ thσ firs⌠ threσ occurrence≤ wil∞ ì
  251. bσ replaced«  Yo⌡ caε tr∙ i⌠ ou⌠ b∙ backinτ thσ exercisσ u≡ t∩ ì
  252. thσ linσ wherσ m∙ namσ appear≤ severa∞ time≤ anΣ seeinτ wha⌠ ì
  253. happens.
  254.  
  255. 9«  Iε tha⌠ case¼ i⌠ searche≤ backward¼ ignorinτ casσ ì
  256. differences«  Yo⌡ caε combinσ a≤ man∙ option≤ a≤ yo⌡ wish¼ anΣ i⌠ ì
  257. make≤ n∩ differencσ wha⌠ orde≥ yo⌡ specif∙ theφ in«  
  258. ì
  259.