Library /sys$common/syshlp/TPUHELP.HLB  —  SET(AUTO_REPEAT)
  SET(AUTO_REPEAT)

     Enables or disables the repetition of keystrokes when you hold down a
     key.

  Syntax

     SET (AUTO_REPEAT, {OFF | ON}

  Parameters

     OFF   To require separate keystrokes for the characters.

     ON    To repeat the character until the key is released.

  Comments

     Auto-repeat works on all keys except:

     F1 through F5   BREAK    CTRL and another key   ESCAPE
     NO SCROLL       RETURN   SET-UP                 TAB

  Example

     The following procedures shows how to turn auto repeat off and on to
     slow cursor motion appropriately:

     PROCEDURE user_slow_arrow_up
        SET (AUTO_REPEAT, OFF);
        MOVE_VERTICAL (-1);
        SET (AUTO_REPEAT, ON);
     ENDPROCEDURE;
     PROCEDURE user_slow_arrow_down
        SET (AUTO_REPEAT, OFF);
        MOVE_VERTICAL (+1);
        SET (AUTO_REPEAT, ON);
     ENDPROCEDURE;
Close Help