# $EPIC: set_key_interval.txt,v 1.3 2006/09/02 18:27:47 sthalik Exp $
set key_interval [<number>]
This sets the timeout in milliseconds for the key input disambiguator.
You are permitted to create ambiguous keybindings, for example:
/BIND ^[ PARSE_COMMAND {echo You pressed Escape!} /BIND ^%%[[%%11~ PARSE_COMMAND {echo You pressed F1!}
Now when you press <escape>, EPIC does not know if you actually pressed the <escape> key, or if you pressed <f1>, and it should wait for more characters. It won't know this until more characters arrive. But there is no guarantee that more characters will arrive. This results in an ambiguous keybinding. EPIC doesn't know which keybinding to use.
So each time epic runs into an ambiguous keybinding, it sets a timeout using this value. If, at the end of the timeout, no further characters have arrived, it will assume you pressed the <escape> key and not the <f1> key.
There are two conflicting issues to balance when you set this character
So you want to set this value to something that is big enough not to cause your cursor keys and function keys to malfunction, but not so high as to be annoying.
SET KEY_INTERVAL first appeared in EPIC4-1.1.7.