TCC.exe 12.0 & 12.1 and Colors

Sep 2, 2008
8
0
Scotland
TCC.exe version 12.0 and 12.10 ignore any custom console colors set via a Windows shortcut.

Is this a bug by design?

I hope it's the former, because I'd be disappointed if you no longer support the standard Windows methods for setting console dimensions, fonts sizes and colors using shortcuts (.lnk files).

I'm running 12.10 side by side with 11.00.52, and only v12 ignores/overrides the palette in the shortcut.
 
Apr 5, 2011
4
0
It's a bug to me. We just upgraded from V9 to V12, and I cannot coerce TCC into using the console colors I want. It seems to prefer white on black, regardless of how I set console defaults. Way too much contrast, and I get chromatic effects with the white text.

What's worse is that if I manually set the color palette for the current TCC window, it really enjoys going back to white on black. All I have to do is "shell out"
TCC /c SomeCommand<SOMECOMMAND>
and Poof! back to white on black.

Help and other posts talk about the "Console Palette" (OPTION command, Windows tab), but that button is always disabled for me, even though we have the full TCC, not TCC/LE.

This problem is enough of a reason for me to go back to an earlier version.
 

rconn

Administrator
Staff member
May 14, 2008
12,404
152
TCC.exe version 12.0 and 12.10 ignore any custom console colors set via a Windows shortcut.

Is this a bug by design?

I hope it's the former, because I'd be disappointed if you no longer support the standard Windows methods for setting console dimensions, fonts sizes and colors using shortcuts (.lnk files).

There is no "standard Windows method" for setting custom console colors; it's (completely) different in every version of Windows.

What version of Windows are you using?
 

rconn

Administrator
Staff member
May 14, 2008
12,404
152
It's a bug to me. We just upgraded from V9 to V12, and I cannot coerce TCC into using the console colors I want. It seems to prefer white on black, regardless of how I set console defaults. Way too much contrast, and I get chromatic effects with the white text.

Not reproducible here.

Check your OPTION / Windows color settings -- if you want to set colors outside of TCC, all the colors should be set to "Default", and you should uncheck "ANSI Colors".

Or, you could just set the colors you want in that dialog.
 
Sep 2, 2008
8
0
Scotland
Same here, and I also also have that button disabled.

TCC 12.10.59 x64 Windows 7 [Version 6.1.7601]
TCC Build 59 Windows 7 Build 7601 Service Pack 1
 
Sep 2, 2008
8
0
Scotland
> There is no "standard Windows method" for setting custom console colors; it's (completely) different in every version of Windows.

From a user point of view, the properties dialog for console apps is pretty much unchanged since Windows 3. You get 16 colors corresponding to the 16 colors available on DOS, and you can change the RGB values for each color.

> What version of Windows are you using?

I'm using this version:

TCC 12.10.59 x64 Windows 7 [Version 6.1.7601]
TCC Build 59 Windows 7 Build 7601 Service Pack 1

I've confirmed I still lose any console color settings even with no %USERPROFILE%\AppData\Local\JPSoft\TCMD.INI, and also that the 'Console Palette' is still disabled.

I don't know where else to look for any errant settings on my PC; you seem to keep the registry clean. I'll try another PC tomorrow.
 

rconn

Administrator
Staff member
May 14, 2008
12,404
152
I've confirmed I still lose any console color settings even with no %USERPROFILE%\AppData\Local\JPSoft\TCMD.INI, and also that the 'Console Palette' is still disabled.

I can guarantee that if you don't have any TCMD.INI, then TCC will *not* change any default colors. (You should double-check that TCC isn't finding another TCMD.INI, like in its installation directory, and you should still run OPTION and see what values are set in the Windows tab.)

If you're running TCC in a TCMD tab window, be aware that TCMD can also set console colors if they haven't been set by TCC or a custom console palette.
 
Apr 5, 2011
4
0
FWIW, I'm zeroing in on this problem.

We have been installing to the default directory (C:\Program Files\JPSoft\TCMD12x64). We also typically set %COMSPEC% to tcc.exe in that directory. But we have problems with programs not liking a space in the path. Our solution was to create a symbolic link (or junction point):
mklink /d C:\TC C:\Program Files\JPSoft\TCMD12x64
Then we set %COMPSPEC to C:\TC\tcc.exe.

Get this: If I launch TCC from a shortcut "through" the symlink (C:\TC\tcc.exe), I have the color problems. If I launch from a shortcut directly to the target path (C:\Program Files\JPSoft\TCMD12x64\tcc.exe), then I don't have the problem.

To solve this (or at least work around it), I've reinstalled TC12 to a path that has no space in it, and eliminated the symlink. All seems to be well with that configuration.

 
Apr 5, 2011
4
0
Clarification: I no longer see the problem with preferring/reverting to white on black, but I cannot seem to customize the RGB values for the colors. I can live with that. Black on white (light gray) is close enough.
 
Similar threads
Thread starter Title Forum Replies Date
C COMSPEC constantly reset to TCC.EXE Support 6
L FTYPE in TCC, less quirky than in cmd.exe Support 3
L Using TCC.exe through an SSH connection Support 3
D Unnecessary environment dependencies of TCC.EXE Support 3
I how to make TCC default/replace cmd.exe? Support 9
David McClelland TCMD 24 & Perl - perl thinks it's own executable is ...\TCMD24\TCC.EXE??? Support 3
M Command line parsing differences between cmd.exe and TCC Support 6
Joe Caverly Works with CMD.EXE, no output with TCC.EXE Support 7
P Labels in batch files: TCC vs CMD.exe Support 9
Joe Caverly CMDebug and TCC.EXE Support 4
thorntonpg TCC_RT_21\tcc.exe runs tcstart Support 4
B how to do in "start" command thing like in tcc.exe Support 1
TT's Help! Uninstalling TCC did not restore cmd.exe as Win10 default batch file processor. Support 4
redwdc TCC.exe opens to 11 characters x 3 rows Support 1
CWBillow The file tcc.exe is not marked for installation Support 4
T 64 bit TCCLE appears to crash when opening tcc.exe from within tcc.exe window Support 7
M Console-Mode (*.exe) works in TCC, not in TCMD Support 2
C WAD TCC: (Sys) C:\Program Files\JPSoft\TCMD17\tcc.exe is not a valid Win32 application. Support 6
vefatica TCC and dllhost.exe (COM surrogate) Support 4
C 'start tcmd.exe' actually starts tcc.exe Support 7
MickeyF gpf when trying to use tcc.exe on standalone install Support 0
MickeyF Why does my tcstart.btm sometimes terminate tcc.exe? Support 4
noahcoad WAD cmd.exe under tcc doesn't find apps Support 4
B WAD environment variable in TCC.exe Support 2
noahcoad c:/hello.txt works in cmd.exe but not tcc.exe Support 1
noahcoad Fixed tcc /k not emulating cmd.exe w double quotes Support 1
M WAD tcmd.exe crashes and leaves an orphaned tcc.exe process Support 6
millardjk How to? Use TCC.EXE on Windows 2008 Server Core? Support 6
S Fixed TCC.EXE 13.03.47 won't run Support 4
Q tcc.exe crash with long command line Support 10
C STDOUT seeming broken in TCC.EXE! Strangest behaviour ever! Support 6
daniel347x Different results with TCC than with cmd.exe Support 2
L How to use the @sha1 function in a tcc.exe command line? Support 4
newbie Cannot make a btm/tcc.exe window wider Support 4
C cdd /T . hangs tcc.exe Support 2
J tcmd.exe/tcc.exe appcrash on exit Support 4
N Unable to end tcc.exe process Support 1
Charles Dye Crash in TCC.EXE v10.0.0.49 Support 0
D Peculiar symptoms w/ 4NT, TCC/LE vis a vis CMD.EXE Support 11
M TCC Can't find WScript.exe where it says it is Support 0
vefatica SCRIPT makes TCC disappear. Support 16
MickeyF TCC suddenly crashing (not TCC's fault) Support 2
Z CMDDebug - TCC unknown command Support 2
rconn News Take Command / TCC / CMDebug / TCC-RT 28.02.17 Support 0
vefatica TCC startup: /IP not honored after /K Support 1
MickeyF TCC crashing when copying multiple files (now resolved) Support 6
rconn News Take Command / TCC / CMDebug / TCC-RT v28 Released Support 0
C How to? starting TCC/TCMD v25 Support 2
CWBillow TCC and TCMD in Powershell Support 6
rconn News Take Command / TCC / CMDebug / TCC-RT 27.01.24 uploaded Support 0

Similar threads