Cannot make a btm/tcc.exe window wider

Aug 8, 2010
30
0
I would like to know how to make a tcc.exe window opened when a btm script is executed wider.

I am writing a btm script that sends the output to a text file, and then I “type” part or all of the text file from within the script while debugging it. The “type” display of the text-file in the tcc.exe window is word-wrapped at the edge of the scroll bar – even if that happens in the middle of a solid word. This also happens if I just ‘echo’ a series of words redirected to a ‘temp.txt’ file. The actual contents of the text file are fine, only their display in the tcc.exe window are affected.

The only command I can find in “Help” related to this is the “window” command. I’ve tried several options and finally settled on “window /POS=20,20,800,1000 /SIZE=800,1000 /max”. This makes the window 800 pixels long (tall), but the width remains the same (about 642 pixels - inside the left border to the scroll bar) as when there is no “windows” command in the script. When I hover the cursor over either side border the enlargement double-arrow appears, but it is ineffective.

My screen resolution is 1152x864, so I can’t understand why it won’t get any wider.
= = = = = =
Also, I recently opened a thread (What is “using” a file) which has been resolved, but the thread is now displayed with an icon that is a red envelope with a white arrow on it. I can’t find anything that explains what that means, nor can I find anything that tells me how to close it or request that it be closed. Would appreciate any help about this too.
 
May 20, 2008
3,515
4
Elkridge, MD, USA
| I would like to know how to make a tcc.exe window opened when a btm
| script is executed wider.
...
I assume you run TCC in its own window, and not in a tab of TCMD. Note
that the "window" is a window into the console buffer, i.e., it is analogous
to putting a piece of paper with a rectangular hole (the window) over a page
of a book (the console buffer). The the window can be smaller than the
console buffer, but it cannot be larger. You can display the current sizes
of both the window and the console buffer by right-clicking on the upper
left corner of the TCC window (or pressing alt-space when the TCC window has
focus), selecting "Properties", and viewing the "Layout" tab. If you make
changes through this mechanism, and you elect to save them for future
windows, Windows saves them by modifying the shortcut (.LNK) file which
started TCC. If TCC was started by another method, you cannot save the
changes. For making changes dynamically, look into the CONSIZE command of
Vince Fatica's plugin 4CONSOLE.DLL. I use it regularly to widen the console
window. It also reports the size of the console buffer.
--
HTH, Steve
 
Aug 8, 2010
30
0
selecting "Properties", and viewing the "Layout" tab. If you make
changes through this mechanism, and you elect to save them for future
windows, Windows saves them by modifying the shortcut (.LNK) file which
started TCC. If TCC was started by another method, you cannot save the
changes. For making changes dynamically, look into the CONSIZE command of
Vince Fatica's plugin 4CONSOLE.DLL. I use it regularly to widen the console
window. It also reports the size of the console buffer.
--
HTH, Steve[/QUOTE]

My Thanks for the information. Yes, I am talking about tcc.exe windows independent of the Console, when I double-click a btm file from within my file manager. Your simplistic, but greatly appreciated, explanation of the ‘window’ didn’t explain why my concocted “window …” command DID set the window height, but not the width. Nonetheless, the “Properties” information was very helpful and is what I’ve implemented to just make all windows wider since they’ll be on top anyhow.
I also downloaded the “4console.dll” as you suggested and will investigate using it once I get more comfortable with some of the nuances of TCC and in particular the plug-ins.
 
May 20, 2008
11,401
99
Syracuse, NY, USA
On Wed, 22 Sep 2010 20:40:03 -0400, newbie <> wrote:

|I also downloaded the “4console.dll” as you suggested and will investigate using it once I get more comfortable with some of the nuances of TCC and in particular the plug-ins.

You didn't say where you got 4CONSOLE. The best places for up-to-date ones are
ftp://lucky.syr.edu/4plugins and ftp://barnyard.syr.edu/pub/vefatica/4plugins.
In fact, not too long ago I fixed (I hope) the CONSIZE command which
occasionally wouldn't work right on a multiple processor machine.
 
Jun 11, 2008
29
0
Australia
On 20/09/2010 9:18 PM, newbie wrote:

> I would like to know how to make a tcc.exe window opened when a btm script is executed wider.
>
> I am writing a btm script that sends the output to a text file, and then I �type� part or all of the text file from within the script while debugging it. The �type� display of the text-file in the tcc.exe window is word-wrapped at the edge of the scroll bar � even if that happens in the middle of a solid word. This also happens if I just �echo� a series of words redirected to a �temp.txt� file. The actual contents of the text file are fine, only their display in the tcc.exe window are affected.

As an alternative to "type" have you looked at the "list" command?


--
Regards
John McMahon
lists@jspect.fastmail.fm
 
Similar threads
Thread starter Title Forum Replies Date
O I cannot use links to .btm files Support 5
jdanielp Cannot step into and/or call another .bat file when debugging .bat file Support 2
fishman@panix.com HELP!! I just updated to Version 28 and as usual I cannot make extended directory search work. Support 2
samintz WAD Cannot unset .py[co] Support 2
Peter Murschall TEE cannot handle Unicode output Support 2
L Cannot get DEBUGMONITOR to work Support 5
Jay Sage Cannot Postion Cursor in Command Line Using Mouse Support 7
Joe Caverly A new guard page for the stack cannot be created Support 6
E Cannot paste dollar sign into TCC on Windows 10 1803 Support 7
N Cannot install Support 2
Patulus TCHistoryLog: TCC: (Sys) The system cannot find the path specified Support 15
thorntonpg F1 on command line The webpage cannot be found Support 5
M Fixed Cannot use the "Browse..." function in "Find files/text" dialogbox Support 2
gschizas Fixed Cannot use extended path to delete invalid file Support 3
S WAD Cannot access mapped drive in 64b Win7 Support 15
S WAD Messages cannot be seen or accessed in Forum Support 12
D cannot get into ftp://jpsoft.com/oldver Support 1
T signaling firstcondition and cannot change colors Support 8
L File association: System cannot find the associated program Support 30
Q TCC: (Sys) The process cannot access the file because it is being used by another process. Support 0
L Thanks from larryalk was Cannot apply Start in folder for Tcmd Support 11
L Cannot apply Start In folder for Tcmd Support 15
C Cannot register v12.10 without Internet access Support 19
BobK Error from START cmd, "cannot find the file" Support 16
P Cannot download any of Vince Fatica's plugins Support 4
Roedy Cannot have both v10 and v11 Support 7
A Cannot permanently remove Tabs toolbar using View menu - bug? Support 8
M TCC cannot find the path specified Support 4
mscheuner TCMD 8 - cannot register on Vista x64 Support 0
MickeyF equivalent to TCSTART.btm for TCMD? Support 4
vefatica Console not redrawn in BTM or with multiple commands Support 4
Joe Caverly Embedding an .EXE (or other file) into a .BTM Support 8
Charles S. Roaten Problems with TCSTART.BTM Support 1
P Kill all other instances of tcc from a btm batch file Support 2
C TCC 26 BATCOMP BTM problems? Support 5
B IF command problem in tcexit.btm Support 9
vefatica WAD DIR.BTM? Support 11
vefatica BTM, elevated, console window caption? Support 4
I BTM slower than BAT? Support 14
D btm file command line augments comparing for string or math. Support 12
D check for network tcstart.btm and load if newer Support 3
Craig Fitzgerald Problems using tcstart.btm Support 3
vefatica Installer sets BTM associations wrongly Support 4
CWBillow Can't right-click a BTM Support 7
C NE1 have BTM to remove %appdata\JP Software\ etc... Support 0
C interesting TCStarts.btm Support 2
JohnQSmith ALIAS /R in TCSTART.BTM Support 9
Paul Berwanger BTM Bugs Support 2
M Drag and Drop for .BTM scripts Support 10
D WAD START /ELEVATED "Title" /PGM "job.btm" Support 6

Similar threads