Topic: Key_add (1 of 4), Read 78 times
Conf: Keyboard, keystroke macros
From: Fritz Heberlein
Date: Thursday, November 11, 1999 06:19 PM

I tried to define the following key_add sequence according to the description given in the manual p. 168:

Key_add("Ctrl-Tab","[VISUAL EXIT]
s('[ ',advance),insert+ok")

The result was really funny (try it yourself!).

Obvious Solution (found it after examining startup.vdm only): there is a misplaced double quote in the description (the manual says: ' key_add(...,INSERT") '.
There is non respective entry in errata.doc.
Fritz

 


Topic: Key_add (2 of 4), Read 79 times
Conf: Keyboard, keystroke macros
From: Christian Ziemski
Date: Friday, November 12, 1999 05:11 AM


Not funny but mathematic:

OK is internally coded as 0x20000000 = 536870912.

INSERT is coded as 0x800 = 2048.


INSERT + OK = 2048 + 536870912 = 536872960

which is the number displayed after pressing your assigned key.


O.k. it's an error in the key assignment but the result is "logical".


Christian

 


Topic: Re: Key_add (3 of 4), Read 83 times
Conf: Keyboard, keystroke macros
From: Ted Green
Date: Friday, November 12, 1999 09:46 AM

At 07:50 AM 11/12/99 -0500, you wrote:
>Not funny but mathematic:...

I know that Christian is a mathematician, but I
also find him to have a great sense of humor.
Guess he just doesn't find math to be funny. ;-)

I wonder if he will find the "z" and "zz" commands
funny. And the infamous "et" command.

Cheers,

 


Topic: Re: Key_add (4 of 4), Read 78 times
Conf: Keyboard, keystroke macros
From: Christian Ziemski
Date: Monday, November 15, 1999 08:04 AM

>I wonder if he will find the "z" and "zz"
>commands funny. And the infamous "et" command.

:-))) That's the commands I searched for forever! More!

But what about the hidden (or just undocumented) commands "SH" and "SW" ? Can I use them or better not?

Christian