Re: Re: Slyedit
By: Digital Man to deon on Thu Jan 21 2021 12:06 pm
DM> It'd helpful to know the actual character value being sent when you hit Ctrl-Space. If you go into the user terminal settings, where it prompt you to hit backspace/delete, if you hit Ctrl-Space, what character value does it report?
So it appears to be sending NUL 0x00.
In the terminal settings pressing Ctrl-Space for the "delete" character, yielded nothing.
I got hold of a key scanning tool for the MAC, and it reports this for CTRL Space:
Key Down
Characters:
Unicode:0 / 0x0
Keys:^Space
Key Code: 49 / 0x31
Modifiers: 262401 / 0x40101
And for comparison, the delete key shows this.
Key Down
Characters:
Unicode:127 / 0x7f
Keys:(backspace symbol)
Key Code: 51 / 0x33
Modifiers: 256 / 0x100
So maybe ignoring a NUL character would be sufficient?
...лоеп
... Marriage is a great institution - no family should be without it.
---
ю Synchronet ю Alterant | an SBBS in Docker on Pi!
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
|