Is there any possibility to get the ‘^]’ character (telnet escape)
with the german keyboard driver activated (accept for patching the
kbd file, of course ) ?
Is there any possibility to get the ‘^]’ character (telnet escape)
with the german keyboard driver activated (accept for patching the
kbd file, of course > > ) ?
No. Entering ASCII control character from the keyboard is a text-mode
concept that Photon’s input model doesn’t support very well – pterm
(or, more accurately, PtTerminal) has its own mapping table that tells
it to generate the Ctrl-] from a Photon event with key_cap set to ‘]’.
This does not work on keyboards that don’t have a key whose key_cap is
‘]’.
(Ctrl-backslash and Ctrl-minus have the same problem; and it’s even
worse with the Ctrl-@ and Ctrl-^ characters: to PtTerminal, they really
are Ctrl-2 and Ctrl-6…)
Is there any possibility to get the ‘^]’ character (telnet escape)
with the german keyboard driver activated (accept for patching the
kbd file, of course > > ) ?
Karsten.Hoffmann@mbs-software.de > wrote:
Is there any possibility to get the ‘^]’ character (telnet escape)
with the german keyboard driver activated (accept for patching the
kbd file, of course > > ) ?
No. Entering ASCII control character from the keyboard is a text-mode
concept that Photon’s input model doesn’t support very well – pterm
(or, more accurately, PtTerminal) has its own mapping table that tells
it to generate the Ctrl-] from a Photon event with key_cap set to ‘]’.
This does not work on keyboards that don’t have a key whose key_cap is
‘]’.
I didn’t try it, yet:
Under QNX4 I patched the de_DE_102.kbd so that it issues ^] when
CTRL-Ä is pressed (same key as US-ASCII layout). Would this still work
in the Neutrino version?
Under QNX4 I patched the de_DE_102.kbd so that it issues ^] when
CTRL-Ä is pressed (same key as US-ASCII layout). Would this still work
in the Neutrino version?
I don’t see why not, provided that you rebuild your kbd file under 6.2.
They’re not compatible with Photon 1.14 kbd files.
Just out of curiosity, how did you patch it – did you change the ‘Ä’
key’s key_cap to ‘]’, or did you make it generate the control character
as a symbol?
Just out of curiosity, how did you patch it – did you change the ‘Ä’
key’s key_cap to ‘]’, or did you make it generate the control character
as a symbol?
Wojtek Lerch <> wojtek_l@yahoo.ca> > wrote:
Just out of curiosity, how did you patch it – did you change the ‘Ä’
key’s key_cap to ‘]’, or did you make it generate the control character
as a symbol?
That’s smart. I didn’t even think of doing it that way.
But there also is a simpler way.
If you don’t need AltGr- to generate a ‘]’ everywhere in
Photon (because AltGr-9 does it already, right?), you could simply
change the key’s definition from the original
Key {
Type “TwoLevelLetter”
Scan 28
Syms [adiaeresis] [Adiaeresis]
}