Reply to note from Flash <flash@xxxxxxxxx> Mon, 9 Dec 2024 10:38:50 +0100 > on my kbd, key nr. 41, which is embossed with a tilde symbol, > returns an error message when I assign any value to it in the kbd > driver (see screamshot), so I have had to assign ASCII 126 to some > other key. I've never encountered this problem, and I can't reproduce it in Xy3 V3.58B (running in vDosPlus under Win 10 Pro). One possible oddity in your screenshot is that XyWrite seems to be complaining about four characters: tilde, Ascii-255, Ascii-55 ("7") and Ascii-69 ("E") -- but maybe that's just a quirk of Xy3's error reporting. In any case, given that you're assigning a 3-byte tilde to produce a 1-byte tilde (which is fine in principle), here are a few things to try: (1) Change the default discretionary hyphen character to something other than the Ascii-126 tilde, for example, Wally's suggestion of Ascii-127: D DH= (2) If no joy, retain the 3-byte tilde in the key assignment, but add a leading func "NO": 41=NO,~ In a hex editor, using the US ASCII charset (CP437), you should see: "34 31 3D 4E 4F 2C FF 37 45". (3) If that doesn't work, use your favorite non-XyWrite text editor to assign a 1-byte tilde instead of the 3-byte version: 41=~ In hex: "34 31 3D 7E". If none of the above works, then I don't know. Maybe it's a hardware compatibility issue? As mentioned, I don't have any problem assigning a tilde (or any other char) to key #41, using my bog-standard Logitech K120 keyboard. -- Carl Distefano cld@xxxxxxxxxx