home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / wp / pc-type2.zip / PCT3 / sample.cmd < prev    next >
OS/2 REXX Batch file  |  1989-06-27  |  3KB  |  107 lines

  1.     This file will describe the rudiments of the Menu system and using the
  2.     Command line.
  3.  
  4.     First move the cursor to the Command Line.  Type "DOS dir sample.*"
  5.     (without the quotes) - then press the Enter key.  You will need to
  6.     press another key when the directory is finished to return to this
  7.     file.  That is how DOS commands may be issued from within PC-Type.
  8.  
  9.     Making sure the cursor is still on the Command Line, press F6 (to clear
  10.     the line), and then type "/*<--" without the quotes.  Then press Enter.
  11.     The cursor should have moved to the line above.  Now press Enter again.
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.                                   *<--
  23.     As you can see, this simple command finds the string of characters
  24.     specified and moves the cursor to that location.  Now press the Esc key
  25.     to move the actual cursor from the Command Line to that location.  Now
  26.     press F10 - an important key for Keystroke macros.
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.                                   *<--
  42.     As you can see, F10 executes whatever command is on the Command Line
  43.     but insures the cursor is in the Text Area at the completion of the
  44.     command.  Press F10 again.
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.                                   *<--
  57.     We will now edit another file by using a command on the Command Line,
  58.     and then edit another file by using the menus.  Move the cursor to the
  59.     Command Line with the Esc key.  Press F6 to clear the line, and then
  60.     type "edit sample.cm2" (without the quotes) and press the Enter key.
  61.  
  62.     Having returned to this screen, we will now edit the same file using
  63.     the menus - first press the PgDn key.
  64.  
  65.  
  66.  
  67.                         Since you have already performed the instructions
  68.                         in SAMPLE.CM2, after entering that file, just press
  69.                         F4 to return to this file.
  70.  
  71.                         Press F2 to bring up the Main Menu and press the E
  72.                         key to select the option (E)dit/get.  In the field
  73.                         provided at the bottom of your screen, type
  74.                         "SAMPLE.CM2" (without the quotes) and press the
  75.                         Enter key.
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.                         Now press the E key again to specify "Edit".  Now
  83.                         press the T key to specify "Total" file.  That is
  84.                         how to edit another file from the menus.
  85.                         Now press F2, then the J key, then the 6 key.
  86.  
  87.     As you can see, most commands available within PC-Type may be reached
  88.     through the menus, even though a keystroke is available as a more
  89.     direct route.  One keystroke which is not available is the cross-hairs.
  90.  
  91.     Move the cursor to the X below, hold down the Alt key and the press the
  92.     + key (the one on the top line of keys next to the numbers).
  93.  
  94.  
  95.                                      X
  96.  
  97.     Cross-hairs can be quite useful when lining up text visually.  The
  98.     cross-hairs will remain until you press another key.
  99.  
  100.     Before quitting this file, move the cursor to the Command Line.  Now
  101.     hold down the Ctrl key and press the W key a number of times.  As you
  102.     can see, the commands you used on the Command Line are saved and may be
  103.     reused.  Up to 10 commands are saved.
  104.  
  105.     Now press F4 to exit this section of the tutorial.
  106.  
  107.