- May
- 80
- 0
I think I've written about this before (but probably before the forums were created), but I don't see it here, so I'll ask for support again:
In several countries (e.g. Greece, Russia), the default (and sane) setup is installing more than one keyboard layouts in Windows: A US-English layout, to write all latin characters, and a Greek/Russian/whatever layout to write characters in your native language. You usually switch keyboards by pressing together Alt+Shift. This works in both GUI programs (e.g. Notepad) and Console programs (e.g. cmd.exe, tcc.exe).
Unfortunately, this keyboard shortcut does not work at all in TCMD. The keyboard indicator does change, but the typed letters in the console window that is under TCMD do not. So, even if I really type "αβγ", the underlying TCC only understands "abg". TCMD, and not TCC is to blame here, because if you detach the TCC and type Greek characters in the same TCC, it works ok.
To be fair, I've seen the same problem in various open source TCMD-like projects, so I'm guessing this is somewhat Windows related. Also, so far (partly because of that problem) I didn't really use TCMD, I just opened standard TCC windows. Recently I had to use a *lot* of TCC windows, so it came in handy, but again the Alt-Shift problem reared it ugly head.
Can anything be done for this? This is really a very big problem, it makes TCMD unusable in all countries with no Latin alphabet!
BTW, you should remove the "PHP" button from the editor - or better yet, replace it with a "BTM" button (that would highlight the code as TCC code :))
In several countries (e.g. Greece, Russia), the default (and sane) setup is installing more than one keyboard layouts in Windows: A US-English layout, to write all latin characters, and a Greek/Russian/whatever layout to write characters in your native language. You usually switch keyboards by pressing together Alt+Shift. This works in both GUI programs (e.g. Notepad) and Console programs (e.g. cmd.exe, tcc.exe).
Unfortunately, this keyboard shortcut does not work at all in TCMD. The keyboard indicator does change, but the typed letters in the console window that is under TCMD do not. So, even if I really type "αβγ", the underlying TCC only understands "abg". TCMD, and not TCC is to blame here, because if you detach the TCC and type Greek characters in the same TCC, it works ok.
To be fair, I've seen the same problem in various open source TCMD-like projects, so I'm guessing this is somewhat Windows related. Also, so far (partly because of that problem) I didn't really use TCMD, I just opened standard TCC windows. Recently I had to use a *lot* of TCC windows, so it came in handy, but again the Alt-Shift problem reared it ugly head.
Can anything be done for this? This is really a very big problem, it makes TCMD unusable in all countries with no Latin alphabet!
Code:
TCC 11,00,51 x64 Windows 7 [Version 6,1,7600]
TCC Build 51 Windows 7 Build 7600
BTW, you should remove the "PHP" button from the editor - or better yet, replace it with a "BTM" button (that would highlight the code as TCC code :))