EVE$HELP.HLB  —  LEARN
  LEARN

  Learns a sequence of keystrokes and remembers them as a single key. The
  sequence can comprise commands, text, or both. (In some text editors this
  is called a "macro.")

  Key:   EDT keypad      WPS keypad
         ----------------------------------------------
         CTRL/K          CTRL/K or GOLD-> (right angle)

  Steps:

  1.  Use LEARN (see key list above).

  2.  Type the keystrokes you want learned. You can type commands,
      text, or both---including pressing keys that are already
      defined. However, mouse operations are NOT learned.

  3.  To end or "remember" the learn sequence, press CTRL/R.
      (Note:  Do NOT type the REMEMER command.)

  4.  At the prompt, press the key you want to use for the learn sequence.
      Do not press a key you have used in the sequence being remembered. You
      can press any of the following:

         Function key ............. such as F20, PF3, KP0, or ENTER
         GOLD key sequence ........ such as GOLD-A or GOLD-PF3
         Control key .............. such as CTRL/A
         Shifted function key ..... such as SHIFT/F14 (DECwindows only)
         ALT key combination ...... such as ALT/Z     (DECwindows only)
         Mouse button ............. such as M2CLICK   (DECwindows only)

      To cancel the operation---sequence not remembered---press the RETURN
      key or CTRL/M, which cannot be redefined.

  Usage notes:

  o  Defining a key with LEARN and REMEMBER overrides any current definition
     of the key, whether EVE default, EDT, WPS, or your own. The definition
     remains in effect throughout your editing session or until you redefine
     the key.

  o  To save learn sequences for future editing sessions, use SAVE EXTENDED
     EVE or SAVE ATTRIBUTES to create a section file. You cannot put learn
     sequences in an initialization file.

  o  Learn sequences record keystrokes, rather than the key definitions at
     the time the sequence was created. Therefore, before you replay a learn
     sequence, check that any keys used in the learn sequence are defined
     appropriately and also that any settings that affect the sequence are
     correct (such as bound or free cursor, margins, tab stops tab mode,
     pending delete, box select, box padding, and so on). Otherwise, the
     learn sequence may fail or may not work as expected.

     +-------------------------------------------------------------------+
     | You can create learn sequences on VMS or ULTRIX, save them in a   |
     | section file, and then use that section file on the other system. |
     | However, learn sequences may fail or may not replay properly if   |
     | they involve system-specific features or differences, such as     |
     | file names and directories.                                       |
     +-------------------------------------------------------------------+

  Related topics:

     Canceling     REMEMBER     UNDEFINE KEY
Close Help