- Jun
- 113
- 7
After setting TCMD to run TCC v36.51 as a pseudoconsole (ConPTY), I find that when I run text editors like TDE (Thomson-Davis Editor) or g32.exe (the 32-bit console version of TSE Pro, The Semware Editor), I find that some of the control-keys no longer work inside the editor.
For example, Control+Y, which is bound to "delete line" in both editors, does nothing. Ctrl+A, which is supposed to move the cursor to previous word, marks everything in the terminal, just like Ctrl+A works in a WIndows application. How do I defeat the keyboard reassignment in pseudoconsoles?
If I cannot defeat the reassignment, I can write a script to test if %_conpty == 1, and issue an error message, prior to running TDE or TSE.
For example, Control+Y, which is bound to "delete line" in both editors, does nothing. Ctrl+A, which is supposed to move the cursor to previous word, marks everything in the terminal, just like Ctrl+A works in a WIndows application. How do I defeat the keyboard reassignment in pseudoconsoles?
If I cannot defeat the reassignment, I can write a script to test if %_conpty == 1, and issue an error message, prior to running TDE or TSE.