keycmd_len is set too when "set keycmd" is used
more example scripts