Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

XDIR in stand-alone TCC v36

Aug
2,799
144
In TCC v35, XDIR worked as it should with directory colorization.
Ref: Colorized Directories in TCC

In TCC v36, XDIR works as it should in a TCC.EXE tab,
with directory colorization,
under Windows Terminal Version: 1.24.10921.0

Code:
U:\>set colordir
dll:bri yel on bla;hrb:bri whi on bla;EXETYPE_WIN32CUI:blue;EXETYPE_WIN32GUI:bri blue;EXETYPE_WIN64GUI:bri red;EXETYPE_WIN64CUI:red;EXETYPE_DOS:bri cya

U:\>echo %_contype
ConPTY

U:\>echo %@mywindow[23]
PseudoConsoleWindow

Note that colordir is the same in V35 and v36

In TCC 36.00.35 x64 Windows 10 [Version 10.0.19045.7184]
XDIR does not work as it should,
with directory colorization,
when running as a stand-alone TCC.exe

Code:
U:\>set colordir
dll:bri yel on bla;hrb:bri whi on bla;EXETYPE_WIN32CUI:blue;EXETYPE_WIN32GUI:bri blue;EXETYPE_WIN64GUI:bri red;EXETYPE_WIN64CUI:red;EXETYPE_DOS:bri cya

R:\>echo %_contype
Console

R:\>echo %@mywindow[23]
ConsoleWindowClass

1777048235446.webp


When I press the down arrow,
and reach what appears to be a blank spot,
the file details are displayed;

1777048283888.webp


XDIR /d works,
since that disables color coding.

Joe
 
Last edited:
These settings are the same in v35 and v36.

These values report the same in;
v35 stand-alone TCC.EXE
v36 stand-alone TCC.EXE
v36 TCC.EXE tab in Windows Terminal.

XDIR works as it should in v35.

XDIR does not work as it should in v36 stand-alone TCC.EXE

XDIR does work as it should in v36 TCC.EXE under Windows Terminal.

TCMD.INI is used by;
v35 stand-alone TCC.EXE
v36 stand-alone TCC.EXE
v36 TCC.EXE tab in Windows Terminal.

TCMD.INI
Code:
[4NT]
InputColors=White on Black
StdColors=White on Black
SyntaxColors=Yes
ANSI=Yes
Code:
echo %@option[InputColors]
7

echo %@option[StdColors]
7

echo %@option[SyntaxColors]
Yes

echo %@option[ansi]
Yes

Joe
 
Back
Top