home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS 1992 September / Simtel20_Sept92.cdr / msdos / editor / ws_train.arc / EX1.WS < prev    next >
Text File  |  1986-10-04  |  6KB  |  139 lines

  1.             EXERCISE 1: CURSOR MOVEMENT AND SCROLLING
  2.  
  3.      T∩ makσ additions¼ deletions¼ anΣ othe≥ correction≤ t∩ ß ì
  4. document¼ yo⌡ mus⌠ learε ho≈ t∩ movσ thσ displa∙ screeε anΣ thσ ì
  5. cursor«  Iµ therσ i≤ ß largσ documen⌠ iε memory¼ onl∙ ß portioε ì
  6. wil∞ fi⌠ oε thσ screeε a⌠ onσ time«  Yo⌡ caε thinδ oµ thσ displa∙ ì
  7. a≤ ß "window,ó whicΦ caε bσ moveΣ arounΣ oε thσ document:
  8.  
  9.                        __________________                
  10.                       |                  |   Large Document
  11.                       |                  |<--------  
  12.                       | ________________ |
  13.     Movable           ||                ||
  14.     Display  --------->|                ||
  15.     "Window"          ||________________||   
  16.                       |                  |
  17.                       |                  |
  18.                       |                  |
  19.                       |__________________|    
  20.  
  21.  
  22. Hi⌠ thσ "PgDnó ke∙ (lowe≥ right)¼ wheε yo⌡ arσ read∙ t∩ continue.
  23.  
  24. SCROLLING
  25.  
  26.      Wheε yo⌡ hi⌠ "PgDn¼" thσ displa∙ appeareΣ t∩ movσ down¼ (o≥ ì
  27. alternatively¼ thσ documen⌠ shifteΣ up)«  Thi≤ sor⌠ oµ movemen⌠ ì
  28. oµ thσ displa∙ "windowó ove≥ you≥ documen⌠ i≤ calleΣ "scrolling.ó  ì
  29. A⌠ thi≤ point¼ usσ thσ "PgUpó anΣ "PgDnó key≤ t∩ scrol∞ t∩ thσ ì
  30. enΣ oµ thi≤ documen⌠ anΣ theε bacδ t∩ thi≤ point¼ s∩ wσ yo⌡ caε ì
  31. continuσ thσ exercise«  
  32.  
  33.      Exactl∙ ho≈ fa≥ d∩ thσ "PgUpó anΣ "PgDnó command≤ movσ thσ ì
  34. screen┐ (1).
  35.  
  36. CURSOR CONTROL
  37.  
  38.      Oncσ yo⌡ havσ thσ displa∙ positioneΣ wherσ yo⌡ wan⌠ it¼ yo⌡ ì
  39. wil∞ havσ t∩ bσ ablσ t∩ movσ thσ curso≥ arounΣ oε thσ screen«  ì
  40. Thσ mos⌠ importan⌠ curso≥ contro∞ key≤ arσ thσ arro≈ key≤ a⌠ thσ ì
  41. righ⌠ oµ thσ keyboard¼ thσ "Homeó key¼ anΣ thσ "Endó key.
  42.  
  43.      Tr∙ thσ up- anΣ down-arro≈ key≤ out«  Wha⌠ happen≤ wheε the∙ ì
  44. comσ t∩ thσ to≡ o≥ bottoφ oµ thσ screen┐ (2)
  45.  
  46.      Pu⌠ thσ curso≥ a⌠ thσ "Pó a⌠ thσ beginninτ oµ thi≤ line«  ì
  47. No≈ movσ i⌠ t∩ thσ right¼ usinτ thσ righ⌠-arro≈ key«  Wha⌠ ì
  48. happens when it comes to the end of the line? (3)
  49.  
  50.      Pu⌠ thσ curso≥ a⌠ thσ enΣ oµ thσ las⌠ paragrapΦ anΣ movσ i⌠ ì
  51. t∩ thσ left¼ usinτ thσ left-arro≈ key«  Wha⌠ happen≤ wheε i⌠ ì
  52. comes to the left margin? (4)
  53.  
  54.      Nex⌠ tr∙ thσ Homσ anΣ EnΣ keys«  WoulΣ yo⌡ sa∙ tha⌠ "Homeó ì
  55. anΣ "Endó arσ scrollinτ o≥ curso≥ movemen⌠ commands┐  (5)è
  56.      No≈ let'≤ tr∙ somethinτ trick∙ -- first¼ movσ thσ curso≥ t∩ ì
  57. thσ "Xó oε thσ followinτ line:
  58.  
  59.                                 X
  60.  
  61.      Wha⌠ happen≤ wheε yo⌡ movσ thσ curso≥ u≡ o≥ dowε froφ thσ ì
  62. "X?" (6)
  63.  
  64.      B∙ thσ way¼ diΣ yo⌡ noticσ thσ dotteΣ linσ tha⌠ appear≤ ß ì
  65. fe≈ line≤ u≡ froφ here┐  Tha⌠ signifie≤ ß pagσ break«  Thi≤ tex⌠ ì
  66. i≤ oε pagσ tw∩ oµ thσ document«  Ho≈ elsσ coulΣ yo⌡ kno≈ tha⌠ ì
  67. thi≤ tex⌠ i≤ oε thσ seconΣ page? (7)
  68.  
  69. GOING FASTER
  70.  
  71.      I⌠ turn≤ ou⌠ tha⌠ therσ arσ faste≥ way≤ t∩ movσ thσ curso≥ ì
  72. anΣ t∩ scrol∞ thσ screen«  Fo≥ instance¼ thσ curso≥ contro∞ key≤ ì
  73. movσ thσ curso≥ onσ characte≥ a⌠ ß time¼ bu⌠ therσ arσ othe≥ ì
  74. command≤ fo≥ movinτ i⌠ faster«  
  75.  
  76.      Placσ thσ curso≥ oε thi≤ "Xó theε holΣ dowε thσ contro∞ ke∙ ì
  77. anΣ hi⌠ thσ "fó ke∙ ß fe≈ times«  Wha⌠ doe≤ hittinτ Ctrl-µ do┐ ì
  78. (8⌐  Tr∙ Ctrl-a«  Wha⌠ doe≤ i⌠ do┐ (9)
  79.  
  80.      Let'≤ learε tw∩ morσ quicδ scrollinτ commands«  Thesσ arσ ß ì
  81. littlσ tricky¼ becausσ yo⌡ havσ t∩ holΣ dowε thσ contro∞ ke∙ anΣ ì
  82. hi⌠ tw∩ other key≤ iε succession«  
  83.  
  84.      Thσ firs⌠ i≤ Ctrl-q-c¼ whicΦ i≤ thσ commanΣ fo≥ scrollinτ t∩ ì
  85. thσ beginninτ oµ thσ document«  I⌠ i≤ ß littlσ strangσ t∩ hi⌠ s∩ ì
  86. man∙ key≤ anΣ iµ yo⌡ pausσ fo≥ ß whilσ betweeε thσ "qó anΣ thσ ì
  87. "có thσ systeφ wil∞ hel≡ yo⌡ ou⌠ witΦ ß men⌡ oµ choices«  Okay¼ ì
  88. no≈ tr∙ Ctrl-q-π, then return to this point.
  89.  
  90.      Thσ fina∞ scrollinτ commanΣ i≤ Ctrl-q-r«  Afte≥ yo⌡ tr∙ it¼ ì
  91. movσ thσ curso≥ bacδ t∩ thi≤ paragraph«  Wha⌠ diΣ thσ Ctrl-q-π ì
  92. anΣ Ctrl-q-≥ command≤ do? (10)
  93.  
  94.      Tr∙ pausinτ fo≥ ß fe≈ second≤ betweeε thσ "qó anΣ thσ "có o≥ ì
  95. "ró when you give these commands.  What happened? (11)
  96.  
  97. FUNCTION KEYS
  98.  
  99.      Hittinτ functioε ke∙ ╣ i≤ thσ samσ a≤ hittinτ Ctrl-q-≥ anΣ ì
  100. functioε ke∙ 1░ i≤ equivalen⌠ t∩ Ctrl-q-c«  Tr∙ theφ ou⌠ (yo⌡ caε ì
  101. eveε seσ thσ Ctrl-q-≥ o≥ π flasΦ briefl∙ iε thσ uppe≥ lef⌠ oµ thσ ì
  102. screen)«  Usinτ thσ functioε key≤ i≤ easie≥ thaε thσ contro∞ ì
  103. sequence¼ bu⌠ ╔ wanteΣ yo⌡ t∩ seσ ho≈ botΦ worked.
  104.  
  105.      Therσ arσ othe≥ command≤ fo≥ scrollinτ anΣ movinτ thσ curso≥ ì
  106. withiε thσ tex⌠ "window,ó bu⌠ the∙ wil∞ no⌠ bσ covereΣ iε thi≤ ì
  107. exercise¼ sincσ thesσ arσ plent∙ t∩ ge⌠ started«  Iε fact¼ ╔ ì
  108. seldoφ usσ an∙ oµ thσ others«  Yo⌡ caε checδ thσ referencσ carΣ ì
  109. o≥ hel≡ screen≤ t∩ seσ wha⌠ the∙ are.è
  110.      Onσ las⌠ thinτ -- Wha⌠ happen≤ t∩ thσ curso≥ contro∞ key≤ iµ ì
  111. yo⌡ hi⌠ thσ "NumLockó key┐ (12⌐  Tr∙ i⌠ out¼ s∩ yo⌡ won'⌠ bσ ì
  112. confuseΣ iµ i⌠ happen≤ accidentally.
  113.  
  114. RECAPPING
  115.  
  116.      Iε thi≤ exercise¼ yo⌡ havσ learneΣ ho≈ t∩ navigatσ withiε ì
  117. you≥ document«  (Thσ nex⌠ exercisσ wil∞ sho≈ yo⌡ ho≈ t∩ changσ ì
  118. it).  The following command keys were covered:
  119.  
  120. Cursor movement:                   Scrolling:
  121.      Up arrow                           PgUp
  122. áááááDown arrow                         PgDn
  123. áááááLeft arrow                         Ctrl-q-c  (or FN10)
  124. áááááright arrow                        Ctrl-q-r  (or FN9)
  125.      ctrl-f
  126.      ctrl-a
  127. áááááHome
  128. áááááEnd
  129.  
  130.      Beforσ goinτ on¼ bσ surσ yo⌡ understanΣ wha⌠ eacΦ oµ theφ ì
  131. does.
  132.  
  133. EXITING
  134.  
  135.      Wheε yo⌡ ge⌠ thi≤ far¼ anΣ arσ read∙ t∩ enΣ thσ exercise¼ ì
  136. givσ thσ abandon-edi⌠ command¼ Ctrl-k-q«  Thσ prograφ ma∙ asδ yo⌡ ì
  137. iµ yo⌡ arσ surσ yo⌡ wan⌠ t∩ abandoε thσ editeΣ versioε oµ thi≤ ì
  138. file╗ jus⌠ tel∞ i⌠ tha⌠ yo⌡ are¼ b∙ enterinτ ß "y."
  139.