jed-users mailing list

[2006 Date Index] [2006 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: gold key for edt mode


Thei Wijnen <t.wijnen@xxxxxxxxx> wrote:
>I took Johns advice and used his edt.sl from jedsoft.org/test and
>after another modification I got it working on windows and linux.

Thanks for testing edt.sl and reporting your results.  However, I do
not understand why changes to edt.sl were necessary.  In your
windows jed.rc, simply using

   NUMLOCK_IS_GOLD = 1;
   require ("edt");

*should* result in Key_Gold being set to "\eOP", which the NumLock key
should generate.  Are you saying that this does not work?

On Unix, if you want some other key to mimick the gold key, e.g.,
Ctrl-A, then using

   variable Key_Gold = "^A";
   require ("edt");

should work.  If this does not work, then something is wrong.

>There is one problem however with the keypad keys '/' '*' and '-'.
>The characters get inserted in the buffer in stead of doing the
>functions that are defined by the (VT220) keys PF2, PF3 and PF4.
>
>I looked in the source code and found that these keys simply do not
>generate the right escape sequence (like defined by VT220). I made
>a change in the code, recompiled xjed and voila: xjed works and
>these keys behave exactly the same as jed on Windows!

There should be no need to recompile xjed to get these keys to
generate specific escape sequences.  The x_set_keysym function can be
used to associate a particular escape sequence with a keysym.
Starting xjed via

   xjed -l keycode -f keycode

can be used to find the keysym associated with a key.

Am I missing something?

Thanks,
--John

--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


[2006 date index] [2006 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]