[Date Prev] [Date Next] [Thread Prev] [Thread Next] Date Index Thread Index Search archive:
Date:Mon Jan 31 03:48:39 1995 
Subject:finding out what keys do 
From:A . Sloman 
Volume-ID:950131.01 

Ever wondered what those keys do in VED that you never use?

Here's a little procedure that, when invoked, repeatedly calls
ved_hkey until you interrupt with CTRL-c. Just keep on pressing
keys to find out what they do (if they do anything.) Make your
own record.

Aaron

define global ved_testkeys();
    ;;; ENTER testkeys
    ;;; repeatedly call ved_hkey

    lvars oldinterrupt = interrupt;

    define dlocal interrupt();
        vedputmessage('DONE');
        oldinterrupt();
    enddefine;

    ved_hkey();
    vedtopfile();
    vedlineabove();
    vedinsertstring('Interrupt with CTRL C when finished');
    vedcheck();
    repeat
        vedendfile();
        vedinsertstring(vedmessage);
        vedcheck();
        ved_hkey();
    endrepeat
enddefine;