how to control window size?

May 9, 2013
40
0
by which I mean - I changed the font for my TCC windows using the TCC Options menu to a smaller font, but the # columns and rows didn't change in my TCC tabs. Rather, there's just extra black space beyond the end of the 128 columns.

I had assumed that it would recalculate the # columns based on the font... but no? What is the magical sauce needed to say "hey - fit as many columns as you can"?
 
May 20, 2008
3,515
4
Elkridge, MD, USA
I cannot find in the dialog invoked by the OPTION command of TCC anything affects font size. OTOH clicking on the upper left corner of any console window (CMD, TCC, etc.) and selecting Properties opens a Microsoft Windows menu controlling console properties. I strongly suspect this Windows menu is your issue, under exclusive control of Microsoft.

Vince Fatica's 4console plug in has most of the controls you desire. I would request Vince (in general he is very accomodating of such requests) to extend its font logic.
 
May 20, 2008
11,538
103
Syracuse, NY, USA
Steve's right. TCC's OPTION does not handle changing the console font. 4CONSOLE has SETFONT (which doesn't deal with Unicode fonts) and a couple of functions to query (non-Unicode) font info. I'm not likely to add support for Unicode fonts (if that's possible) any time soon.

TCMD tabs (which are not consoles) are a whole different story. What you see there is controlled by the TCMD options dialog.
 
May 9, 2013
40
0
Sorry, I was unclear. :(
I meant the tabbed interface - when I change the font in the tabbed interface the font does change for my current tab (only one open), but the number of columns and rows remains "stuck." I would have expected them to change, but I've since restarted Take Command, with a new tab, and the discrepancy remained.
This was TC 15.01 (not the latest build). I've since updated, and maybe it's fixed now. Sorry for the confusion and lack of due dilligence on my part. :P
 
May 9, 2013
40
0
Here's a sample copy of a script - you can see that it is always line-broken at 128 columns: (this output is part of a copy command, so not even a "caveman" app or external command at all, an internal BTM command)

C:\Data\CTE\15.1\CimPACK\Designer\Stan\INSRTMIS\M10MACRO.MAC => \\File-Server\Sales and Support\CTE\15.1\CimPACK\Designer\Stan\I
NSRTMIS\M10MACRO.MAC
C:\Data\CTE\15.1\CimPACK\Designer\Stan\INSRTMIS\M10MAKE.MAC => \\File-Server\Sales and Support\CTE\15.1\CimPACK\Designer\Stan\IN
SRTMIS\M10MAKE.MAC
C:\Data\CTE\15.1\CimPACK\Designer\Stan\INSRTMIS\M10VARS.MAC => \\File-Server\Sales and Support\CTE\15.1\CimPACK\Designer\Stan\IN
SRTMIS\M10VARS.MAC
C:\Data\CTE\15.1\CimPACK\Designer\Stan\INSRTMIS\M11GET1.CIM => \\File-Server\Sales and Support\CTE\15.1\CimPACK\Designer\Stan\IN
SRTMIS\M11GET1.CIM
C:\Data\CTE\15.1\CimPACK\Designer\Stan\INSRTMIS\M11GET2.CIM => \\File-Server\Sales and Support\CTE\15.1\CimPACK\Designer\Stan\IN
SRTMIS\M11GET2.CIM
C:\Data\CTE\15.1\CimPACK\Designer\Stan\INSRTMIS\M11GET3.CIM => \\File-Server\Sales and Support\CTE\15.1\CimPACK\Designer\Stan\IN
SRTMIS\M11GET3.CIM
C:\Data\CTE\15.1\CimPACK\Designer\Stan\INSRTMIS\M11MACRO.MAC => \\File-Server\Sales and Support\CTE\15.1\CimPACK\Designer\Stan\I
NSRTMIS\M11MACRO.MAC
C:\Data\CTE\15.1\CimPACK\Designer\Stan\INSRTMIS\M11MAKE.MAC => \\File-Server\Sales and Support\CTE\15.1\CimPACK\Designer\Stan\IN
SRTMIS\M11MAKE.MAC
C:\Data\CTE\15.1\CimPACK\Designer\Stan\INSRTMIS\M11SLV1.CIM => \\File-Server\Sales and Support\CTE\15.1\CimPACK\Designer\Stan\IN
SRTMIS\M11SLV1.CIM
C:\Data\CTE\15.1\CimPACK\Designer\Stan\INSRTMIS\M11SLV2.CIM => \\File-Server\Sales and Support\CTE\15.1\CimPACK\Designer\Stan\IN
SRTMIS\M11SLV2.CIM
C:\Data\CTE\15.1\CimPACK\Designer\Stan\INSRTMIS\M11SLV3.CIM => \\File-Server\Sales and Support\CTE\15.1\CimPACK\Designer\Stan\IN
SRTMIS\M11SLV3.CIM
C:\Data\CTE\15.1\CimPACK\Designer\Stan\INSRTMIS\M11STYL1.CIM => \\File-Server\Sales and Support\CTE\15.1\CimPACK\Designer\Stan\I
NSRTMIS\M11STYL1.CIM
C:\Data\CTE\15.1\CimPACK\Designer\Stan\INSRTMIS\M11VARS.MAC => \\File-Server\Sales and Support\CTE\15.1\CimPACK\Designer\Stan\IN
SRTMIS\M11VARS.MAC
C:\Data\CTE\15.1\CimPACK\Designer\Stan\INSRTMIS\M12GET1.CIM => \\File-Server\Sales and Support\CTE\15.1\CimPACK\Designer\Stan\IN
SRTMIS\M12GET1.CIM
C:\Data\CTE\15.1\CimPACK\Designer\Stan\INSRTMIS\M12GET2.CIM => \\File-Server\Sales and Support\CTE\15.1\CimPACK\Designer\Stan\IN
SRTMIS\M12GET2.CIM
C:\Data\CTE\15.1\CimPACK\Designer\Stan\INSRTMIS\M12MACRO.MAC => \\File-Server\Sales and Support\CTE\15.1\CimPACK\Designer\Stan\I
NSRTMIS\M12MACRO.MAC
C:\Data\CTE\15.1\CimPACK\Designer\Stan\INSRTMIS\M12MAKE.MAC => \\File-Server\Sales and Support\CTE\15.1\CimPACK\Designer\Stan\IN
SRTMIS\M12MAKE.MAC
C:\Data\CTE\15.1\CimPACK\Designer\Stan\INSRTMIS\M12SLEEV.CIM => \\File-Server\Sales and Support\CTE\15.1\CimPACK\Designer\Stan\I
NSRTMIS\M12SLEEV.CIM
C:\Data\CTE\15.1\CimPACK\Designer\Stan\INSRTMIS\M12VARS.MAC => \\File-Server\Sales and Support\CTE\15.1\CimPACK\Designer\Stan\IN
SRTMIS\M12VARS.MAC
C:\Data\CTE\15.1\CimPACK\Designer\Stan\INSRTMIS\M13GET1.CIM => \\File-Server\Sales and Support\CTE\15.1\CimPACK\Designer\Stan\IN
SRTMIS\M13GET1.CIM
C:\Data\CTE\15.1\CimPACK\Designer\Stan\INSRTMIS\M13MACRO.MAC => \\File-Server\Sales and Support\CTE\15.1\CimPACK\Designer\Stan\I
NSRTMIS\M13MACRO.MAC
C:\Data\CTE\15.1\CimPACK\Designer\Stan\INSRTMIS\M13MAKE.MAC => \\File-Server\Sales and Support\CTE\15.1\CimPACK\Designer\Stan\IN
SRTMIS\M13MAKE.MAC
C:\Data\CTE\15.1\CimPACK\Designer\Stan\INSRTMIS\M13SLEEV.CIM => \\File-Server\Sales and Support\CTE\15.1\CimPACK\Designer\Stan\I
NSRTMIS\M13SLEEV.CIM
C:\Data\CTE\15.1\CimPACK\Designer\Stan\INSRTMIS\M13VARS.MAC => \\File-Server\Sales and Support\CTE\15.1\CimPACK\Designer\Stan\IN
SRTMIS\M13VARS.MAC
C:\Data\CTE\15.1\CimPACK\Designer\Stan\INSRTMIS\m14get1.cim => \\File-Server\Sales and Support\CTE\15.1\CimPACK\Designer\Stan\IN
SRTMIS\m14get1.cim
 
May 9, 2013
40
0
Further clarification: This is in TC 15.01 - not TCC - so this is a tab window within TC. TC claims to be up to date. This is a licensed copy.

I don't understand where the 128 column limit comes from, or how to change it....
 

rconn

Administrator
Staff member
May 14, 2008
12,404
152
The maximum TCMD tab window size is based on the maximum console window size, which is determined by Windows based on the default console font size.

Start a console window, click on the start menu icon (upper left corner), Properties, and Font tab. Select a smaller font, save, and restart TCMD and you'll have bigger (virtual) windows.
 
Similar threads
Thread starter Title Forum Replies Date
Jay Sage Bug With Flow Control and/or Command Grouping Support 2
D History and control-C Support 1
C Control Everything CPU usage at startup? Support 7
J Piping ANSI control sequences through 'type' Support 4
M How to? Run the control panel from a TCC session... Support 2
D How move cursor out of popup edit control after no match? Support 14
Charles Dye Control-Shift-X Support 3
F How to? Stop hijacking control-shift-z Support 6
T TCC control-C copy operation Support 3
tmaynard How to? Control-U alias for Escape (command line editing) Support 5
vefatica Can I control forum drafts? Support 0
S WAD %_do_errors does not report errors when loop control variable type is not directory entry Support 1
S Forum: Where is "what's new" control information? Support 1
Jay Sage Improved Edit Control for Directory Popup Support 5
Emilio III Control characters pass through? Support 6
A Bug report: Control-C still not working Support 9
A Control-c Support 1
deleyd Commands to launch Control Panel items? Support 10
R History window wrong size, can't remember size change Support 12
R @select inside alias gives different (insanely small) window Support 7
K_Meinhard How to? Help window position Support 7
D Directory History Window with wildcard search Support 3
Dmitry L. Kobyakov Documentation Error in the Help: the WINDOW command Support 0
L LIST's pop-up search loses focus in a Windows Terminal window Support 15
ntak About window size notification Support 6
R Batch Debugger Command Expansion Window Support 3
R How do I get a Git Bash shell to appear in TCC window? Support 7
G Press on another Window Support 24
Peter Murschall IDE: After undocking the command expansion Window is offended Support 2
T TCC Window Background Color Anomaly Support 9
A v25 BC break in WINDOW and ACTIVATE Support 12
vefatica BTM, elevated, console window caption? Support 4
W Hide window Support 7
R How to? START program as top window? Support 2
P No linefeed on last line of console window Support 2
scottb How to? ipconfig output in current window Support 4
R How to? Change TCMD tab font size in window menu Support 3
T Fixed IDE locks up if edit window for running batch is closed Support 6
E How to change window title tcmd window - not tcc window Support 1
jaltman tcmd 21.0.19 win10 16179 console window loses content Support 2
B How to get window status of a running app Support 3
James Miller tcc shell window does not disappear Support 18
M Call History popup-window? Support 0
D How cut in TCC tab window Support 5
S Paste in TCC/TCMD window is very slow [v20.0.22] Support 13
C How to? Feed keys to firefox (Yahoo Mail) window Support 4
C How to? Feed keys to firefox (Yahoo Mail) window Support 0
C How to? run a BTM in elevated, inv tcc tab window Support 9
vefatica Ctrl-Enter in command history window? Support 8
D Take Command tab only uses half of window Support 1

Similar threads