John E. Davis wrote:
However, the S-Lang *define_key routines take C strings. In practice this is not a problem since these routines map the two character sequence "^@" to \0.
When using define_key, there trully is no problem. But when show_key tries expand_keystring with LASTKEY, it stops at the \0. This could be solved if LASTKEY were a binary string or if the first character of LASTKEY would contain the actual length of keycode (like in SLang_make_keystring). Marko -------------------------- To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with the word "unsubscribe" in the message body. Need help? Email <jed-users-owner@xxxxxxxxxxx>.