New issue with ^C

May 20, 2008
603
0
Sammamish, WA
I'm testing both the Ctrl-Break that terminated my TCMD session, and
the missing Ctrl-C others have reported.

TCC 10.00.64 Windows XP [Version 5.1.2600]
TCC Build 64 Windows XP Build 2600 Service Pack 3
Take Command v10.00.64

Given this program:

#include <stdio.h>
#include <conio.h>

int main(int argc, char * argv[])
{
int chr;

while ( (chr = getch()) != 'Q' )
{
printf("%02X\n", chr);
}

return 0;
}


When running in a TCC stand alone window, and pressing Ctrl-A to
Ctrl-D then Ctrl-Break, I get this output:
D:\>test
01
02
03
04
05
^C
D:\>

When running in TCMD, however, I get this. Note the missing 03 when
Ctrl-C is pressed:
D:\>test
01
02
04
05
^C
D:\>

I am pleased that I have not had a Ctrl-Break that terminated TCMD
(yet), but need the Ctrl-C to return 03 when pressed.

Using TCC 10.00.64 inside TCMD 10.00.60 works ok, whereas TCMD
10.00.61 stops working. Version 61 said "Fixed a (Windows) bug with
repeated ^Breaks sometimes terminating TCMD.EXE"

I _really_ hope that the Ctrl-Break fix to avoid terminating the TCMD
session does not require losing the Ctrl-C keystroke.

--
Jim Cook
2009 Saturdays: 4/4, 6/6, 8/8, 10/10, 12/12 and 5/9, 9/5, 7/11, 11/7.
Next year they're Sunday.
 
May 20, 2008
3,515
4
Elkridge, MD, USA
Jim Cook wrote:
...
| When running in a TCC stand alone window, and pressing Ctrl-A to
| Ctrl-D then Ctrl-Break, I get this output:
| D:\>test
| 01
| 02
| 03
| 04
| 05
| ^C
| D:\>
|
| When running in TCMD, however, I get this. Note the missing 03 when
| Ctrl-C is pressed:
| D:\>test
| 01
| 02
| 04
| 05
| ^C
| D:\>
|
| I am pleased that I have not had a Ctrl-Break that terminated TCMD
| (yet), but need the Ctrl-C to return 03 when pressed.

I trust that in your test you made sure to use the left or right "Ctrl" key
that in your TCMD options is set NOT to be intercepted by TCMD but passed on
to the currently active console tab.
--
Steve
 
May 20, 2008
603
0
Sammamish, WA
On Wed, Apr 1, 2009 at 8:54 AM, Steve Fábián <> wrote:

> I trust that in your test you made sure to use the left or right "Ctrl" key
> that in your TCMD options is set NOT to be intercepted by TCMD but passed on
> to the currently active console tab.

Yes, which is why the Ctrl-A reports 01. I have the left Ctrl key
reserved for TCMD, but the right Ctrl key should be (and is, by
testing) passed on.

I just double checked, and TCMD Options \ Configure Take Command \
Tabs has both the Left Alt and Ctrl checked, and both the Right Alt
and Ctrl unchecked.

--
Jim Cook
2009 Saturdays: 4/4, 6/6, 8/8, 10/10, 12/12 and 5/9, 9/5, 7/11, 11/7.
Next year they're Sunday.
 
Mar 9, 2009
28
0
On Wed, Apr 01, 2009 at 10:35:11AM -0500, Jim Cook wrote:

> I'm testing both the Ctrl-Break that terminated my TCMD session, and
> the missing Ctrl-C others have reported.
> ...

Assuming you meant Ctrl-A to Ctrl-E, I get the same results you did.
The only surprise to me was that Ctrl-@ resulted in two numbers rather
than one: 00 and 03 (both stand-alone and tabbed).
 
May 20, 2008
603
0
Sammamish, WA
On Wed, Apr 1, 2009 at 12:36 PM, Emilio III <> wrote:

> ---End Quote---
> Assuming you meant Ctrl-A to Ctrl-E, I get the same results you did.
> The only surprise to me was that Ctrl-@ resulted in two numbers rather
> than one: 00 and 03 (both stand-alone and tabbed).


I did mean Ctrl-E and not Ctrl-D. Thanks for the catch.
Ctrl-@ can't return only 00 since an initial 00 is the lead-in for F1,
Keypad Insert, and others.


--
Jim Cook
2009 Saturdays: 4/4, 6/6, 8/8, 10/10, 12/12 and 5/9, 9/5, 7/11, 11/7.
Next year they're Sunday.
 
Similar threads
Thread starter Title Forum Replies Date
G v28 Display Issue Support 7
Jay Sage Issue with CD_ENTER Alias Support 37
Jay Sage Issue with CD_LEAVE Alias Support 3
fpefpe How to? issue with % and evaluation Support 5
cgunhouse Standard User Account Issue Support 2
samintz WAD Display wrapping issue Support 5
M TCC color issue in ConEmu Support 4
samintz Timer issue Support 4
Alpengreis Documentation Minor issue in help file for view /E Support 1
samintz WAD ANSI issue Support 3
D TCSTART issue after reinstallation Support 14
A Documentation [Help file] OPTION "//" synopsis formatting issue Support 0
Chen Touboul Overtyping issue - i press the Insert key, help till press enter for new line in TCC Support 2
Y TCC and Cmder imcompatibility issue Support 7
M Another possibly strange remote registry issue Support 5
T WAD bpokestr issue Support 5
D High-DPI Scaling issue Support 1
S CMDebug 22 issue with del command Support 1
cgunhouse Foldermonitor Issue Support 7
samintz Build 38 Install issue Support 5
rps WAD Setlocal issue Support 4
Luiz Rodrigues Issue with Maven Support 1
Seven Update / install issue with 20.0.20.10.32 take command Support 7
Fross WebDav Drive Mapping Issue Support 19
D Upgrade issue Support 3
Fross V20b8 Everything Issue Support 5
T TCC display issue Support 1
cgunhouse _logfile Issue Support 5
T Fixed Querybox issue Support 1
cgunhouse Fixed Share Memory Issue Support 5
cgunhouse Foldermonitor with "/E" Option Issue Support 6
Fross TabComplete Argument Issue Support 1
fpefpe How to? Stange start up issue Support 1
C cosmetic issue with LIST's (I) Support 9
jbarnes1967 TC 18.00 x64 issue with lua io.popen() Support 2
D How to? Wildcards as sets - looping issue with FOR and REN Support 7
T WAD Free issue Support 6
R Fixed v17.0.54 Tab->COMSPEC Dialog Box Issue Support 2
R Minor Cosmetic Issue in Take Command Window Support 2
cgunhouse One line IFF ... Then ... Else ... EndIFF Statement issue in V17 Support 13
cgunhouse IFTP Path Issue in V17 - Fixed Support 7
S BDEBUGGER issue Support 9
cgunhouse @ISPROC Issue Support 15
cgunhouse TCMD.INI Issue Support 7
T Fixed multi-line alias issue Support 13
R WAD issue with filename completion with system and hidden files Support 8
D Strange issue with FOR loop Support 15
C Install Issue with 3rd Party Privelege Escalation Support 2
W Button command issue Support 5
S XenForo issue Support 8

Similar threads